Home
last modified time | relevance | path

Searched refs:rawdevices (Results 1 – 6 of 6) sorted by relevance

/external/libmtp/examples/
Ddetect.c62 LIBMTP_raw_device_t * rawdevices; in main() local
87 err = LIBMTP_Detect_Raw_Devices(&rawdevices, &numrawdevices); in main()
104 if (rawdevices[i].device_entry.vendor != NULL || in main()
105 rawdevices[i].device_entry.product != NULL) { in main()
107 rawdevices[i].device_entry.vendor, in main()
108 rawdevices[i].device_entry.product, in main()
109 rawdevices[i].device_entry.vendor_id, in main()
110 rawdevices[i].device_entry.product_id, in main()
111 rawdevices[i].bus_location, in main()
112 rawdevices[i].devnum); in main()
[all …]
Dfolders.c44 LIBMTP_raw_device_t *rawdevices; in main() local
51 switch (LIBMTP_Detect_Raw_Devices(&rawdevices, &numrawdevices)) { in main()
81 device = LIBMTP_Open_Raw_Device(&rawdevices[i]); in main()
127 free(rawdevices); in main()
Dfiles.c80 LIBMTP_raw_device_t *rawdevices; in main() local
89 err = LIBMTP_Detect_Raw_Devices(&rawdevices, &numrawdevices); in main()
122 device = LIBMTP_Open_Raw_Device_Uncached(&rawdevices[i]); in main()
147 free(rawdevices); in main()
Dfiletree.c74 LIBMTP_raw_device_t * rawdevices; in main() local
96 err = LIBMTP_Detect_Raw_Devices(&rawdevices, &numrawdevices); in main()
123 device = LIBMTP_Open_Raw_Device_Uncached(&rawdevices[i]); in main()
157 free(rawdevices); in main()
Dalbums.c71 LIBMTP_raw_device_t *rawdevices; in main() local
95 err = LIBMTP_Detect_Raw_Devices(&rawdevices, &numrawdevices); in main()
128 device = LIBMTP_Open_Raw_Device_Uncached(&rawdevices[i]); in main()
153 free(rawdevices); in main()
Dtracks.c118 LIBMTP_raw_device_t *rawdevices; in main() local
126 err = LIBMTP_Detect_Raw_Devices(&rawdevices, &numrawdevices); in main()
159 device = LIBMTP_Open_Raw_Device_Uncached(&rawdevices[i]); in main()