Home
last modified time | relevance | path

Searched refs:hostname_pattern (Results 1 – 7 of 7) sorted by relevance

/external/cronet/net/base/
Dhost_mapping_rules.cc26 std::string hostname_pattern; member
32 std::string hostname_pattern; member
55 if (!base::MatchPattern(host_port->host(), map_rule.hostname_pattern)) { in RewriteHost()
57 if (!base::MatchPattern(host_port_string, map_rule.hostname_pattern)) in RewriteHost()
64 exclusion_rule.hostname_pattern)) in RewriteHost()
116 rule.hostname_pattern = base::ToLowerASCII(parts[1]); in AddRuleFromString()
124 rule.hostname_pattern = base::ToLowerASCII(parts[1]); in AddRuleFromString()
Dscheme_host_port_matcher_rule.cc91 std::string hostname_pattern; in FromUntrimmedRawString() local
93 hostname_pattern = base::StrCat({"*", raw}); in FromUntrimmedRawString()
95 hostname_pattern = std::string(raw); in FromUntrimmedRawString()
99 scheme, hostname_pattern, port); in FromUntrimmedRawString()
109 const std::string& hostname_pattern, in SchemeHostPortMatcherHostnamePatternRule() argument
112 hostname_pattern_(base::ToLowerASCII(hostname_pattern)), in SchemeHostPortMatcherHostnamePatternRule()
115 DCHECK(!url::HostIsIPAddress(hostname_pattern)); in SchemeHostPortMatcherHostnamePatternRule()
Dscheme_host_port_matcher_rule.h58 const std::string& hostname_pattern,
/external/cronet/net/dns/
Dmock_host_resolver.h116 return std::tie(scheme, hostname_pattern, port, query_type, in GetTuple()
132 std::string hostname_pattern = "*"; member
181 void AddRule(base::StringPiece hostname_pattern, RuleResultOrError result);
182 void AddRule(base::StringPiece hostname_pattern,
185 void AddRule(base::StringPiece hostname_pattern, Error error);
190 void AddIPLiteralRule(base::StringPiece hostname_pattern,
193 void AddIPLiteralRuleWithDnsAliases(base::StringPiece hostname_pattern,
196 void AddIPLiteralRuleWithDnsAliases(base::StringPiece hostname_pattern,
199 void AddSimulatedFailure(base::StringPiece hostname_pattern);
200 void AddSimulatedTimeoutFailure(base::StringPiece hostname_pattern);
Dmock_host_resolver.cc548 key.hostname_pattern)) { in Resolve()
581 DCHECK(!ip_address.AssignFromIPLiteral(key.hostname_pattern)); in AddRule()
596 base::StringPiece hostname_pattern, in AddRule() argument
599 key.hostname_pattern = std::string(hostname_pattern); in AddRule()
604 base::StringPiece hostname_pattern, in AddRule() argument
609 AddRule(hostname_pattern, RuleResult(std::move(endpoints))); in AddRule()
613 base::StringPiece hostname_pattern, in AddRule() argument
616 key.hostname_pattern = std::string(hostname_pattern); in AddRule()
622 base::StringPiece hostname_pattern, in AddIPLiteralRule() argument
626 key.hostname_pattern = std::string(hostname_pattern); in AddIPLiteralRule()
[all …]
/external/cronet/net/websockets/
Dwebsocket_end_to_end_test.cc691 resolve_key.hostname_pattern = "a.test"; in TEST_F()
742 resolve_key.hostname_pattern = wss_url.host(); in TEST_F()
/external/cronet/net/url_request/
Durl_request_unittest.cc1383 unencrypted_resolve_key.hostname_pattern = kHost; in TEST_F()
1388 encrypted_resolve_key.hostname_pattern = kHost; in TEST_F()
1439 unencrypted_resolve_key.hostname_pattern = kHost; in TEST_F()
1444 encrypted_resolve_key.hostname_pattern = kHost; in TEST_F()
1498 unencrypted_resolve_key.hostname_pattern = kHost; in TEST_F()
1503 encrypted_resolve_key.hostname_pattern = kHost; in TEST_F()