Home
last modified time | relevance | path

Searched refs:allocated_name (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/grpcio-sys/grpc/src/core/lib/security/security_connector/
Dssl_utils.cc216 absl::string_view allocated_name; in grpc_ssl_host_matches_name() local
218 grpc_core::SplitHostPort(peer_name, &allocated_name, &ignored_port); in grpc_ssl_host_matches_name()
219 if (allocated_name.empty()) return 0; in grpc_ssl_host_matches_name()
222 const size_t zone_id = allocated_name.find('%'); in grpc_ssl_host_matches_name()
224 allocated_name.remove_suffix(allocated_name.size() - zone_id); in grpc_ssl_host_matches_name()
226 return tsi_ssl_peer_matches_name(peer, allocated_name); in grpc_ssl_host_matches_name()
/external/grpc-grpc/src/core/lib/security/security_connector/
Dsecurity_connector.cc801 char* allocated_name = nullptr; local
805 gpr_split_host_port(peer_name, &allocated_name, &ignored_port);
807 peer_name = allocated_name;
811 char* const zone_id = strchr(allocated_name, '%');
815 gpr_free(allocated_name);