Home
last modified time | relevance | path

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

/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/libcups/cups/
Dtls-darwin.c1251 size_t num_supported; /* Number of supported cipher suites */ in _httpTLSStart() local
1255 num_supported = sizeof(supported) / sizeof(supported[0]); in _httpTLSStart()
1256 error = SSLGetSupportedCiphers(http->tls, supported, &num_supported); in _httpTLSStart()
1260 DEBUG_printf(("4_httpTLSStart: %d cipher suites supported.", (int)num_supported)); in _httpTLSStart()
1262 …for (i = 0, num_enabled = 0; i < (int)num_supported && num_enabled < (sizeof(enabled) / sizeof(ena… in _httpTLSStart()
/external/libtextclassifier/annotator/
Dfeature-processor.cc601 int num_supported = 0; in SupportedCodepointsRatio() local
608 ++num_supported; in SupportedCodepointsRatio()
613 return static_cast<float>(num_supported) / static_cast<float>(num_total); in SupportedCodepointsRatio()
/external/mesa3d/src/mesa/state_tracker/
Dst_extensions.c560 int num_supported = 0; in init_format_extensions() local
566 num_supported++; in init_format_extensions()
570 if (!num_supported || in init_format_extensions()
571 (!mapping[i].need_at_least_one && num_supported != j)) { in init_format_extensions()