/external/libusb/libusb/ |
core.c | 459 * returning new discdevs. returns NULL on realloc failure. */ 461 struct discovered_devs *discdevs, struct libusb_device *dev) 463 size_t len = discdevs->len; 467 if (len < discdevs->capacity) { 468 discdevs->devices[len] = libusb_ref_device(dev); 469 discdevs->len++; 470 return discdevs; 475 capacity = discdevs->capacity + DISCOVERED_DEVICES_SIZE_STEP; 476 discdevs = realloc(discdevs, 594 struct discovered_devs *discdevs = discovered_devs_alloc(); local [all...] |
libusbi.h | 338 struct discovered_devs *discdevs, struct libusb_device *dev); 416 struct discovered_devs **discdevs);
|
/external/chromium_org/third_party/libusb/src/libusb/ |
core.c | 466 * returning new discdevs. returns NULL on realloc failure. */ 468 struct discovered_devs *discdevs, struct libusb_device *dev) 470 size_t len = discdevs->len; 474 if (len < discdevs->capacity) { 475 discdevs->devices[len] = libusb_ref_device(dev); 476 discdevs->len++; 477 return discdevs; 482 capacity = discdevs->capacity + DISCOVERED_DEVICES_SIZE_STEP; 483 discdevs = usbi_reallocf(discdevs, 654 struct discovered_devs *discdevs = discovered_devs_alloc(); local [all...] |
libusbi.h | 489 struct discovered_devs *discdevs, struct libusb_device *dev); 572 struct discovered_devs **discdevs); [all...] |
/external/libusb/libusb/os/ |
linux_usbfs.c | 790 struct discovered_devs *discdevs; local 822 discdevs = discovered_devs_append(*_discdevs, dev); 823 if (!discdevs) 826 *_discdevs = discdevs; 834 /* open a bus directory and adds all discovered devices to discdevs. on 835 * failure (non-zero return) the pre-existing discdevs should be destroyed 836 * (and devices freed). on success, the new discdevs pointer should be used 844 struct discovered_devs *discdevs = *_discdevs; local 869 r = enumerate_device(ctx, &discdevs, busnum, (uint8_t) devaddr, NULL); 874 *_discdevs = discdevs; 885 struct discovered_devs *discdevs = *_discdevs; local 996 struct discovered_devs *discdevs = *_discdevs; local [all...] |
darwin_usb.c | 441 struct discovered_devs *discdevs; local 536 discdevs = discovered_devs_append(*_discdevs, dev); 537 if (!discdevs) { 542 *_discdevs = discdevs; [all...] |
/external/chromium_org/third_party/libusb/src/libusb/os/ |
wince_usb.c | 345 struct discovered_devs **discdevs) 348 struct discovered_devs * new_devices = *discdevs; 396 if (!discdevs) { 402 *discdevs = new_devices; 405 *discdevs = new_devices; [all...] |
openbsd_usb.c | 142 struct discovered_devs **discdevs) 222 ddd = discovered_devs_append(*discdevs, dev); 228 *discdevs = ddd;
|
windows_usb.c | 1330 struct discovered_devs *discdevs; local [all...] |