Home
last modified time | relevance | path

Searched refs:retdevs (Results 1 – 3 of 3) sorted by relevance

/external/libmtp/src/
Dlibusb-glue.c614 LIBMTP_raw_device_t *retdevs; in LIBMTP_Detect_Raw_Devices() local
641 retdevs = (LIBMTP_raw_device_t *) malloc(sizeof(LIBMTP_raw_device_t) * devs); in LIBMTP_Detect_Raw_Devices()
642 if (retdevs == NULL) { in LIBMTP_Detect_Raw_Devices()
654 retdevs[i].device_entry.vendor = NULL; in LIBMTP_Detect_Raw_Devices()
655 retdevs[i].device_entry.vendor_id = dev->libusb_device->descriptor.idVendor; in LIBMTP_Detect_Raw_Devices()
656 retdevs[i].device_entry.product = NULL; in LIBMTP_Detect_Raw_Devices()
657 retdevs[i].device_entry.product_id = dev->libusb_device->descriptor.idProduct; in LIBMTP_Detect_Raw_Devices()
658 retdevs[i].device_entry.device_flags = 0x00000000U; in LIBMTP_Detect_Raw_Devices()
664 retdevs[i].device_entry.vendor = mtp_device_table[j].vendor; in LIBMTP_Detect_Raw_Devices()
665 retdevs[i].device_entry.product = mtp_device_table[j].product; in LIBMTP_Detect_Raw_Devices()
[all …]
Dlibusb1-glue.c633 LIBMTP_raw_device_t *retdevs; in LIBMTP_Detect_Raw_Devices() local
660 retdevs = (LIBMTP_raw_device_t *) malloc(sizeof(LIBMTP_raw_device_t) * devs); in LIBMTP_Detect_Raw_Devices()
661 if (retdevs == NULL) { in LIBMTP_Detect_Raw_Devices()
675 retdevs[i].device_entry.vendor = NULL; in LIBMTP_Detect_Raw_Devices()
676 retdevs[i].device_entry.vendor_id = desc.idVendor; in LIBMTP_Detect_Raw_Devices()
677 retdevs[i].device_entry.product = NULL; in LIBMTP_Detect_Raw_Devices()
678 retdevs[i].device_entry.product_id = desc.idProduct; in LIBMTP_Detect_Raw_Devices()
679 retdevs[i].device_entry.device_flags = 0x00000000U; in LIBMTP_Detect_Raw_Devices()
685 retdevs[i].device_entry.vendor = mtp_device_table[j].vendor; in LIBMTP_Detect_Raw_Devices()
686 retdevs[i].device_entry.product = mtp_device_table[j].product; in LIBMTP_Detect_Raw_Devices()
[all …]
Dlibopenusb1-glue.c597 LIBMTP_raw_device_t *retdevs; in LIBMTP_Detect_Raw_Devices() local
624 retdevs = (LIBMTP_raw_device_t *) malloc(sizeof (LIBMTP_raw_device_t) * devs); in LIBMTP_Detect_Raw_Devices()
625 if (retdevs == NULL) { in LIBMTP_Detect_Raw_Devices()
639 retdevs[i].device_entry.vendor = NULL; in LIBMTP_Detect_Raw_Devices()
640 retdevs[i].device_entry.vendor_id = desc.idVendor; in LIBMTP_Detect_Raw_Devices()
641 retdevs[i].device_entry.product = NULL; in LIBMTP_Detect_Raw_Devices()
642 retdevs[i].device_entry.product_id = desc.idProduct; in LIBMTP_Detect_Raw_Devices()
643 retdevs[i].device_entry.device_flags = 0x00000000U; in LIBMTP_Detect_Raw_Devices()
649 retdevs[i].device_entry.vendor = mtp_device_table[j].vendor; in LIBMTP_Detect_Raw_Devices()
650 retdevs[i].device_entry.product = mtp_device_table[j].product; in LIBMTP_Detect_Raw_Devices()
[all …]