Home
last modified time | relevance | path

Searched refs:devs (Results 1 – 25 of 85) sorted by relevance

1234

/external/mesa3d/src/gallium/auxiliary/pipe-loader/
Dpipe_loader.h83 pipe_loader_probe(struct pipe_loader_device **devs, int ndev);
121 pipe_loader_release(struct pipe_loader_device **devs, int ndev);
134 pipe_loader_sw_probe_dri(struct pipe_loader_device **devs,
148 pipe_loader_sw_probe_kms(struct pipe_loader_device **devs, int fd);
158 pipe_loader_sw_probe_null(struct pipe_loader_device **devs);
168 pipe_loader_sw_probe(struct pipe_loader_device **devs, int ndev);
189 pipe_loader_drm_probe(struct pipe_loader_device **devs, int ndev);
Dpipe_loader_sw.c140 pipe_loader_sw_probe_dri(struct pipe_loader_device **devs, const struct drisw_loader_funcs *drisw_l… in pipe_loader_sw_probe_dri() argument
160 *devs = &sdev->base; in pipe_loader_sw_probe_dri()
172 pipe_loader_sw_probe_kms(struct pipe_loader_device **devs, int fd) in pipe_loader_sw_probe_kms() argument
195 *devs = &sdev->base; in pipe_loader_sw_probe_kms()
208 pipe_loader_sw_probe_null(struct pipe_loader_device **devs) in pipe_loader_sw_probe_null() argument
228 *devs = &sdev->base; in pipe_loader_sw_probe_null()
238 pipe_loader_sw_probe(struct pipe_loader_device **devs, int ndev) in pipe_loader_sw_probe() argument
243 if (!pipe_loader_sw_probe_null(devs)) { in pipe_loader_sw_probe()
Dpipe_loader.c59 pipe_loader_probe(struct pipe_loader_device **devs, int ndev) in pipe_loader_probe() argument
64 n += backends[i](&devs[n], MAX2(0, ndev - n)); in pipe_loader_probe()
70 pipe_loader_release(struct pipe_loader_device **devs, int ndev) in pipe_loader_release() argument
75 devs[i]->ops->release(&devs[i]); in pipe_loader_release()
/external/mesa3d/src/gallium/frontends/clover/core/
Dprogram.cpp34 const ref_vector<device> &devs, in program() argument
37 _devices(devs), _kernel_ref_counter(0) { in program()
41 devs, binaries); in program()
45 program::compile(const ref_vector<device> &devs, const std::string &opts, in compile() argument
48 _devices = devs; in compile()
50 for (auto &dev : devs) { in compile()
66 program::link(const ref_vector<device> &devs, const std::string &opts, in link() argument
68 _devices = devs; in link()
70 for (auto &dev : devs) { in link()
Dcontext.cpp28 const ref_vector<device> &devs, in context() argument
30 notify(notify), props(props), devs(devs) { in context()
62 return map(evals(), devs); in devices()
Dprogram.hpp44 const ref_vector<device> &devs = {},
51 void compile(const ref_vector<device> &devs, const std::string &opts,
53 void link(const ref_vector<device> &devs, const std::string &opts,
Dplatform.cpp27 platform::platform() : adaptor_range(evals(), devs) { in platform()
36 devs.push_back(create<device>(*this, ldev)); in platform()
/external/libusb/examples/
Dlistdevs.c24 static void print_devs(libusb_device **devs) in print_devs() argument
30 while ((dev = devs[i++]) != NULL) { in print_devs()
54 libusb_device **devs; in main() local
62 cnt = libusb_get_device_list(NULL, &devs); in main()
68 print_devs(devs); in main()
69 libusb_free_device_list(devs, 1); in main()
Dfxload.c95 libusb_device *dev, **devs; in main() local
184 if (libusb_get_device_list(NULL, &devs) < 0) { in main()
188 for (i=0; (dev=devs[i]) != NULL; i++) { in main()
232 libusb_free_device_list(devs, 1); in main()
238 libusb_free_device_list(devs, 1); in main()
Dtestlibusb.c273 libusb_device **devs; in main() local
297 cnt = libusb_get_device_list(NULL, &devs); in main()
303 for (i = 0; devs[i]; i++) in main()
304 print_device(devs[i], NULL); in main()
306 libusb_free_device_list(devs, 1); in main()
/external/openssh/
Dauth2-kbdint.c50 char *lang, *devs; in userauth_kbdint() local
53 (r = sshpkt_get_cstring(ssh, &devs, NULL)) != 0 || in userauth_kbdint()
57 debug("keyboard-interactive devs %s", devs); in userauth_kbdint()
60 authenticated = auth2_challenge(ssh, devs); in userauth_kbdint()
62 free(devs); in userauth_kbdint()
Dauth2-chall.c101 kbdint_alloc(const char *devs) in kbdint_alloc() argument
113 if (strcmp(devs, "") == 0) { in kbdint_alloc()
126 kbdintctxt->devices = xstrdup(devs); in kbdint_alloc()
194 auth2_challenge(struct ssh *ssh, char *devs) in auth2_challenge() argument
199 devs ? devs : "<no devs>"); in auth2_challenge()
201 if (authctxt->user == NULL || !devs) in auth2_challenge()
204 authctxt->kbdintctxt = kbdint_alloc(devs); in auth2_challenge()
/external/tensorflow/tensorflow/core/framework/
Dop_kernel_test.cc217 PrioritizedDeviceTypeVector devs; in TEST_F() local
218 TF_ASSERT_OK(SupportedDeviceTypesForNode(DeviceTypes(), ndef, &devs)); in TEST_F()
219 EXPECT_EQ(1, devs.size()); in TEST_F()
220 EXPECT_EQ(DeviceType(DEVICE_CPU), devs[0].first); in TEST_F()
231 PrioritizedDeviceTypeVector devs; in TEST_F() local
234 TF_ASSERT_OK(SupportedDeviceTypesForNode(DeviceTypes(), ndef, &devs, in TEST_F()
236 EXPECT_EQ(2, devs.size()); in TEST_F()
237 EXPECT_EQ(DeviceType(DEVICE_GPU), devs[0].first); in TEST_F()
238 EXPECT_EQ(DeviceType(DEVICE_CPU), devs[1].first); in TEST_F()
246 PrioritizedDeviceTypeVector devs; in TEST_F() local
[all …]
/external/mesa3d/src/gallium/frontends/clover/api/
Dprogram.cpp109 auto devs = objs(d_devs, n); in clCreateProgramWithBinary() local
116 }, devs)) in clCreateProgramWithBinary()
150 return new program(ctx, devs, map(values(), result)); in clCreateProgramWithBinary()
163 auto devs = objs(d_devs, n); in clCreateProgramWithBuiltInKernels() local
167 }, devs)) in clCreateProgramWithBuiltInKernels()
205 auto devs = in clBuildProgram() local
214 prog.compile(devs, opts); in clBuildProgram()
215 prog.link(devs, opts, { prog }); in clBuildProgram()
218 }, devs)) { in clBuildProgram()
239 auto devs = in clCompileProgram() local
[all …]
Dcontext.cpp36 auto devs = objs(d_devs, num_devs); in clCreateContext() local
54 return desc(new context(props, devs, notify)); in clCreateContext()
70 std::vector<cl_device_id> devs; in clCreateContextFromType() local
80 devs.resize(num_devices); in clCreateContextFromType()
81 ret = clGetDeviceIDs(d_platform, type, num_devices, devs.data(), 0); in clCreateContextFromType()
85 return clCreateContext(d_props, num_devices, devs.data(), pfn_notify, in clCreateContextFromType()
/external/autotest/client/tests/blktests/
Dblktests.py23 devs=[] variable in blktests
39 self.devs.append(dev_name)
50 self.devs.append(loop_dev)
57 self.devs.append(loop_dev)
69 self.devs.append(dev)
72 test_devs = ' '.join(self.devs)
/external/autotest/client/site_tests/hardware_StorageFioOther/
Dhardware_StorageFioOther.py31 devs = utils.get_other_device()
32 if len(devs) == 0:
34 elif len(devs) > 1:
36 self._dev = devs[0]
/external/tensorflow/tensorflow/go/
Dcontext_test.go41 devs, err := c.ListDevices()
45 if len(devs) < 1 {
49 for _, d := range devs {
/external/adhd/cras/src/server/
Dcras_iodev_list.c60 static struct iodev_list devs[CRAS_NUM_DIRECTIONS]; variable
104 DL_FOREACH (devs[CRAS_STREAM_OUTPUT].iodevs, dev) in find_dev()
108 DL_FOREACH (devs[CRAS_STREAM_INPUT].iodevs, dev) in find_dev()
128 struct iodev_list *list = &devs[dev->direction]; in add_dev_to_list()
166 DL_FOREACH (devs[dev->direction].iodevs, tmp) in rm_dev_from_list()
170 DL_DELETE(devs[dev->direction].iodevs, dev); in rm_dev_from_list()
171 devs[dev->direction].size--; in rm_dev_from_list()
314 DL_FOREACH (devs[CRAS_STREAM_OUTPUT].iodevs, dev) { in sys_vol_change()
328 DL_FOREACH (devs[CRAS_STREAM_OUTPUT].iodevs, dev) { in sys_mute_change()
593 DL_FOREACH (devs[CRAS_STREAM_INPUT].iodevs, dev) { in sys_cap_mute_change()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dwin_if_list.c146 pcap_if_t *devs, *dev; in pcap_enum_devs() local
149 if (pcap_findalldevs(&devs, err) < 0) { in pcap_enum_devs()
154 for (dev = devs; dev; dev = dev->next) { in pcap_enum_devs()
158 pcap_freealldevs(devs); in pcap_enum_devs()
/external/mesa3d/src/egl/main/
Degldevice.c295 _EGLDevice *dev, *devs; in _eglQueryDevicesEXT() local
304 devs = _eglGlobal.DeviceList; in _eglQueryDevicesEXT()
320 for (i = 0, dev = devs->Next; dev && i < max_devices; i++) { in _eglQueryDevicesEXT()
327 assert(_eglDeviceSupports(devs, _EGL_DEVICE_SOFTWARE)); in _eglQueryDevicesEXT()
328 devices[num_devs - 1] = devs; in _eglQueryDevicesEXT()
/external/angle/src/libANGLE/
DCLContext.cpp275 DevicePtrs devs; in createProgramWithBinary() local
276 devs.reserve(numDevices); in createProgramWithBinary()
279 devs.emplace_back(&(*devices++)->cast<Device>()); in createProgramWithBinary()
281 return Object::Create<Program>(errorCode, *this, std::move(devs), lengths, binaries, in createProgramWithBinary()
290 DevicePtrs devs; in createProgramWithBuiltInKernels() local
291 devs.reserve(numDevices); in createProgramWithBuiltInKernels()
294 devs.emplace_back(&(*devices++)->cast<Device>()); in createProgramWithBuiltInKernels()
296 return Object::Create<Program>(errorCode, *this, std::move(devs), kernelNames); in createProgramWithBuiltInKernels()
/external/autotest/server/cros/network/
Dconnection_worker.py56 devs = iw.list_interfaces(desired_if_type='managed')
57 if len(devs) > 0:
58 logging.debug('Removing interfaces in work host machine %s', devs)
59 for i in range(len(devs)):
60 iw.remove_interface(devs[i].if_name)
/external/e2fsprogs/lib/blkid/
Ddevname.c403 dev_t devs[2]; in probe_all() local
438 devs[which] = makedev(ma, mi); in probe_all()
460 ptname, (unsigned int) devs[which])); in probe_all()
463 probe_one(cache, ptname, devs[which], 0, in probe_all()
480 if (tmp->bid_devno == devs[last]) { in probe_all()
499 ptnames[last], (unsigned int) devs[last])); in probe_all()
500 probe_one(cache, ptnames[last], devs[last], 0, in probe_all()
508 probe_one(cache, ptname, devs[which], 0, only_if_new); in probe_all()
/external/adhd/cras/src/tools/cras_test_client/
Dcras_test_client.c353 static void print_dev_info(const struct cras_iodev_info *devs, int num_devs) in print_dev_info() argument
359 printf("\t%u\t%u\t%s\n", devs[i].idx, in print_dev_info()
360 devs[i].max_supported_channels, devs[i].name); in print_dev_info()
405 struct cras_iodev_info devs[MAX_IODEVS]; in print_device_lists() local
412 rc = cras_client_get_output_devices(client, devs, nodes, &num_devs, in print_device_lists()
417 print_dev_info(devs, num_devs); in print_device_lists()
423 rc = cras_client_get_input_devices(client, devs, nodes, &num_devs, in print_device_lists()
426 print_dev_info(devs, num_devs); in print_device_lists()
764 (info->devs[i].direction == CRAS_STREAM_INPUT) ? in print_audio_debug_info()
767 info->devs[i].dev_name); in print_audio_debug_info()
[all …]

1234