Searched refs:list_size (Results 1 – 5 of 5) sorted by relevance
/external/libusb/tests/ |
D | stress.c | 60 ssize_t list_size = libusb_get_device_list(ctx, &device_list); in test_get_device_list() local 61 if (list_size < 0 || device_list == NULL) { in test_get_device_list() 64 i, -list_size, device_list); in test_get_device_list() 90 ssize_t list_size = libusb_get_device_list(ctx, &(device_lists[i])); in test_many_device_lists() local 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()
|
/external/syslinux/com32/mboot/ |
D | mboot.c | 51 size_t list_size = nmodules * sizeof *mod_list; in map_modules() local 54 mod_list = malloc(list_size); in map_modules() 60 map_list = map_data(mod_list, list_size, 16, 0); in map_modules()
|
/external/webrtc/talk/media/devices/ |
D | devicemanager_unittest.cc | 238 const char* const device_list[], int list_size) { in CompareDeviceList() argument 239 if (list_size != static_cast<int>(devices.size())) { in CompareDeviceList() 242 for (int i = 0; i < list_size; ++i) { in CompareDeviceList()
|
/external/mesa3d/src/glx/ |
D | glxcmds.c | 1622 int list_size; in glXChooseFBConfig() local 1626 glXGetFBConfigs(dpy, screen, &list_size); in glXChooseFBConfig() 1628 if ((config_list != NULL) && (list_size > 0) && (attribList != NULL)) { in glXChooseFBConfig() 1629 list_size = choose_visual(config_list, list_size, attribList, GL_TRUE); in glXChooseFBConfig() 1630 if (list_size == 0) { in glXChooseFBConfig() 1636 *nitems = list_size; in glXChooseFBConfig()
|
/external/squashfs-tools/squashfs-tools/ |
D | mksquashfs.c | 1718 int compressed_size, i, list_size = meta_blocks * sizeof(long long); in generic_write_table() local 1727 list = malloc(list_size); in generic_write_table() 1757 write_destination(fd, bytes, list_size, list); in generic_write_table() 1758 bytes += list_size; in generic_write_table() 1759 total_bytes += list_size; in generic_write_table()
|