Home
last modified time | relevance | path

Searched refs:kTypeA (Results 1 – 20 of 20) sorted by relevance

/external/cronet/net/dns/
Ddns_response_unittest.cc340 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 …]
Ddns_query_unittest.cc71 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()
Ddns_test_util.h42 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;
Dcontext_host_resolver_unittest.cc115 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 …]
Ddns_transaction_unittest.cc1365 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 …]
Dmdns_client_unittest.cc846 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()
Ddns_response_result_extractor_unittest.cc108 "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 …]
Dhost_resolver_manager_unittest.cc4555 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 …]
Ddns_test_util.cc130 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()
Ddns_util.cc128 return dns_protocol::kTypeA; in DnsQueryTypeToQtype()
Dmdns_cache_unittest.cc341 EXPECT_EQ(dns_protocol::kTypeA, in TEST_F()
421 cache_.FindDnsRecords(dns_protocol::kTypeA, "ghs.l.google.com", &results, in TEST_F()
Drecord_rdata.h83 static const uint16_t kType = dns_protocol::kTypeA;
Ddns_response_result_extractor.cc288 DCHECK(address_qtype == dns_protocol::kTypeA || in ExtractAddressResults()
317 if (address_qtype == dns_protocol::kTypeA) { in ExtractAddressResults()
Drecord_rdata.cc31 case dns_protocol::kTypeA: in HasValidSize()
Ddns_transaction.cc1052 dns_protocol::kTypeA, /*opt_rdata=*/nullptr, in DnsHTTPAttempt()
/external/cronet/net/dns/public/
Ddns_protocol.h161 static const uint16_t kTypeA = 1; variable
/external/openthread/src/core/net/
Ddns_types.hpp1217 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()
Ddns_client.cpp501 const uint16_t Client::kIp4AddressQueryRecordTypes[] = {ResourceRecord::kTypeA};
Ddnssd_server.cpp1094 case ResourceRecord::kTypeA: in GetQueryTypeAndName()
/external/cronet/components/cronet/
Dstale_host_resolver_unittest.cc101 kHostname, net::dns_protocol::kTypeA, false /* secure */, in CreateHangingMockDnsClient()