/external/cronet/net/dns/ |
D | mock_host_resolver.h | 179 void AddRule(RuleKey key, base::StringPiece ip_literal); 183 base::StringPiece ip_literal); 191 base::StringPiece ip_literal, 194 base::StringPiece ip_literal, 197 base::StringPiece ip_literal, 202 base::StringPiece ip_literal, 539 void AddRule(base::StringPiece host_pattern, base::StringPiece ip_literal); 544 base::StringPiece ip_literal); 547 base::StringPiece ip_literal, 559 base::StringPiece ip_literal, [all …]
|
D | mock_host_resolver.cc | 588 base::StringPiece ip_literal) { in AddRule() argument 591 CHECK_EQ(ParseAddressList(ip_literal, &endpoints[0].ip_endpoints), OK); in AddRule() 605 base::StringPiece ip_literal) { in AddRule() argument 608 CHECK_EQ(ParseAddressList(ip_literal, &endpoints[0].ip_endpoints), OK); in AddRule() 623 base::StringPiece ip_literal, in AddIPLiteralRule() argument 634 CHECK_EQ(ParseAddressList(ip_literal, &endpoints[0].ip_endpoints), OK); in AddIPLiteralRule() 640 base::StringPiece ip_literal, in AddIPLiteralRuleWithDnsAliases() argument 644 CHECK_EQ(ParseAddressList(ip_literal, &endpoints[0].ip_endpoints), OK); in AddIPLiteralRuleWithDnsAliases() 653 base::StringPiece ip_literal, in AddIPLiteralRuleWithDnsAliases() argument 658 AddIPLiteralRuleWithDnsAliases(hostname_pattern, ip_literal, in AddIPLiteralRuleWithDnsAliases() [all …]
|
D | host_resolver_manager_unittest.cc | 690 IPEndPoint CreateExpected(const std::string& ip_literal, uint16_t port) { in CreateExpected() argument 692 bool result = ip.AssignFromIPLiteral(ip_literal); in CreateExpected()
|
/external/cronet/net/base/ |
D | ip_address.cc | 122 bool ParseIPLiteralToBytes(base::StringPiece ip_literal, in ParseIPLiteralToBytes() argument 126 if (ip_literal.find(':') != base::StringPiece::npos) { in ParseIPLiteralToBytes() 128 std::string host_brackets = base::StrCat({"[", ip_literal, "]"}); in ParseIPLiteralToBytes() 139 url::Component host_comp(0, ip_literal.size()); in ParseIPLiteralToBytes() 142 ip_literal.data(), host_comp, bytes->data(), &num_components); in ParseIPLiteralToBytes() 193 base::StringPiece ip_literal) { in FromIPLiteral() argument 195 if (!address.AssignFromIPLiteral(ip_literal)) { in FromIPLiteral() 321 bool IPAddress::AssignFromIPLiteral(base::StringPiece ip_literal) { in AssignFromIPLiteral() argument 322 bool success = ParseIPLiteralToBytes(ip_literal, &ip_address_); in AssignFromIPLiteral() 503 auto ip_literal = in ParseURLHostnameToAddress() local [all …]
|
D | ip_address.h | 112 static absl::optional<IPAddress> FromIPLiteral(base::StringPiece ip_literal); 200 [[nodiscard]] bool AssignFromIPLiteral(base::StringPiece ip_literal);
|
D | ip_address_unittest.cc | 507 const char* const ip_literal; in TEST() member 529 base::StringPrintf("%s, %s", test.cidr_literal, test.ip_literal)); in TEST() 532 EXPECT_TRUE(ip_address.AssignFromIPLiteral(test.ip_literal)); in TEST()
|
/external/cronet/net/third_party/quiche/src/quiche/quic/core/ |
D | quic_socket_address_coder_test.cc | 105 const char* ip_literal; in TEST_F() member 118 ASSERT_TRUE(ip.FromString(test_case[i].ip_literal)); in TEST_F()
|
/external/cronet/net/quic/ |
D | quic_stream_factory_test.cc | 14218 void AddSvcbHostResolverRule(base::StringPiece ip_literal, in AddSvcbHostResolverRule() argument 14222 *IPAddress::FromIPLiteral(ip_literal), scheme_host_port_.port())); in AddSvcbHostResolverRule() 14230 void AddDefaultHostResolverRule(base::StringPiece ip_literal) { in AddDefaultHostResolverRule() argument 14232 AddSvcbHostResolverRule(ip_literal, quic::AlpnForVersion(version_)); in AddDefaultHostResolverRule() 14234 host_resolver_->rules()->AddRule(scheme_host_port_.host(), ip_literal); in AddDefaultHostResolverRule()
|