Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/ext/transport/chttp2/alpn/
Dalpn.cc27 static const char* const supported_versions[] = {"grpc-exp", "h2"}; variable
31 for (i = 0; i < GPR_ARRAY_SIZE(supported_versions); i++) { in grpc_chttp2_is_alpn_version_supported()
32 if (!strncmp(version, supported_versions[i], size)) return 1; in grpc_chttp2_is_alpn_version_supported()
38 return GPR_ARRAY_SIZE(supported_versions); in grpc_chttp2_num_alpn_versions()
42 GPR_ASSERT(i < GPR_ARRAY_SIZE(supported_versions)); in grpc_chttp2_get_alpn_version_index()
43 return supported_versions[i]; in grpc_chttp2_get_alpn_version_index()
/external/mesa3d/src/compiler/glsl/
Dglsl_parser_extras.cpp212 ARRAY_SIZE(this->supported_versions)); in _mesa_glsl_parse_state()
224 this->supported_versions[this->num_supported_versions].ver in _mesa_glsl_parse_state()
226 this->supported_versions[this->num_supported_versions].gl_ver in _mesa_glsl_parse_state()
228 this->supported_versions[this->num_supported_versions].es = false; in _mesa_glsl_parse_state()
234 this->supported_versions[this->num_supported_versions].ver = 100; in _mesa_glsl_parse_state()
235 this->supported_versions[this->num_supported_versions].gl_ver = 20; in _mesa_glsl_parse_state()
236 this->supported_versions[this->num_supported_versions].es = true; in _mesa_glsl_parse_state()
240 this->supported_versions[this->num_supported_versions].ver = 300; in _mesa_glsl_parse_state()
241 this->supported_versions[this->num_supported_versions].gl_ver = 30; in _mesa_glsl_parse_state()
242 this->supported_versions[this->num_supported_versions].es = true; in _mesa_glsl_parse_state()
[all …]
Dglsl_parser_extras.h357 } supported_versions[17]; member
/external/boringssl/src/ssl/
Dtls13_client.cc117 CBS cookie, key_share, supported_versions; in do_read_hello_retry_request() local
122 &supported_versions}, in do_read_hello_retry_request()
281 CBS key_share, pre_shared_key, supported_versions; in do_read_server_hello() local
286 &supported_versions}, in do_read_server_hello()
300 !CBS_get_u16(&supported_versions, &version) || in do_read_server_hello()
Dhandshake_server.cc199 CBS supported_versions, versions; in negotiate_version() local
200 if (ssl_client_hello_get_extension(client_hello, &supported_versions, in negotiate_version()
202 if (!CBS_get_u8_length_prefixed(&supported_versions, &versions) || in negotiate_version()
203 CBS_len(&supported_versions) != 0 || in negotiate_version()
Dhandshake_client.cc354 CBS supported_versions; in parse_supported_versions() local
357 &supported_versions}, in parse_supported_versions()
370 (!CBS_get_u16(&supported_versions, version) || in parse_supported_versions()
371 CBS_len(&supported_versions) != 0)) { in parse_supported_versions()