Searched refs:numdevs (Results 1 – 2 of 2) sorted by relevance
135 int LIBMTP_Get_Supported_Devices_List(LIBMTP_device_entry_t ** const devices, int * const numdevs) in LIBMTP_Get_Supported_Devices_List() argument138 *numdevs = mtp_device_table_size; in LIBMTP_Get_Supported_Devices_List()584 int * numdevs) in LIBMTP_Detect_Raw_Devices() argument596 *numdevs = 0; in LIBMTP_Detect_Raw_Devices()612 *numdevs = 0; in LIBMTP_Detect_Raw_Devices()620 *numdevs = 0; in LIBMTP_Detect_Raw_Devices()683 *numdevs = i; in LIBMTP_Detect_Raw_Devices()
1602 int numdevs; in LIBMTP_Get_First_Device() local1605 ret = LIBMTP_Detect_Raw_Devices(&devices, &numdevs); in LIBMTP_Get_First_Device()1610 if (devices == NULL || numdevs == 0) { in LIBMTP_Get_First_Device()1868 static LIBMTP_mtpdevice_t * create_usb_mtp_devices(LIBMTP_raw_device_t *devices, int numdevs) in create_usb_mtp_devices() argument1874 for (i=0; i < numdevs; i++) { in create_usb_mtp_devices()1921 int numdevs; in LIBMTP_Get_Connected_Devices() local1924 ret = LIBMTP_Detect_Raw_Devices(&devices, &numdevs); in LIBMTP_Get_Connected_Devices()1931 if (devices == NULL || numdevs == 0) { in LIBMTP_Get_Connected_Devices()1936 *device_list = create_usb_mtp_devices(devices, numdevs); in LIBMTP_Get_Connected_Devices()