Home
last modified time | relevance | path

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

/third_party/vulkan-loader/loader/
Dloader_linux.c272 uint32_t ext_count; in linux_read_sorted_physical_devices() local
273 …tch.EnumerateDeviceExtensionProperties(sorted_device_info[index].physical_device, NULL, &ext_count, in linux_read_sorted_physical_devices()
275 if (ext_count > 0) { in linux_read_sorted_physical_devices()
277 … (VkExtensionProperties *)loader_stack_alloc(sizeof(VkExtensionProperties) * ext_count); in linux_read_sorted_physical_devices()
283 &ext_count, ext_props); in linux_read_sorted_physical_devices()
284 for (uint32_t ext = 0; ext < ext_count; ++ext) { in linux_read_sorted_physical_devices()
376 uint32_t ext_count; in linux_sort_physical_device_groups() local
378 … sorted_group_term[group].internal_device_info[gpu].physical_device, NULL, &ext_count, NULL); in linux_sort_physical_device_groups()
379 if (ext_count > 0) { in linux_sort_physical_device_groups()
381 … (VkExtensionProperties *)loader_stack_alloc(sizeof(VkExtensionProperties) * ext_count); in linux_sort_physical_device_groups()
[all …]
Dextension_manual.c348 uint32_t ext_count = 0; in terminator_GetPhysicalDeviceToolPropertiesEXT() local
353 …term->dispatch.EnumerateDeviceExtensionProperties(phys_dev_term->phys_dev, NULL, &ext_count, NULL); in terminator_GetPhysicalDeviceToolPropertiesEXT()
358 …ps = loader_instance_heap_alloc(icd_term->this_instance, sizeof(VkExtensionProperties) * ext_count, in terminator_GetPhysicalDeviceToolPropertiesEXT()
365 …>dispatch.EnumerateDeviceExtensionProperties(phys_dev_term->phys_dev, NULL, &ext_count, ext_props); in terminator_GetPhysicalDeviceToolPropertiesEXT()
370 for (uint32_t i = 0; i < ext_count; i++) { in terminator_GetPhysicalDeviceToolPropertiesEXT()
/third_party/vulkan-loader/tests/framework/layer/
Dwrap_objects.cpp412 uint32_t ext_count = 0; in wrap_vkEnumerateDeviceExtensionProperties() local
414 ext_count++; in wrap_vkEnumerateDeviceExtensionProperties()
417 ext_count++; in wrap_vkEnumerateDeviceExtensionProperties()
421 uint32_t count = ext_count; in wrap_vkEnumerateDeviceExtensionProperties()
427 ext_count = 0; in wrap_vkEnumerateDeviceExtensionProperties()
429 if (ext_count < count) { in wrap_vkEnumerateDeviceExtensionProperties()
431 …strncpy_s(pProperties[ext_count].extensionName, VK_MAX_EXTENSION_NAME_SIZE, VK_KHR_MAINTENANCE1_EX… in wrap_vkEnumerateDeviceExtensionProperties()
434 …strncpy(pProperties[ext_count].extensionName, VK_KHR_MAINTENANCE1_EXTENSION_NAME, VK_MAX_EXTENSION… in wrap_vkEnumerateDeviceExtensionProperties()
436 pProperties[ext_count].specVersion = 2; in wrap_vkEnumerateDeviceExtensionProperties()
437 ext_count++; in wrap_vkEnumerateDeviceExtensionProperties()
[all …]
/third_party/vulkan-loader/tests/
Dloader_get_proc_addr_tests.cpp102 uint32_t ext_count = 0; in TEST() local
103 ASSERT_EQ(VK_SUCCESS, EnumerateInstanceExtensionProperties("", &ext_count, nullptr)); in TEST()
132 uint32_t ext_count = 0; in TEST() local
133 ASSERT_EQ(VK_SUCCESS, EnumerateInstanceExtensionProperties("", &ext_count, nullptr)); in TEST()
Dloader_regression_tests.cpp403 uint32_t ext_count = 0; in TEST() local
404 …env.vulkan_functions.vkEnumerateDeviceExtensionProperties(phys_dev, nullptr, &ext_count, nullptr)); in TEST()
405 ASSERT_EQ(ext_count, 0U); in TEST()
407 ….vulkan_functions.vkEnumerateDeviceExtensionProperties(phys_dev, nullptr, &ext_count, &ext_props)); in TEST()
408 ASSERT_EQ(ext_count, 0U); in TEST()
/third_party/mesa3d/src/virtio/vulkan/
Dvn_device.c161 uint32_t ext_count, in find_extension_names() argument
164 for (uint32_t i = 0; i < ext_count; i++) { in find_extension_names()
173 uint32_t ext_count, in merge_extension_names() argument
183 vk_alloc(alloc, sizeof(*merged) * (ext_count + extra_count), in merge_extension_names()
189 for (uint32_t i = 0; i < ext_count; i++) { in merge_extension_names()
194 if (!find_extension_names(exts, ext_count, extra_exts[i])) in merge_extension_names()
/third_party/libwebsockets/lib/roles/h2/
Dhpack.c852 h2n->ext_count = 0; in lws_hpack_interpret()
989 (unsigned int)((c & 0x7f) << h2n->ext_count)); in lws_hpack_interpret()
990 h2n->ext_count = (uint8_t)(h2n->ext_count + 7); in lws_hpack_interpret()
1036 h2n->ext_count = 0; in lws_hpack_interpret()
1099 (unsigned int)((c & 0x7f) << h2n->ext_count)); in lws_hpack_interpret()
1100 h2n->ext_count = (uint8_t)(h2n->ext_count + 7); in lws_hpack_interpret()
1258 h2n->ext_count = 0; in lws_hpack_interpret()
Dprivate-lib-roles-h2.h303 uint8_t ext_count; member
/third_party/libwebsockets/lib/roles/ws/
Dclient-ws.c152 int ext_count = 0; in lws_generate_client_ws_handshake() local
201 if (ext_count) in lws_generate_client_ws_handshake()
206 ext_count++; in lws_generate_client_ws_handshake()
210 if (ext_count) in lws_generate_client_ws_handshake()
Dserver-ws.c40 int ext_count = 0; in lws_extension_server_handshake() local
154 ext_count++; in lws_extension_server_handshake()
169 ext_count--; in lws_extension_server_handshake()
175 if (ext_count > 1) in lws_extension_server_handshake()
/third_party/vulkan-loader/tests/framework/
Dtest_environment.cpp87 uint32_t ext_count = 1; in EnumerateDeviceExtensions() local
88 …nst.functions->vkEnumerateDeviceExtensionProperties(physical_device, nullptr, &ext_count, nullptr); in EnumerateDeviceExtensions()
91 extensions.resize(ext_count); in EnumerateDeviceExtensions()
92 …res = inst.functions->vkEnumerateDeviceExtensionProperties(physical_device, nullptr, &ext_count, e… in EnumerateDeviceExtensions()
94 extensions.resize(ext_count); in EnumerateDeviceExtensions()
/third_party/protobuf/php/ext/google/protobuf/
Dphp-upb.c3520 int ext_count; member
4905 f = (upb_fielddef*)&ctx->file->exts[ctx->file->ext_count++]; in create_fielddef()
5125 int ext_count; member
5144 counts->ext_count += n; in count_types_in_msg()
5162 counts->ext_count += n; in count_types_in_file()
5250 file->exts = upb_malloc(alloc, sizeof(*file->exts) * counts.ext_count); in build_filedef()
5254 CHK_OOM(counts.ext_count == 0 || file->exts); in build_filedef()
5259 file->ext_count = 0; in build_filedef()
5351 for (i = 0; i < (size_t)file->ext_count; i++) { in build_filedef()
/third_party/protobuf/ruby/ext/google/protobuf_c/
Dupb.c3075 int ext_count; member
4442 f = (upb_fielddef*)&ctx->file->exts[ctx->file->ext_count++]; in create_fielddef()
4654 int ext_count; member
4673 counts->ext_count += n; in count_types_in_msg()
4691 counts->ext_count += n; in count_types_in_file()
4779 file->exts = upb_malloc(alloc, sizeof(*file->exts) * counts.ext_count); in build_filedef()
4783 CHK_OOM(counts.ext_count == 0 || file->exts); in build_filedef()
4788 file->ext_count = 0; in build_filedef()
4880 for (i = 0; i < file->ext_count; i++) { in build_filedef()