/external/mesa3d/src/mesa/drivers/common/ |
D | driverfuncs.c | 74 _mesa_init_driver_functions(struct dd_function_table *driver) in _mesa_init_driver_functions() argument 76 memset(driver, 0, sizeof(*driver)); in _mesa_init_driver_functions() 78 driver->GetString = NULL; /* REQUIRED! */ in _mesa_init_driver_functions() 79 driver->UpdateState = NULL; /* REQUIRED! */ in _mesa_init_driver_functions() 81 driver->Finish = NULL; in _mesa_init_driver_functions() 82 driver->Flush = NULL; in _mesa_init_driver_functions() 85 driver->Clear = _swrast_Clear; in _mesa_init_driver_functions() 86 driver->RasterPos = _mesa_RasterPos; in _mesa_init_driver_functions() 87 driver->DrawPixels = _swrast_DrawPixels; in _mesa_init_driver_functions() 88 driver->ReadPixels = _mesa_readpixels; in _mesa_init_driver_functions() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | driver_i.h | 2 * wpa_supplicant - Internal driver interface wrappers 12 #include "drivers/driver.h" 18 if (wpa_s->driver->init2) in wpa_drv_init() 19 return wpa_s->driver->init2(wpa_s, ifname, in wpa_drv_init() 21 if (wpa_s->driver->init) { in wpa_drv_init() 22 return wpa_s->driver->init(wpa_s, ifname); in wpa_drv_init() 29 if (wpa_s->driver->deinit) in wpa_drv_deinit() 30 wpa_s->driver->deinit(wpa_s->drv_priv); in wpa_drv_deinit() 36 if (wpa_s->driver->set_param) in wpa_drv_set_param() 37 return wpa_s->driver->set_param(wpa_s->drv_priv, param); in wpa_drv_set_param() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | ap_drv_ops.h | 2 * hostapd - Driver operations 115 if (!hapd->driver || !hapd->driver->send_action_cancel_wait || in hostapd_drv_send_action_cancel_wait() 118 hapd->driver->send_action_cancel_wait(hapd->drv_priv); in hostapd_drv_send_action_cancel_wait() 140 #include "drivers/driver.h" 154 if (hapd->driver == NULL || in hostapd_drv_set_countermeasures() 155 hapd->driver->hapd_set_countermeasures == NULL) in hostapd_drv_set_countermeasures() 157 return hapd->driver->hapd_set_countermeasures(hapd->drv_priv, enabled); in hostapd_drv_set_countermeasures() 164 if (hapd->driver == NULL || hapd->driver->set_sta_vlan == NULL) in hostapd_drv_set_sta_vlan() 166 return hapd->driver->set_sta_vlan(hapd->drv_priv, addr, ifname, in hostapd_drv_set_sta_vlan() 173 if (hapd->driver == NULL || hapd->driver->get_inact_sec == NULL) in hostapd_drv_get_inact_sec() [all …]
|
D | ap_drv_ops.c | 2 * hostapd - Driver operations 232 if (hapd->driver == NULL || hapd->driver->set_ap_wps_ie == NULL) in hostapd_reset_ap_wps_ie() 235 return hapd->driver->set_ap_wps_ie(hapd->drv_priv, NULL, NULL, NULL); in hostapd_reset_ap_wps_ie() 244 if (hapd->driver == NULL || hapd->driver->set_ap_wps_ie == NULL) in hostapd_set_ap_wps_ie() 251 ret = hapd->driver->set_ap_wps_ie(hapd->drv_priv, beacon, proberesp, in hostapd_set_ap_wps_ie() 339 if (hapd->driver == NULL || hapd->driver->set_wds_sta == NULL) in hostapd_set_wds_sta() 345 return hapd->driver->set_wds_sta(hapd->drv_priv, addr, aid, val, in hostapd_set_wds_sta() 353 if (hapd->driver == NULL || hapd->driver->add_sta_node == NULL) in hostapd_add_sta_node() 355 return hapd->driver->add_sta_node(hapd->drv_priv, addr, auth_alg); in hostapd_add_sta_node() 367 if (hapd->driver == NULL || hapd->driver->sta_auth == NULL) in hostapd_sta_auth() [all …]
|
D | wpa_auth_kay.c | 29 if (!hapd->driver->macsec_init) in hapd_macsec_init() 31 return hapd->driver->macsec_init(hapd->drv_priv, params); in hapd_macsec_init() 39 if (!hapd->driver->macsec_deinit) in hapd_macsec_deinit() 41 return hapd->driver->macsec_deinit(hapd->drv_priv); in hapd_macsec_deinit() 49 if (!hapd->driver->macsec_get_capability) in hapd_macsec_get_capability() 51 return hapd->driver->macsec_get_capability(hapd->drv_priv, cap); in hapd_macsec_get_capability() 59 if (!hapd->driver->enable_protect_frames) in hapd_enable_protect_frames() 61 return hapd->driver->enable_protect_frames(hapd->drv_priv, enabled); in hapd_enable_protect_frames() 69 if (!hapd->driver->enable_encrypt) in hapd_enable_encrypt() 71 return hapd->driver->enable_encrypt(hapd->drv_priv, enabled); in hapd_enable_encrypt() [all …]
|
/external/autotest/client/site_tests/files_CopyFileToGoogleDriveUI/ |
D | files_CopyFileToGoogleDriveUI.py | 66 def switch_to_app(self, driver, title): argument 69 @param driver: chrome driver object 73 windows = driver.window_handles 76 logging.debug("Current window is %s", driver.title) 77 if driver.title.strip().lower() == title.lower(): 83 driver.switch_to_window(window) 84 logging.debug("Switched to window: %s", driver.title) 86 if driver.title.strip().lower() == title.lower(): 96 def open_files_application(self, driver): argument 99 @param driver: chrome driver object [all …]
|
/external/autotest/client/site_tests/network_CastTDLS/ |
D | network_CastTDLS.py | 32 def _navigate_url(self, driver, url): argument 35 @param driver: The chromedriver instance. 38 if driver.current_url != url: 39 driver.get(url) 40 driver.refresh() 42 def _set_focus_tab(self, driver, tab_handle): argument 45 @param driver: The chromedriver instance. 46 @param tab_handle: The chrome driver handle of the tab. 48 driver.switch_to_window(tab_handle) 49 driver.get_screenshot_as_base64() [all …]
|
/external/swiftshader/tests/VulkanUnitTests/ |
D | Device.cpp | 16 #include "Driver.hpp" 19 : driver(nullptr) in Device() 26 Driver const *driver, VkDevice device, VkPhysicalDevice physicalDevice, in Device() argument 28 : driver(driver) in Device() 38 driver->vkDeviceWaitIdle(device); in ~Device() 39 driver->vkDestroyDevice(device, nullptr); in ~Device() 49 Driver const *driver, VkInstance instance, std::unique_ptr<Device> &out) in CreateComputeDevice() argument 55 result = GetPhysicalDevices(driver, instance, physicalDevices); in CreateComputeDevice() 64 int queueFamilyIndex = GetComputeQueueFamilyIndex(driver, physicalDevice); in CreateComputeDevice() 94 result = driver->vkCreateDevice(physicalDevice, &deviceCreateInfo, nullptr, &device); in CreateComputeDevice() [all …]
|
D | BasicTests.cpp | 19 #include "Driver.hpp" 27 static Driver driver; member in BasicTest 31 ASSERT_TRUE(driver.loadSwiftShader()); in SetUp() 36 driver.unload(); in TearDown() 40 Driver BasicTest::driver; member in BasicTest 44 auto createInstance = driver.vk_icdGetInstanceProcAddr(VK_NULL_HANDLE, "vkCreateInstance"); in TEST_F() 48 driver.vk_icdGetInstanceProcAddr(VK_NULL_HANDLE, "vkEnumerateInstanceExtensionProperties"); in TEST_F() 52 driver.vk_icdGetInstanceProcAddr(VK_NULL_HANDLE, "vkEnumerateInstanceLayerProperties"); in TEST_F() 55 …auto enumerateInstanceVersion = driver.vk_icdGetInstanceProcAddr(VK_NULL_HANDLE, "vkEnumerateInsta… in TEST_F() 58 auto bad_function = driver.vk_icdGetInstanceProcAddr(VK_NULL_HANDLE, "bad_function"); in TEST_F() [all …]
|
D | Driver.hpp | 17 // Driver is used to load a Vulkan graphics driver and expose its functions. 18 // It is used by the unit tests to test the SwiftShader driver and optionally 19 // load a system vulkan driver to test against. 20 class Driver class 23 Driver(); 24 ~Driver(); 26 // loadSwiftShader attempts to load the SwiftShader vulkan driver. 30 // loadSystem attempts to load the system's vulkan driver. 34 // load attempts to load the vulkan driver from the given path. 38 // unloads the currently loaded driver. [all …]
|
/external/mesa3d/src/vulkan/util/ |
D | vk_extensions_gen.py | 35 #ifndef ${driver.upper()}_EXTENSIONS_H 36 #define ${driver.upper()}_EXTENSIONS_H 42 #define ${driver.upper()}_INSTANCE_EXTENSION_COUNT ${len(instance_extensions)} 44 extern const VkExtensionProperties ${driver}_instance_extensions[]; 46 struct ${driver}_instance_extension_table { 48 bool extensions[${driver.upper()}_INSTANCE_EXTENSION_COUNT]; 57 extern const struct ${driver}_instance_extension_table ${driver}_instance_extensions_supported; 60 #define ${driver.upper()}_DEVICE_EXTENSION_COUNT ${len(device_extensions)} 62 extern const VkExtensionProperties ${driver}_device_extensions[]; 64 struct ${driver}_device_extension_table { [all …]
|
/external/llvm-project/flang/tools/f18/ |
D | f18.cpp | 9 // Temporary Fortran front end driver main program for development scaffolding. 133 void RunOtherCompiler(DriverOptions &driver, char *source, char *relo) { in RunOtherCompiler() argument 135 for (size_t j{0}; j < driver.F18_FCArgs.size(); ++j) { in RunOtherCompiler() 136 argv.push_back(driver.F18_FCArgs[j]); in RunOtherCompiler() 143 Exec(argv, driver.verbose); in RunOtherCompiler() 146 std::string RelocatableName(const DriverOptions &driver, std::string path) { in RelocatableName() argument 147 if (driver.compileOnly && !driver.outputPath.empty()) { in RelocatableName() 148 return driver.outputPath; in RelocatableName() 188 DriverOptions &driver, in CompileFortran() argument 192 allSources.set_encoding(driver.encoding); in CompileFortran() [all …]
|
/external/clang/docs/ |
D | DriverInternals.rst | 2 Driver Design & Internals 11 This document describes the Clang driver. The purpose of this document 12 is to describe both the motivation and design goals for the driver, as 18 The Clang driver is intended to be a production quality compiler driver 20 interface which is compatible with the gcc driver. 22 Although the driver is part of and driven by the Clang project, it is 31 The number one goal of the driver is to ease the adoption of Clang by 33 call GCC. Although this makes the driver much more complicated than 41 The driver was designed to be flexible and easily accommodate new uses 42 as we grow the clang and LLVM infrastructure. As one example, the driver [all …]
|
/external/llvm-project/clang/docs/ |
D | DriverInternals.rst | 2 Driver Design & Internals 11 This document describes the Clang driver. The purpose of this document 12 is to describe both the motivation and design goals for the driver, as 18 The Clang driver is intended to be a production quality compiler driver 20 interface which is compatible with the gcc driver. 22 Although the driver is part of and driven by the Clang project, it is 31 The number one goal of the driver is to ease the adoption of Clang by 33 call GCC. Although this makes the driver much more complicated than 41 The driver was designed to be flexible and easily accommodate new uses 42 as we grow the clang and LLVM infrastructure. As one example, the driver [all …]
|
/external/pdfium/core/fxge/skia/ |
D | fx_skia_device_embeddertest.cpp | 33 void EmptyTest(CFX_SkiaDeviceDriver* driver, const State&) { in EmptyTest() argument 34 driver->SaveState(); in EmptyTest() 35 driver->RestoreState(true); in EmptyTest() 36 driver->RestoreState(false); in EmptyTest() 39 void CommonTest(CFX_SkiaDeviceDriver* driver, const State& state) { in CommonTest() argument 52 driver->SaveState(); in CommonTest() 61 driver->SaveState(); in CommonTest() 63 driver->SetClip_PathFill(&clipPath, &clipMatrix, 0); in CommonTest() 65 driver->DrawPath(&path1, &matrix, &graphState, 0xFF112233, 0, in CommonTest() 68 driver->DrawDeviceText(SK_ARRAY_COUNT(charPos), charPos, &font, matrix, in CommonTest() [all …]
|
/external/llvm-project/lldb/test/API/test_runner/test/ |
D | test_process_control.py | 103 driver = TestInferiorDriver() 104 driver.run_command(self.inferior_command()) 106 driver.completed_event.wait(5), "process failed to complete") 107 self.assertEqual(driver.returncode, 0, "return code does not match") 111 driver = TestInferiorDriver() 112 driver.run_command(self.inferior_command(options="-r10")) 114 driver.completed_event.wait(5), "process failed to complete") 115 self.assertEqual(driver.returncode, 10, "return code does not match") 122 driver = TestInferiorDriver() 124 driver.run_command_with_timeout( [all …]
|
/external/rust/crates/tokio/src/runtime/ |
D | driver.rs | 8 // ===== io driver ===== 11 type IoDriver = crate::io::driver::Driver; 13 pub(crate) type IoHandle = Option<crate::io::driver::Handle>; 22 let io_driver = crate::io::driver::Driver::new()?; 46 // ===== signal driver ===== 56 type SignalDriver = crate::signal::unix::driver::Driver; 57 pub(crate) type SignalHandle = Option<crate::signal::unix::driver::Handle>; 60 let driver = crate::signal::unix::driver::Driver::new(io_driver)?; localVariable 61 let handle = driver.handle(); 62 Ok((driver, Some(handle))) [all …]
|
D | shell.rs | 5 use crate::runtime::driver::Driver; 16 driver: Mutex<Option<Driver>>, field 25 struct Handle(<Driver as Park>::Unpark); 28 pub(super) fn new(driver: Driver) -> Shell { in new() 29 let unpark = Arc::new(Handle(driver.unpark())); in new() 32 driver: Mutex::new(Some(driver)), in new() 47 if let Some(driver) = &mut self.take_driver() { in block_on() 48 return driver.block_on(f); in block_on() 74 let mut lock = self.driver.lock().unwrap(); in take_driver() 75 let driver = lock.take()?; in take_driver() localVariable [all …]
|
/external/llvm-project/flang/tools/f18-parse-demo/ |
D | f18-parse-demo.cpp | 21 // scaffolding compiler driver that can test some semantic passes of the 119 void RunOtherCompiler(DriverOptions &driver, char *source, char *relo) { in RunOtherCompiler() argument 121 for (size_t j{0}; j < driver.fcArgs.size(); ++j) { in RunOtherCompiler() 122 argv.push_back(driver.fcArgs[j]); in RunOtherCompiler() 129 Exec(argv, driver.verbose); in RunOtherCompiler() 132 std::string RelocatableName(const DriverOptions &driver, std::string path) { in RelocatableName() argument 133 if (driver.compileOnly && !driver.outputPath.empty()) { in RelocatableName() 134 return driver.outputPath; in RelocatableName() 153 std::string path, Fortran::parser::Options options, DriverOptions &driver) { in CompileFortran() argument 154 if (!driver.forcedForm) { in CompileFortran() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver.h | 2 * Driver interface definition 8 * This file defines a driver interface used by both %wpa_supplicant and 10 * driver operations. This is followed by the struct wpa_driver_ops that each 11 * driver wrapper will beed to define with callback functions for requesting 12 * driver operations. After this, there are definitions for driver event 163 * channel (used internally in src/ap/acs.c; driver wrappers do not 336 * scan result processing if left zero by the driver wrapper) 345 * driver. Each driver interface implementation is responsible for converting 346 * the driver or OS specific scan results into this format. 348 * If the driver does not support reporting all IEs, the IE data structure is [all …]
|
/external/rust/crates/tokio/src/time/tests/ |
D | test_sleep.rs | 1 //use crate::time::driver::{Driver, Entry, Handle}; 22 let (mut driver, clock, handle) = setup(); 30 assert_ok!(driver.park_timeout(Duration::from_millis(1000))); 38 let (mut driver, clock, handle) = setup(); 48 assert_ok!(driver.park()); 57 let (mut driver, clock, handle) = setup(); 66 assert_ok!(driver.park()); 77 let (mut driver, clock, handle) = setup(); 80 assert_ok!(driver.park_timeout(ms(5))); 87 assert_ok!(driver.park()); [all …]
|
/external/tensorflow/tensorflow/stream_executor/gpu/ |
D | gpu_driver.h | 16 // CUDA userspace driver library wrapper functionality. 41 // GpuDriver contains wrappers for calls to the userspace library driver. It's 43 // userspace library driver behaviors from the rest of the program. 51 // driver API. 54 // http://docs.nvidia.com/cuda/cuda-driver-api/ 62 …// http://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__INITIALIZE.html#group__CUDA__INITIALIZ… 67 …// http://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__CTX.html#group__CUDA__CTX_1g4e84b109eb… 73 …// http://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__STREAM.html#group__CUDA__STREAM_1ga581… 80 …// http://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__STREAM.html#group__CUDA__STREAM_1g244c… 85 …// http://docs.nvidia.com/cuda/cuda-driver-api/group__CUDA__EVENT.html#group__CUDA__EVENT_1g450687… [all …]
|
/external/mesa3d/src/loader/ |
D | loader.c | 105 char *driver; in loader_get_kernel_driver_name() local 109 log_(_LOADER_WARNING, "failed to get driver name for fd %d\n", fd); in loader_get_kernel_driver_name() 113 driver = strndup(version->name, version->name_len); in loader_get_kernel_driver_name() 114 log_(driver ? _LOADER_DEBUG : _LOADER_WARNING, "using driver %s for %d\n", in loader_get_kernel_driver_name() 115 driver, fd); in loader_get_kernel_driver_name() 118 return driver; in loader_get_kernel_driver_name() 436 char *driver = NULL; in loader_get_pci_driver() local 449 driver = strdup(driver_map[i].driver); in loader_get_pci_driver() 455 driver = strdup(driver_map[i].driver); in loader_get_pci_driver() 461 log_(driver ? _LOADER_DEBUG : _LOADER_WARNING, in loader_get_pci_driver() [all …]
|
/external/llvm-project/lld/docs/ |
D | Driver.rst | 2 Driver title 14 This document describes the lld driver. The purpose of this document is to 15 describe both the motivation and design goals for the driver, as well as details 21 The lld driver is designed to support a number of different command line 53 #. Add the option to the desired :file:`lib/Driver/{flavor}Options.td`. 59 `lib/Driver/{Flavor}Driver.cpp` to call the targetInfo setter 68 #. Add an entry for the flavor in :file:`include/lld/Common/Driver.h` to 71 #. Add an entry in :file:`lib/Driver/UniversalDriver.cpp` to 72 :cpp:func:`lld::Driver::strToFlavor` and 76 #. Add a tablegen file called :file:`lib/Driver/{flavor}Options.td` that [all …]
|
/external/libcups/ppdc/ |
D | ppdc-import.cxx | 38 ppdcDriver *driver; // Driver in import_ppd() local 59 // See if the driver has already been imported... in import_ppd() 60 if ((driver = find_driver(ppd->pcfilename)) == NULL) in import_ppd() 69 driver = new ppdcDriver(); in import_ppd() 70 driver->type = PPDC_DRIVER_PS; in import_ppd() 72 drivers->add(driver); in import_ppd() 86 driver->add_copyright(ptr); in import_ppd() 105 driver->add_attr(new ppdcAttr("NickName", NULL, NULL, ppd->nickname)); in import_ppd() 108 driver->add_attr(new ppdcAttr("ShortNickName", NULL, NULL, in import_ppd() 111 driver->manufacturer = new ppdcString(ppd->manufacturer); in import_ppd() [all …]
|