Home
last modified time | relevance | path

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

/third_party/grpc/src/core/lib/compression/
Dcompression_internal.cc209 const size_t num_supported = in grpc_message_compression_algorithm_for_level() local
211 if (level == GRPC_COMPRESS_LEVEL_NONE || num_supported == 0) { in grpc_message_compression_algorithm_for_level()
230 for (size_t j = 0; j < num_supported; j++) { in grpc_message_compression_algorithm_for_level()
237 if (algos_supported_idx == num_supported) break; in grpc_message_compression_algorithm_for_level()
246 return sorted_supported_algos[num_supported / 2]; in grpc_message_compression_algorithm_for_level()
248 return sorted_supported_algos[num_supported - 1]; in grpc_message_compression_algorithm_for_level()
/third_party/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_resource.c52 const int num_supported = num_uc + 1; /* LINEAR is always supported */ in nvc0_query_dmabuf_modifiers() local
56 if (max > num_supported) in nvc0_query_dmabuf_modifiers()
57 max = num_supported; in nvc0_query_dmabuf_modifiers()
60 max = num_supported; in nvc0_query_dmabuf_modifiers()
/third_party/mesa3d/src/mesa/state_tracker/
Dst_extensions.c692 int num_supported = 0; in init_format_extensions() local
698 num_supported++; in init_format_extensions()
702 if (!num_supported || in init_format_extensions()
703 (!mapping[i].need_at_least_one && num_supported != j)) { in init_format_extensions()