Home
last modified time | relevance | path

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

/external/rust/crates/grpcio-sys/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()
/external/grpc-grpc/src/core/lib/compression/
Dcompression_internal.cc200 const size_t num_supported = in grpc_message_compression_algorithm_for_level() local
202 if (level == GRPC_COMPRESS_LEVEL_NONE || num_supported == 0) { in grpc_message_compression_algorithm_for_level()
221 for (size_t j = 0; j < num_supported; j++) { in grpc_message_compression_algorithm_for_level()
228 if (algos_supported_idx == num_supported) break; in grpc_message_compression_algorithm_for_level()
237 return sorted_supported_algos[num_supported / 2]; in grpc_message_compression_algorithm_for_level()
239 return sorted_supported_algos[num_supported - 1]; in grpc_message_compression_algorithm_for_level()
/external/OpenCL-CTS/test_conformance/computeinfo/
Dmain.cpp316 cl_uint i, num_supported; in getImageInfo() local
347 &num_supported); in getImageInfo()
356 num_supported); in getImageInfo()
358 if (num_supported == 0 || dump_supported_formats == 0) continue; in getImageInfo()
360 formats = (cl_image_format*)malloc(num_supported in getImageInfo()
370 image_types[ii].val, num_supported, in getImageInfo()
380 for (i = 0; i < num_supported; ++i) in getImageInfo()
/external/libcups/cups/
Dtls-darwin.c1309 size_t num_supported; /* Number of supported cipher suites */ in _httpTLSStart() local
1313 num_supported = sizeof(supported) / sizeof(supported[0]); in _httpTLSStart()
1314 error = SSLGetSupportedCiphers(http->tls, supported, &num_supported); in _httpTLSStart()
1318 DEBUG_printf(("4_httpTLSStart: %d cipher suites supported.", (int)num_supported)); in _httpTLSStart()
1320 …for (i = 0, num_enabled = 0; i < (int)num_supported && num_enabled < (sizeof(enabled) / sizeof(ena… in _httpTLSStart()
/external/libtextclassifier/native/annotator/
Dfeature-processor.cc622 int num_supported = 0; in SupportedCodepointsRatio() local
629 ++num_supported; in SupportedCodepointsRatio()
638 return static_cast<float>(num_supported) / static_cast<float>(num_total); in SupportedCodepointsRatio()
/external/mesa3d/src/mesa/state_tracker/
Dst_extensions.c641 int num_supported = 0; in init_format_extensions() local
647 num_supported++; in init_format_extensions()
651 if (!num_supported || in init_format_extensions()
652 (!mapping[i].need_at_least_one && num_supported != j)) { in init_format_extensions()