/external/cronet/net/dns/ |
D | dns_response_unittest.cc | 340 EXPECT_EQ(dns_protocol::kTypeA, record.type); in TEST() 503 0xcafe, base::as_bytes(base::make_span(qname)), dns_protocol::kTypeA); in TEST() 616 0xcafe, base::as_bytes(base::make_span(qname)), dns_protocol::kTypeA); in TEST() 677 dns_protocol::kTypeA); in TEST() 705 dns_protocol::kTypeA); in TEST() 780 EXPECT_EQ(dns_protocol::kTypeA, record.type); in TEST() 915 testing::ElementsAre(dns_protocol::kTypeA, dns_protocol::kTypeA)); in TEST() 924 EXPECT_EQ(dns_protocol::kTypeA, record.type); in TEST() 970 DnsQuery query(581, dns_name, dns_protocol::kTypeA); in TEST() 1013 dns_protocol::kTypeA); in TEST() [all …]
|
D | dns_query_unittest.cc | 71 DnsQuery q1(0xbeef, kQName, dns_protocol::kTypeA); in TEST() 72 EXPECT_EQ(dns_protocol::kTypeA, q1.qtype()); in TEST() 93 DnsQuery q1(0, kQName, dns_protocol::kTypeA); in TEST() 130 DnsQuery q1(0xbeef, kQName, dns_protocol::kTypeA, &opt_rdata); in TEST() 131 EXPECT_EQ(dns_protocol::kTypeA, q1.qtype()); in TEST() 196 EXPECT_EQ(query->qtype(), dns_protocol::kTypeA); in TEST() 510 EXPECT_EQ(query.qtype(), dns_protocol::kTypeA); in TEST()
|
D | dns_test_util.h | 42 static const uint16_t kT0Qtype = dns_protocol::kTypeA; 76 static const uint16_t kT1Qtype = dns_protocol::kTypeA; 106 static const uint16_t kT2Qtype = dns_protocol::kTypeA; 135 static const uint16_t kT3Qtype = dns_protocol::kTypeA; 177 static const uint16_t kT4Qtype = dns_protocol::kTypeA;
|
D | context_host_resolver_unittest.cc | 115 rules.emplace_back("example.com", dns_protocol::kTypeA, false /* secure */, in TEST_F() 146 rules.emplace_back("example.com", dns_protocol::kTypeA, false /* secure */, in TEST_F() 200 rules.emplace_back("example.com", dns_protocol::kTypeA, false /* secure */, in TEST_F() 295 rules.emplace_back("example.com", dns_protocol::kTypeA, false /* secure */, in TEST_F() 303 rules.emplace_back("google.com", dns_protocol::kTypeA, false /* secure */, in TEST_F() 353 rules.emplace_back("example.com", dns_protocol::kTypeA, false /* secure */, in TEST_F() 388 rules.emplace_back("example.com", dns_protocol::kTypeA, false /* secure */, in TEST_F() 440 rules.emplace_back("example.com", dns_protocol::kTypeA, false /* secure */, in TEST_F() 475 rules.emplace_back("example.com", dns_protocol::kTypeA, false /* secure */, in TEST_F() 562 rules.emplace_back("example.com", dns_protocol::kTypeA, false /* secure */, in TEST_F() [all …]
|
D | dns_transaction_unittest.cc | 1365 AddAsyncQueryAndRcode("x.y.z", dns_protocol::kTypeA, in TEST_F() 1367 AddAsyncQueryAndRcode("x.y.z.a", dns_protocol::kTypeA, in TEST_F() 1369 AddAsyncQueryAndRcode("x.y.z.b", dns_protocol::kTypeA, in TEST_F() 1371 AddAsyncQueryAndRcode("x.y.z.c", dns_protocol::kTypeA, in TEST_F() 1377 dns_protocol::kTypeA, false /* secure */, in TEST_F() 1394 AddAsyncQueryAndRcode("x.y.a", dns_protocol::kTypeA, in TEST_F() 1396 AddAsyncQueryAndRcode("x.y.b", dns_protocol::kTypeA, in TEST_F() 1398 AddAsyncQueryAndRcode("x.y.c", dns_protocol::kTypeA, in TEST_F() 1400 AddAsyncQueryAndRcode("x.y", dns_protocol::kTypeA, in TEST_F() 1403 AddAsyncQueryAndRcode("x.a", dns_protocol::kTypeA, in TEST_F() [all …]
|
D | mdns_client_unittest.cc | 846 test_client_->CreateListener(dns_protocol::kTypeA, in TEST_F() 983 test_client_->CreateListener(dns_protocol::kTypeA, in TEST_F() 1109 dns_protocol::kTypeA, "privet.local", &delegate_privet); in TEST_F() 1126 dns_protocol::kTypeA, "_privet._tcp.local", &delegate_privet); in TEST_F() 1137 OnNsecRecord("_privet._tcp.local", dns_protocol::kTypeA)); in TEST_F() 1146 dns_protocol::kTypeA, "_privet._tcp.local", in TEST_F() 1179 dns_protocol::kTypeA, "_privet._tcp.local", in TEST_F() 1206 dns_protocol::kTypeA, "_privet._tcp.local", &delegate_privet); in TEST_F() 1223 OnNsecRecord("_privet._tcp.local", dns_protocol::kTypeA)); in TEST_F() 1235 dns_protocol::kTypeA, "_privet._tcp.local", &delegate_privet); in TEST_F()
|
D | dns_response_result_extractor_unittest.cc | 108 "addresses.test", dns_protocol::kTypeA, in TEST() 144 kName, dns_protocol::kTypeA, /*answers=*/{}, in TEST() 169 kName, dns_protocol::kTypeA, /*answers=*/{}, in TEST() 192 kName, dns_protocol::kTypeA, in TEST() 193 {BuildTestDnsRecord(kName, dns_protocol::kTypeA, in TEST() 228 kName, dns_protocol::kTypeA, in TEST() 251 kName, dns_protocol::kTypeA, in TEST() 278 kName, dns_protocol::kTypeA, in TEST() 1513 BuildTestDnsResponse(kName, dns_protocol::kTypeA, in TEST() 1565 BuildTestDnsResponse(kName, dns_protocol::kTypeA, in TEST() [all …]
|
D | host_resolver_manager_unittest.cc | 4555 AddDnsRule(&rules, "nodomain", dns_protocol::kTypeA, in CreateDefaultDnsRules() 4559 AddDnsRule(&rules, "nx", dns_protocol::kTypeA, in CreateDefaultDnsRules() 4563 AddDnsRule(&rules, "ok", dns_protocol::kTypeA, in CreateDefaultDnsRules() 4567 AddDnsRule(&rules, "4ok", dns_protocol::kTypeA, in CreateDefaultDnsRules() 4571 AddDnsRule(&rules, "6ok", dns_protocol::kTypeA, in CreateDefaultDnsRules() 4575 AddDnsRule(&rules, "4nx", dns_protocol::kTypeA, in CreateDefaultDnsRules() 4579 AddDnsRule(&rules, "empty", dns_protocol::kTypeA, in CreateDefaultDnsRules() 4584 AddDnsRule(&rules, "slow_nx", dns_protocol::kTypeA, in CreateDefaultDnsRules() 4589 AddDnsRule(&rules, "4slow_ok", dns_protocol::kTypeA, in CreateDefaultDnsRules() 4593 AddDnsRule(&rules, "6slow_ok", dns_protocol::kTypeA, in CreateDefaultDnsRules() [all …]
|
D | dns_test_util.cc | 130 ip.IsIPv4() ? dns_protocol::kTypeA : dns_protocol::kTypeAAAA, in BuildTestAddressRecord() 291 ip.IsIPv4() ? dns_protocol::kTypeA : dns_protocol::kTypeAAAA, answers); in BuildTestDnsAddressResponse() 317 ip.IsIPv4() ? dns_protocol::kTypeA : dns_protocol::kTypeAAAA, answers); in BuildTestDnsAddressResponseWithCname() 552 DCHECK(qtype_ == dns_protocol::kTypeA || in SetResponse() 555 hostname_, qtype_ == dns_protocol::kTypeA in SetResponse()
|
D | dns_util.cc | 128 return dns_protocol::kTypeA; in DnsQueryTypeToQtype()
|
D | mdns_cache_unittest.cc | 341 EXPECT_EQ(dns_protocol::kTypeA, in TEST_F() 421 cache_.FindDnsRecords(dns_protocol::kTypeA, "ghs.l.google.com", &results, in TEST_F()
|
D | record_rdata.h | 83 static const uint16_t kType = dns_protocol::kTypeA;
|
D | dns_response_result_extractor.cc | 288 DCHECK(address_qtype == dns_protocol::kTypeA || in ExtractAddressResults() 317 if (address_qtype == dns_protocol::kTypeA) { in ExtractAddressResults()
|
D | record_rdata.cc | 31 case dns_protocol::kTypeA: in HasValidSize()
|
D | dns_transaction.cc | 1052 dns_protocol::kTypeA, /*opt_rdata=*/nullptr, in DnsHTTPAttempt()
|
/external/cronet/net/dns/public/ |
D | dns_protocol.h | 161 static const uint16_t kTypeA = 1; variable
|
/external/openthread/src/core/net/ |
D | dns_types.hpp | 1217 static constexpr uint16_t kTypeA = 1; ///< Address record (IPv4). member in ot::Dns::ResourceRecord 1502 static constexpr uint16_t kType = kTypeA; ///< The A record type. 1512 ResourceRecord::Init(kTypeA); in Init()
|
D | dns_client.cpp | 501 const uint16_t Client::kIp4AddressQueryRecordTypes[] = {ResourceRecord::kTypeA};
|
D | dnssd_server.cpp | 1094 case ResourceRecord::kTypeA: in GetQueryTypeAndName()
|
/external/cronet/components/cronet/ |
D | stale_host_resolver_unittest.cc | 101 kHostname, net::dns_protocol::kTypeA, false /* secure */, in CreateHangingMockDnsClient()
|