Searched refs:device_count (Results 1 – 2 of 2) sorted by relevance
109 ssize_t device_count = libusb_get_device_list(ctx, &device_list); in main() local110 if (device_count < 0) { in main()111 PrintLibusbError(device_count, "error: failed to list devices"); in main()116 for (int i = 0; i < device_count; ++i) { in main()
209 ssize_t device_count = libusb_get_device_list(ctx, &device_list); in main() local210 if (device_count < 0) { in main()217 for (ssize_t i = 0; i < device_count; ++i) { in main()