Home
last modified time | relevance | path

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

/external/libusb/tests/
Dstress.c78 libusb_device ** device_lists[LIST_COUNT]; in test_many_device_lists() local
80 memset(device_lists, 0, sizeof(device_lists)); in test_many_device_lists()
90 ssize_t list_size = libusb_get_device_list(ctx, &(device_lists[i])); in test_many_device_lists()
91 if (list_size < 0 || device_lists[i] == NULL) { in test_many_device_lists()
94 i, -list_size, device_lists[i]); in test_many_device_lists()
101 if (device_lists[i]) { in test_many_device_lists()
102 libusb_free_device_list(device_lists[i], 1); in test_many_device_lists()
103 device_lists[i] = NULL; in test_many_device_lists()