Searched refs:num_alpn_protocols (Results 1 – 4 of 4) sorted by relevance
/external/grpc-grpc/src/core/tsi/ |
D | ssl_transport_security.h | 111 const char** alpn_protocols, uint16_t num_alpn_protocols, 140 size_t num_alpn_protocols; member 207 const char** alpn_protocols, uint16_t num_alpn_protocols, 222 uint16_t num_alpn_protocols, tsi_ssl_server_handshaker_factory** factory); 252 uint16_t num_alpn_protocols; member
|
D | ssl_transport_security.cc | 719 const char** alpn_protocols, uint16_t num_alpn_protocols, in build_alpn_protocol_name_list() argument 725 if (num_alpn_protocols == 0) return TSI_INVALID_ARGUMENT; in build_alpn_protocol_name_list() 726 for (i = 0; i < num_alpn_protocols; i++) { in build_alpn_protocol_name_list() 740 for (i = 0; i < num_alpn_protocols; i++) { in build_alpn_protocol_name_list() 1624 const char** alpn_protocols, uint16_t num_alpn_protocols, in tsi_create_ssl_client_handshaker_factory() argument 1632 options.num_alpn_protocols = num_alpn_protocols; in tsi_create_ssl_client_handshaker_factory() 1696 if (options->num_alpn_protocols != 0) { in tsi_create_ssl_client_handshaker_factory_with_options() 1698 options->alpn_protocols, options->num_alpn_protocols, in tsi_create_ssl_client_handshaker_factory_with_options() 1737 const char** alpn_protocols, uint16_t num_alpn_protocols, in tsi_create_ssl_server_handshaker_factory() argument 1743 cipher_suites, alpn_protocols, num_alpn_protocols, factory); in tsi_create_ssl_server_handshaker_factory() [all …]
|
/external/grpc-grpc/src/core/lib/security/security_connector/ |
D | security_connector.cc | 692 static const char** fill_alpn_protocol_strings(size_t* num_alpn_protocols) { argument 693 GPR_ASSERT(num_alpn_protocols != nullptr); 694 *num_alpn_protocols = grpc_chttp2_num_alpn_versions(); 696 gpr_malloc(sizeof(const char*) * (*num_alpn_protocols))); 697 for (size_t i = 0; i < *num_alpn_protocols; i++) { 718 size_t num_alpn_protocols = 0; local 720 fill_alpn_protocol_strings(&num_alpn_protocols); 731 static_cast<uint16_t>(num_alpn_protocols), &new_handshaker_factory); 1051 fill_alpn_protocol_strings(&options.num_alpn_protocols); 1146 size_t num_alpn_protocols = 0; local [all …]
|
/external/grpc-grpc/test/core/tsi/ |
D | ssl_transport_security_test.cc | 122 client_options.num_alpn_protocols = alpn_lib->num_client_alpn_protocols; in ssl_test_setup_handshakers() 139 server_options.num_alpn_protocols = alpn_lib->num_server_alpn_protocols; in ssl_test_setup_handshakers() 141 server_options.num_alpn_protocols--; in ssl_test_setup_handshakers()
|