Home
last modified time | relevance | path

Searched refs:dev_list (Results 1 – 4 of 4) sorted by relevance

/external/libpcap/
Dpcap-bt-linux.c79 struct hci_dev_list_req *dev_list; in bt_findalldevs() local
95 dev_list = malloc(HCI_MAX_DEV * sizeof(*dev_req) + sizeof(*dev_list)); in bt_findalldevs()
96 if (!dev_list) in bt_findalldevs()
99 HCI_MAX_DEV * sizeof(*dev_req) + sizeof(*dev_list)); in bt_findalldevs()
104 dev_list->dev_num = HCI_MAX_DEV; in bt_findalldevs()
106 if (ioctl(sock, HCIGETDEVLIST, (void *) dev_list) < 0) in bt_findalldevs()
115 dev_req = dev_list->dev_req; in bt_findalldevs()
116 for (i = 0; i < dev_list->dev_num; i++, dev_req++) { in bt_findalldevs()
132 free(dev_list); in bt_findalldevs()
/external/libusb-compat/libusb/
Dcore.c173 libusb_device **dev_list = NULL; in find_busses() local
180 r = libusb_get_device_list(ctx, &dev_list); in find_busses()
187 libusb_free_device_list(dev_list, 1); in find_busses()
198 libusb_device *dev = dev_list[i]; in find_busses()
226 libusb_free_device_list(dev_list, 1); in find_busses()
308 static int find_devices(libusb_device **dev_list, int dev_list_len, in find_devices() argument
316 libusb_device *newlib_dev = dev_list[i]; in find_devices()
569 libusb_device **dev_list; in usb_find_devices() local
580 dev_list_len = libusb_get_device_list(ctx, &dev_list); in usb_find_devices()
588 r = find_devices(dev_list, dev_list_len, bus, &new_devices); in usb_find_devices()
[all …]
/external/autotest/server/cros/
Ddark_resume_utils.py90 dev_list = dev_contents.split('\n')
91 new_dev_list = filter(lambda dev: dev.find('usb') == -1, dev_list)
/external/iputils/
Darping.c723 struct dlist *dev_list; in find_device_by_sysfs() local
740 dev_list = sysfs_get_class_devices(cls_net); in find_device_by_sysfs()
741 if (!dev_list) { in find_device_by_sysfs()
748 dlist_for_each_data(dev_list, dev, struct sysfs_class_device) { in find_device_by_sysfs()