Home
last modified time | relevance | path

Searched refs:driver (Results 1 – 25 of 1869) sorted by relevance

12345678910>>...75

/external/mesa3d/src/mesa/drivers/common/
Ddriverfuncs.c74 _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/
Ddriver_i.h18 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()
44 if (wpa_s->driver->set_countermeasures) { in wpa_drv_set_countermeasures()
45 return wpa_s->driver->set_countermeasures(wpa_s->drv_priv, in wpa_drv_set_countermeasures()
[all …]
/external/wpa_supplicant_8/src/ap/
Dap_drv_ops.h115 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()
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()
175 return hapd->driver->get_inact_sec(hapd->drv_priv, addr); in hostapd_drv_get_inact_sec()
181 if (!hapd->driver || !hapd->driver->sta_remove || !hapd->drv_priv) in hostapd_drv_sta_remove()
[all …]
Dap_drv_ops.c232 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()
399 return hapd->driver->sta_auth(hapd->drv_priv, &params); in hostapd_sta_auth()
[all …]
Dwpa_auth_kay.c29 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/llvm-project/flang/tools/f18/
Df18.cpp133 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()
195 semanticsContext.set_moduleDirectory(driver.moduleDirectory) in CompileFortran()
[all …]
/external/autotest/client/site_tests/network_CastTDLS/
Dnetwork_CastTDLS.py32 def _navigate_url(self, driver, url): argument
38 if driver.current_url != url:
39 driver.get(url)
40 driver.refresh()
42 def _set_focus_tab(self, driver, tab_handle): argument
48 driver.switch_to_window(tab_handle)
49 driver.get_screenshot_as_base64()
51 def _block_setup_dialog(self, driver, extension_id): argument
59 self._navigate_url(driver, test_utils_page)
61 driver.execute_script(
[all …]
/external/pdfium/core/fxge/skia/
Dfx_skia_device_embeddertest.cpp33 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/flang/tools/f18-parse-demo/
Df18-parse-demo.cpp119 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()
161 options.searchDirectories = driver.searchDirectories; in CompileFortran()
[all …]
/external/swiftshader/tests/VulkanUnitTests/
DDevice.cpp19 : 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()
100 out.reset(new Device(driver, device, physicalDevice, static_cast<uint32_t>(queueFamilyIndex))); in CreateComputeDevice()
[all …]
DBasicTests.cpp27 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()
66 VkResult result = driver.vkEnumerateInstanceVersion(&apiVersion); in TEST_F()
[all …]
/external/llvm-project/lldb/test/API/test_runner/test/
Dtest_process_control.py103 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/autotest/client/site_tests/files_CopyFileToGoogleDriveUI/
Dfiles_CopyFileToGoogleDriveUI.py66 def switch_to_app(self, driver, title): argument
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
105 self.switch_to_files(driver)
112 self.switch_to_files(driver)
[all …]
/external/libcups/ppdc/
Dppdc-import.cxx38 ppdcDriver *driver; // Driver in import_ppd() local
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()
112 driver->model_name = new ppdcString(ptr); in import_ppd()
[all …]
/external/llvm-project/lldb/utils/lui/
Dlui.py38 def handle_args(driver, argv): argument
58 driver.attachProcess(ui, pid)
66 driver.loadCore(options.core)
70 driver.createTarget(args[1])
74 driver.createTarget(args[1], args[2:])
84 def __init__(self, screen, event_queue, driver): argument
87 self.driver = driver
97 driver, 0, h - command_win_height, w, command_win_height)
99 self.source_win = sourcewin.SourceWin(driver, 0, 0,
101 self.break_win = breakwin.BreakWin(driver, w - break_win_width, 0,
[all …]
/external/freetype/src/base/
Dftpsprop.c44 PS_Driver driver = (PS_Driver)module; in ps_property_set() local
102 driver->darken_params[0] = x1; in ps_property_set()
103 driver->darken_params[1] = y1; in ps_property_set()
104 driver->darken_params[2] = x2; in ps_property_set()
105 driver->darken_params[3] = y2; in ps_property_set()
106 driver->darken_params[4] = x3; in ps_property_set()
107 driver->darken_params[5] = y3; in ps_property_set()
108 driver->darken_params[6] = x4; in ps_property_set()
109 driver->darken_params[7] = y4; in ps_property_set()
129 driver->hinting_engine = FT_HINTING_ADOBE; in ps_property_set()
[all …]
/external/mesa3d/src/loader/
Dloader.c105 char *driver; in loader_get_kernel_driver_name() local
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()
463 fd, vendor_id, chip_id, driver); in loader_get_pci_driver()
[all …]
/external/autotest/client/cros/
Dwebstore_test.py199 self.driver = chromedriver_instance.driver
200 self.driver.implicitly_wait(15)
201 self._wait = WebDriverWait(self.driver, 20)
230 self.driver.get(self.webstore_url)
231 self.driver.get(self.detail_page(item_id))
246 self.driver.find_element_by_xpath(button_xpath).click()
248 password_field = self.driver.find_element_by_xpath(
251 self.driver.find_element_by_xpath('//input[@id="signIn"]').click()
254 self.driver.find_element_by_xpath(install_type_click_xpath).click()
257 handle = self.driver.current_window_handle
[all …]
/external/rust/crates/tokio/src/runtime/
Dpark.rs9 use crate::runtime::driver::Driver;
45 driver: TryLock<Driver>, field
52 pub(crate) fn new(driver: Driver) -> Parker { in new()
53 let handle = driver.unpark(); in new()
61 driver: TryLock::new(driver), in new()
101 if let Some(mut driver) = self.inner.shared.driver.try_lock() { in park_timeout()
102 driver.park_timeout(duration).map_err(|_| ()) in park_timeout()
136 if let Some(mut driver) = self.shared.driver.try_lock() { in park()
137 self.park_driver(&mut driver); in park()
183 fn park_driver(&self, driver: &mut Driver) { in park_driver()
[all …]
Dshell.rs5 use crate::runtime::driver::Driver;
16 driver: Mutex<Option<Driver>>, field
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
78 inner: Some(driver), in take_driver()
[all …]
Ddriver.rs11 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()?;
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)))
81 type ProcessDriver = crate::process::unix::driver::Driver;
84 crate::process::unix::driver::Driver::new(signal_driver)
[all …]
/external/swiftshader/third_party/subzero/crosstest/
Dcrosstest.cfg2 driver: simple_loop_main.c
6 driver: mem_intrin_main.cpp
11 driver: test_arith_main.cpp
22 driver: test_bitmanip_main.cpp
26 driver: test_calling_conv_main.cpp
30 driver: test_cast_main.cpp
34 driver: test_fcmp_main.cpp
38 driver: test_global_main.cpp
42 driver: test_icmp_main.cpp
46 driver: test_select_main.cpp
[all …]
/external/tensorflow/tensorflow/compiler/xla/python/tpu_driver/client/
Dlibtpu_client.c57 struct TpuDriver* driver = driver_fn.TpuDriver_Open("local://"); in main() local
60 struct TpuSystemInfo* info = driver_fn.TpuDriver_QuerySystemInfo(driver); in main()
74 driver_fn.TpuDriver_CompileProgramFromText(driver, hlo_module_text, in main()
80 driver_fn.TpuDriver_LoadProgram(driver, /*core_id=*/0, cph, in main()
87 driver_fn.TpuDriver_Allocate(driver, /*core-id=*/0, /*memory_region=*/1, in main()
91 driver_fn.TpuDriver_Allocate(driver, /*core-id=*/0, /*memory_region=*/1, in main()
95 driver_fn.TpuDriver_Allocate(driver, /*core-id=*/0, /*memory_region=*/1, in main()
108 driver_fn.TpuDriver_TransferToDevice(driver, a_src, buf_a_handle, in main()
113 driver_fn.TpuDriver_TransferToDevice(driver, b_src, buf_b_handle, in main()
122 driver_fn.TpuDriver_ExecuteProgram(driver, lph, in main()
[all …]
/external/freetype/src/cid/
Dcidobjs.c72 module = FT_Get_Module( slot->face->driver->root.library, in cid_slot_init()
103 module = FT_Get_Module( size->root.face->driver->root.library, in cid_size_get_globals_funcs()
476 PS_Driver driver = (PS_Driver)module; in cid_driver_init() local
483 driver->hinting_engine = FT_HINTING_FREETYPE; in cid_driver_init()
485 driver->hinting_engine = FT_HINTING_ADOBE; in cid_driver_init()
488 driver->no_stem_darkening = TRUE; in cid_driver_init()
490 driver->darken_params[0] = CFF_CONFIG_OPTION_DARKENING_PARAMETER_X1; in cid_driver_init()
491 driver->darken_params[1] = CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y1; in cid_driver_init()
492 driver->darken_params[2] = CFF_CONFIG_OPTION_DARKENING_PARAMETER_X2; in cid_driver_init()
493 driver->darken_params[3] = CFF_CONFIG_OPTION_DARKENING_PARAMETER_Y2; in cid_driver_init()
[all …]
/external/mesa3d/src/gallium/auxiliary/target-helpers/
Dsw_helper.h37 sw_screen_create_named(struct sw_winsys *winsys, const char *driver) in sw_screen_create_named() argument
42 if (screen == NULL && strcmp(driver, "llvmpipe") == 0) in sw_screen_create_named()
47 if (screen == NULL && strcmp(driver, "virpipe") == 0) { in sw_screen_create_named()
55 if (screen == NULL && strcmp(driver, "softpipe") == 0) in sw_screen_create_named()
60 if (screen == NULL && strcmp(driver, "swr") == 0) in sw_screen_create_named()
65 if (screen == NULL && strcmp(driver, "zink") == 0) in sw_screen_create_named()
77 const char *driver; in sw_screen_create() local
91 driver = debug_get_option("GALLIUM_DRIVER", default_driver); in sw_screen_create()
92 return sw_screen_create_named(winsys, driver); in sw_screen_create()

12345678910>>...75