/external/cronet/tot/net/device_bound_sessions/ |
D | session_inclusion_rules.cc | 136 const std::string& host_pattern, in AddUrlRuleIfValid() argument 141 if (host_pattern.empty()) { in AddUrlRuleIfValid() 146 bool host_pattern_is_host = host_pattern == origin_.host(); in AddUrlRuleIfValid() 152 size_t star_pos = host_pattern.rfind('*'); in AddUrlRuleIfValid() 157 bool has_initial_wildcard_label = host_pattern.starts_with("*."); in AddUrlRuleIfValid() 162 std::string_view hostlike_part{host_pattern}; in AddUrlRuleIfValid() 167 bool presumed_ipv6 = host_pattern.front() == '['; in AddUrlRuleIfValid() 168 if (presumed_ipv6 && host_pattern.back() != ']') { in AddUrlRuleIfValid() 175 std::string_view ipv6_address{host_pattern.begin() + 1, in AddUrlRuleIfValid() 176 host_pattern.end() - 1}; in AddUrlRuleIfValid() [all …]
|
D | session_inclusion_rules.h | 90 const std::string& host_pattern,
|
D | session_inclusion_rules_unittest.cc | 51 const char* host_pattern; member 61 {test_case.host_pattern, test_case.path_prefix}, ", ")); in CheckAddUrlRuleTestCases() 63 test_case.rule_type, test_case.host_pattern, test_case.path_prefix); in CheckAddUrlRuleTestCases()
|
/external/cronet/stable/net/device_bound_sessions/ |
D | session_inclusion_rules.cc | 136 const std::string& host_pattern, in AddUrlRuleIfValid() argument 141 if (host_pattern.empty()) { in AddUrlRuleIfValid() 146 bool host_pattern_is_host = host_pattern == origin_.host(); in AddUrlRuleIfValid() 152 size_t star_pos = host_pattern.rfind('*'); in AddUrlRuleIfValid() 157 bool has_initial_wildcard_label = host_pattern.starts_with("*."); in AddUrlRuleIfValid() 162 std::string_view hostlike_part{host_pattern}; in AddUrlRuleIfValid() 167 bool presumed_ipv6 = host_pattern.front() == '['; in AddUrlRuleIfValid() 168 if (presumed_ipv6 && host_pattern.back() != ']') { in AddUrlRuleIfValid() 175 std::string_view ipv6_address{host_pattern.begin() + 1, in AddUrlRuleIfValid() 176 host_pattern.end() - 1}; in AddUrlRuleIfValid() [all …]
|
D | session_inclusion_rules.h | 90 const std::string& host_pattern,
|
D | session_inclusion_rules_unittest.cc | 51 const char* host_pattern; member 61 {test_case.host_pattern, test_case.path_prefix}, ", ")); in CheckAddUrlRuleTestCases() 63 test_case.rule_type, test_case.host_pattern, test_case.path_prefix); in CheckAddUrlRuleTestCases()
|
/external/cronet/stable/net/dns/ |
D | mock_host_resolver.cc | 799 std::string_view host_pattern, in AddRuleWithFlags() argument 806 AddRule(host_pattern, RuleResult(std::move(endpoints), in AddRuleWithFlags() 1282 std::string_view host_pattern, in Rule() argument 1289 host_pattern(host_pattern), in Rule() 1307 void RuleBasedHostResolverProc::AddRule(std::string_view host_pattern, in AddRule() argument 1309 AddRuleForAddressFamily(host_pattern, ADDRESS_FAMILY_UNSPECIFIED, in AddRule() 1314 std::string_view host_pattern, in AddRuleForAddressFamily() argument 1319 Rule rule(Rule::kResolverTypeSystem, host_pattern, address_family, flags, in AddRuleForAddressFamily() 1325 std::string_view host_pattern, in AddRuleWithFlags() argument 1330 Rule rule(Rule::kResolverTypeSystem, host_pattern, ADDRESS_FAMILY_UNSPECIFIED, in AddRuleWithFlags() [all …]
|
D | mock_host_resolver.h | 200 void AddRuleWithFlags(std::string_view host_pattern, 544 void AddRule(std::string_view host_pattern, std::string_view ip_literal); 547 void AddRuleForAddressFamily(std::string_view host_pattern, 551 void AddRuleWithFlags(std::string_view host_pattern, 563 void AddIPLiteralRule(std::string_view host_pattern, 574 void AddIPLiteralRuleWithDnsAliases(std::string_view host_pattern, 578 void AddRuleWithLatency(std::string_view host_pattern, 623 std::string_view host_pattern, 633 std::string host_pattern; member 647 size_t NumResolvesForHostPattern(std::string_view host_pattern);
|
/external/cronet/tot/net/dns/ |
D | mock_host_resolver.cc | 799 std::string_view host_pattern, in AddRuleWithFlags() argument 806 AddRule(host_pattern, RuleResult(std::move(endpoints), in AddRuleWithFlags() 1282 std::string_view host_pattern, in Rule() argument 1289 host_pattern(host_pattern), in Rule() 1307 void RuleBasedHostResolverProc::AddRule(std::string_view host_pattern, in AddRule() argument 1309 AddRuleForAddressFamily(host_pattern, ADDRESS_FAMILY_UNSPECIFIED, in AddRule() 1314 std::string_view host_pattern, in AddRuleForAddressFamily() argument 1319 Rule rule(Rule::kResolverTypeSystem, host_pattern, address_family, flags, in AddRuleForAddressFamily() 1325 std::string_view host_pattern, in AddRuleWithFlags() argument 1330 Rule rule(Rule::kResolverTypeSystem, host_pattern, ADDRESS_FAMILY_UNSPECIFIED, in AddRuleWithFlags() [all …]
|
D | mock_host_resolver.h | 200 void AddRuleWithFlags(std::string_view host_pattern, 544 void AddRule(std::string_view host_pattern, std::string_view ip_literal); 547 void AddRuleForAddressFamily(std::string_view host_pattern, 551 void AddRuleWithFlags(std::string_view host_pattern, 563 void AddIPLiteralRule(std::string_view host_pattern, 574 void AddIPLiteralRuleWithDnsAliases(std::string_view host_pattern, 578 void AddRuleWithLatency(std::string_view host_pattern, 623 std::string_view host_pattern, 633 std::string host_pattern; member 647 size_t NumResolvesForHostPattern(std::string_view host_pattern);
|
/external/cronet/tot/net/cert/ |
D | mock_cert_verifier.cc | 168 const std::string& host_pattern, in AddResultForCertAndHost() argument 171 rules_.push_back(Rule(std::move(cert), host_pattern, verify_result, rv)); in AddResultForCertAndHost()
|
D | mock_cert_verifier.h | 62 const std::string& host_pattern,
|
/external/cronet/stable/net/cert/ |
D | mock_cert_verifier.cc | 168 const std::string& host_pattern, in AddResultForCertAndHost() argument 171 rules_.push_back(Rule(std::move(cert), host_pattern, verify_result, rv)); in AddResultForCertAndHost()
|
D | mock_cert_verifier.h | 62 const std::string& host_pattern,
|
/external/grpc-grpc-java/rls/src/main/proto/grpc/lookup/v1/ |
D | rls_config.proto | 93 // host_pattern: 'example.com' path_pattern: '/{id}/{object}/**' 94 // host_pattern: '{id}.example.com' path_pattern: '/{object}/**' 100 // host_pattern is an ordered list of host template patterns for the desired 101 // value. If any host_pattern values are specified, then at least one must
|
/external/grpc-grpc/src/proto/grpc/lookup/v1/ |
D | rls_config.proto | 93 // host_pattern: 'example.com' path_pattern: '/{id}/{object}/**' 94 // host_pattern: '{id}.example.com' path_pattern: '/{object}/**' 100 // host_pattern is an ordered list of host template patterns for the desired 101 // value. If any host_pattern values are specified, then at least one must
|
/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/proto/grpc/lookup/v1/ |
D | rls_config.proto | 93 // host_pattern: 'example.com' path_pattern: '/{id}/{object}/**' 94 // host_pattern: '{id}.example.com' path_pattern: '/{object}/**' 100 // host_pattern is an ordered list of host template patterns for the desired 101 // value. If any host_pattern values are specified, then at least one must
|