Searched refs:discdevs (Results 1 – 10 of 10) sorted by relevance
/external/libusb/libusb/ |
D | core.c | 632 static void discovered_devs_free(struct discovered_devs *discdevs) in discovered_devs_free() argument 636 for (i = 0; i < discdevs->len; i++) in discovered_devs_free() 637 libusb_unref_device(discdevs->devices[i]); in discovered_devs_free() 639 free(discdevs); in discovered_devs_free() 645 struct discovered_devs *discdevs, struct libusb_device *dev) in discovered_devs_append() argument 647 size_t len = discdevs->len; in discovered_devs_append() 652 if (len < discdevs->capacity) { in discovered_devs_append() 653 discdevs->devices[len] = libusb_ref_device(dev); in discovered_devs_append() 654 discdevs->len++; in discovered_devs_append() 655 return discdevs; in discovered_devs_append() [all …]
|
D | libusbi.h | 586 struct discovered_devs *discdevs, struct libusb_device *dev); 669 struct discovered_devs **discdevs);
|
/external/libusb/libusb/os/ |
D | sunos_usb.c | 279 if (discovered_devs_append(*(nargs->discdevs), dev) == NULL) { in sunos_add_devices() 292 (*nargs->discdevs)->len, bdf); in sunos_add_devices() 326 struct discovered_devs **discdevs) in sunos_get_device_list() argument 333 args.discdevs = discdevs; in sunos_get_device_list() 360 usbi_dbg("%d devices", (*discdevs)->len); in sunos_get_device_list() 362 return ((*discdevs)->len); in sunos_get_device_list()
|
D | wince_usb.c | 276 struct discovered_devs **discdevs) in wince_get_device_list() argument 279 struct discovered_devs *new_devices = *discdevs; in wince_get_device_list() 331 if (!discdevs) { in wince_get_device_list() 339 *discdevs = new_devices; in wince_get_device_list() 342 *discdevs = new_devices; in wince_get_device_list()
|
D | sunos_usb.h | 57 struct discovered_devs **discdevs; member
|
D | windows_usbdk.c | 329 struct discovered_devs *discdevs = NULL; in usbdk_get_device_list() local 358 discdevs = discovered_devs_append(*_discdevs, dev); in usbdk_get_device_list() 360 if (!discdevs) { in usbdk_get_device_list() 366 *_discdevs = discdevs; in usbdk_get_device_list()
|
D | openbsd_usb.c | 147 struct discovered_devs **discdevs) in obsd_get_device_list() argument 229 ddd = discovered_devs_append(*discdevs, dev); in obsd_get_device_list() 236 *discdevs = ddd; in obsd_get_device_list()
|
D | netbsd_usb.c | 141 struct discovered_devs **discdevs) in netbsd_get_device_list() argument 198 if (discovered_devs_append(*discdevs, dev) == NULL) in netbsd_get_device_list()
|
D | windows_winusb.c | 1278 struct discovered_devs *discdevs; in windows_get_device_list() local 1602 discdevs = discovered_devs_append(*_discdevs, dev); in windows_get_device_list() 1603 if (!discdevs) in windows_get_device_list() 1606 *_discdevs = discdevs; in windows_get_device_list()
|
/external/libusb/include/libusb/ |
D | libusbi.h | 586 struct discovered_devs *discdevs, struct libusb_device *dev); 669 struct discovered_devs **discdevs);
|