Home
last modified time | relevance | path

Searched refs:ptr_domain (Results 1 – 13 of 13) sorted by relevance

/external/openscreen/discovery/dnssd/impl/
Dconversion_layer_unittest.cc123 EXPECT_EQ(rdata.ptr_domain().labels().size(), size_t{4}); in TEST()
124 EXPECT_EQ(rdata.ptr_domain().labels()[0], in TEST()
126 EXPECT_EQ(rdata.ptr_domain().labels()[1], in TEST()
128 EXPECT_EQ(rdata.ptr_domain().labels()[2], in TEST()
130 EXPECT_EQ(rdata.ptr_domain().labels()[3], FakeDnsRecordFactory::kDomainName); in TEST()
Dquerier_impl_unittest.cc139 ptr_domain(DomainName{"_service", "_udp", domain}), in DnsSdQuerierImplTest()
217 DomainName ptr_domain; member in openscreen::discovery::DnsSdQuerierImplTest
277 DomainName ptr_domain(++name.labels().begin(), name.labels().end()); in TEST_F() local
279 StopQuery(ptr_domain, DnsType::kANY, DnsClass::kANY, _)) in TEST_F()
285 EXPECT_FALSE(querier->IsDomainTracked(ptr_domain)); in TEST_F()
437 StopQuery(ptr_domain, DnsType::kANY, DnsClass::kANY, _)) in TEST_F()
447 StartQuery(ptr_domain, DnsType::kANY, DnsClass::kANY, _)) in TEST_F()
Ddns_data_graph.cc254 child_name = absl::get<PtrRecordRdata>(record.rdata()).ptr_domain(); in ApplyDataRecordChange()
547 absl::get<PtrRecordRdata>(record.rdata()).ptr_domain(); in CalculatePtrRecordEndpoints()
Dconversion_layer.cc153 ? absl::get<PtrRecordRdata>(record.rdata()).ptr_domain() in GetDomainName()
Dquerier_impl.cc342 : absl::get<PtrRecordRdata>(record.rdata()).ptr_domain(); in OnRecordChanged()
/external/openscreen/discovery/mdns/
Dmdns_reader.cc202 DomainName ptr_domain; in Read() local
203 if (Read(&record_length) && Read(&ptr_domain) && in Read()
205 *out = PtrRecordRdata(std::move(ptr_domain)); in Read()
Dmdns_records.cc317 PtrRecordRdata::PtrRecordRdata(DomainName ptr_domain) in PtrRecordRdata() argument
318 : ptr_domain_(ptr_domain) {} in PtrRecordRdata()
673 const DomainName& target = absl::get<PtrRecordRdata>(rdata_).ptr_domain(); in ToString()
Dmdns_records.h241 explicit PtrRecordRdata(DomainName ptr_domain);
251 const DomainName& ptr_domain() const { return ptr_domain_; } in ptr_domain() function
Dmdns_writer.cc168 if (Skip(sizeof(uint16_t)) && Write(rdata.ptr_domain()) && in Write()
Dmdns_publisher.cc243 ? absl::get<PtrRecordRdata>(record.rdata()).ptr_domain() in IsRecordNameClaimed()
Dmdns_responder_unittest.cc47 EXPECT_EQ(rdata.ptr_domain(), domain); in CheckPtrDomain()
342 DomainName ptr_domain{"_googlecast", "_tcp", "local"}; in TEST_F() local
343 MdnsQuestion question(ptr_domain, DnsType::kPTR, DnsClass::kANY, in TEST_F()
Dmdns_records_unittest.cc282 EXPECT_EQ(rdata1.ptr_domain(), DomainName()); in TEST()
286 EXPECT_EQ(rdata2.ptr_domain(), (DomainName{"testing", "local"})); in TEST()
Dmdns_responder.cc165 absl::get<PtrRecordRdata>(record.rdata()).ptr_domain(); in ApplyQueryResults()