Home
last modified time | relevance | path

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

/external/libmtp/src/
Dlibusb-glue.c136 int LIBMTP_Get_Supported_Devices_List(LIBMTP_device_entry_t ** const devices, int * const numdevs) in LIBMTP_Get_Supported_Devices_List() argument
139 *numdevs = mtp_device_table_size; in LIBMTP_Get_Supported_Devices_List()
609 int * numdevs) in LIBMTP_Detect_Raw_Devices() argument
621 *numdevs = 0; in LIBMTP_Detect_Raw_Devices()
637 *numdevs = 0; in LIBMTP_Detect_Raw_Devices()
645 *numdevs = 0; in LIBMTP_Detect_Raw_Devices()
690 *numdevs = i; in LIBMTP_Detect_Raw_Devices()
Dlibusb1-glue.c134 int * const numdevs) in LIBMTP_Get_Supported_Devices_List() argument
137 *numdevs = mtp_device_table_size; in LIBMTP_Get_Supported_Devices_List()
628 int * numdevs) in LIBMTP_Detect_Raw_Devices() argument
640 *numdevs = 0; in LIBMTP_Detect_Raw_Devices()
656 *numdevs = 0; in LIBMTP_Detect_Raw_Devices()
664 *numdevs = 0; in LIBMTP_Detect_Raw_Devices()
709 *numdevs = i; in LIBMTP_Detect_Raw_Devices()
Dlibopenusb1-glue.c131 int LIBMTP_Get_Supported_Devices_List(LIBMTP_device_entry_t * * const devices, int * const numdevs)… in LIBMTP_Get_Supported_Devices_List() argument
133 *numdevs = mtp_device_table_size; in LIBMTP_Get_Supported_Devices_List()
593 int * numdevs) { in LIBMTP_Detect_Raw_Devices() argument
604 *numdevs = 0; in LIBMTP_Detect_Raw_Devices()
620 *numdevs = 0; in LIBMTP_Detect_Raw_Devices()
628 *numdevs = 0; in LIBMTP_Detect_Raw_Devices()
673 *numdevs = i; in LIBMTP_Detect_Raw_Devices()
Dlibmtp.c1691 int numdevs; in LIBMTP_Get_First_Device() local
1694 ret = LIBMTP_Detect_Raw_Devices(&devices, &numdevs); in LIBMTP_Get_First_Device()
1699 if (devices == NULL || numdevs == 0) { in LIBMTP_Get_First_Device()
2318 static LIBMTP_mtpdevice_t * create_usb_mtp_devices(LIBMTP_raw_device_t *devices, int numdevs) in create_usb_mtp_devices() argument
2324 for (i=0; i < numdevs; i++) { in create_usb_mtp_devices()
2371 int numdevs; in LIBMTP_Get_Connected_Devices() local
2374 ret = LIBMTP_Detect_Raw_Devices(&devices, &numdevs); in LIBMTP_Get_Connected_Devices()
2381 if (devices == NULL || numdevs == 0) { in LIBMTP_Get_Connected_Devices()
2387 *device_list = create_usb_mtp_devices(devices, numdevs); in LIBMTP_Get_Connected_Devices()