Searched refs:domain_pattern (Results 1 – 2 of 2) sorted by relevance
/third_party/grpc/src/core/ext/xds/ |
D | xds_api.cc | 216 std::string domain_pattern = domain_pattern_in; in DomainMatch() local 218 std::transform(domain_pattern.begin(), domain_pattern.end(), in DomainMatch() 219 domain_pattern.begin(), in DomainMatch() 225 return domain_pattern == expected_host_name; in DomainMatch() 228 if (expected_host_name.size() < domain_pattern.size()) return false; in DomainMatch() 229 absl::string_view pattern_suffix(domain_pattern.c_str() + 1); in DomainMatch() 236 if (expected_host_name.size() < domain_pattern.size()) return false; in DomainMatch() 237 absl::string_view pattern_prefix(domain_pattern.c_str(), in DomainMatch() 238 domain_pattern.size() - 1); in DomainMatch() 247 MatchType DomainPatternMatchType(const std::string& domain_pattern) { in DomainPatternMatchType() argument [all …]
|
/third_party/grpc/src/core/ext/filters/client_channel/xds/ |
D | xds_api.cc | 955 bool DomainMatch(MatchType match_type, std::string domain_pattern, in DomainMatch() argument 958 std::transform(domain_pattern.begin(), domain_pattern.end(), in DomainMatch() 959 domain_pattern.begin(), in DomainMatch() 965 return domain_pattern == expected_host_name; in DomainMatch() 968 if (expected_host_name.size() < domain_pattern.size()) return false; in DomainMatch() 969 absl::string_view pattern_suffix(domain_pattern.c_str() + 1); in DomainMatch() 976 if (expected_host_name.size() < domain_pattern.size()) return false; in DomainMatch() 977 absl::string_view pattern_prefix(domain_pattern.c_str(), in DomainMatch() 978 domain_pattern.size() - 1); in DomainMatch() 987 MatchType DomainPatternMatchType(const std::string& domain_pattern) { in DomainPatternMatchType() argument [all …]
|