/external/openscreen/discovery/mdns/ |
D | mdns_records.cc | 89 return IsGreaterThan<NsecRecordRdata>(lhs, rhs); in IsGreaterThan() 393 NsecRecordRdata::NsecRecordRdata() = default; 395 NsecRecordRdata::NsecRecordRdata(DomainName next_domain_name, in NsecRecordRdata() function in openscreen::discovery::NsecRecordRdata 442 NsecRecordRdata::NsecRecordRdata(const NsecRecordRdata& other) = default; 444 NsecRecordRdata::NsecRecordRdata(NsecRecordRdata&& other) noexcept = default; 446 NsecRecordRdata& NsecRecordRdata::operator=(const NsecRecordRdata& rhs) = 449 NsecRecordRdata& NsecRecordRdata::operator=(NsecRecordRdata&& rhs) = default; 451 bool NsecRecordRdata::operator==(const NsecRecordRdata& rhs) const { in operator ==() 455 bool NsecRecordRdata::operator!=(const NsecRecordRdata& rhs) const { in operator !=() 459 size_t NsecRecordRdata::MaxWireSize() const { in MaxWireSize() [all …]
|
D | mdns_records.h | 324 class NsecRecordRdata { 326 NsecRecordRdata(); 333 NsecRecordRdata(DomainName next_domain_name, Types... types) in NsecRecordRdata() function 334 : NsecRecordRdata(std::move(next_domain_name), in NsecRecordRdata() 336 NsecRecordRdata(DomainName next_domain_name, std::vector<DnsType> types); 337 NsecRecordRdata(const NsecRecordRdata& other); 338 NsecRecordRdata(NsecRecordRdata&& other) noexcept; 340 NsecRecordRdata& operator=(const NsecRecordRdata& rhs); 341 NsecRecordRdata& operator=(NsecRecordRdata&& rhs); 342 bool operator==(const NsecRecordRdata& rhs) const; [all …]
|
D | mdns_records_unittest.cc | 334 NsecRecordRdata rdata(domain); in TEST() 338 rdata = NsecRecordRdata(domain, DnsType::kA); in TEST() 361 rdata = NsecRecordRdata(domain, DnsType::kTXT); in TEST() 376 rdata = NsecRecordRdata(domain, DnsType::kSRV); in TEST() 391 rdata = NsecRecordRdata(domain, DnsType::kNSEC); in TEST() 404 rdata = NsecRecordRdata(domain, DnsType::kANY); in TEST() 428 rdata = NsecRecordRdata(domain, DnsType::kA, DnsType::kTXT, DnsType::kSRV, in TEST() 439 const NsecRecordRdata rdata1(domain, DnsType::kA, DnsType::kSRV); in TEST() 440 const NsecRecordRdata rdata2(domain, DnsType::kSRV, DnsType::kA); in TEST() 441 const NsecRecordRdata rdata3(domain, DnsType::kSRV, DnsType::kA, in TEST() [all …]
|
D | mdns_querier.cc | 34 const NsecRecordRdata& nsec = absl::get<NsecRecordRdata>(record.rdata()); in IsNegativeResponseFor() 171 const NsecRecordRdata& nsec_rdata = absl::get<NsecRecordRdata>(it->rdata()); in RemoveInvalidNsecFlags() 187 types.Insert(absl::get<NsecRecordRdata>(it->rdata()).types()); in RemoveInvalidNsecFlags() 202 NsecRecordRdata new_rdata(nsec_rdata.next_domain_name(), in RemoveInvalidNsecFlags() 600 const auto& nsec_rdata = absl::get<NsecRecordRdata>(answer.rdata()); in ShouldAnswerRecordBeProcessed() 650 const auto& nsec_rdata = absl::get<NsecRecordRdata>(record.rdata()); in ProcessRecord()
|
D | mdns_writer_unittest.cc | 259 NsecRecordRdata(DomainName{"mydevice", "testing", "local"}, DnsType::kA, in TEST() 286 NsecRecordRdata(DomainName{"mydevice", "testing", "local"}, DnsType::kA, in TEST() 293 NsecRecordRdata(DomainName{"mydevice", "testing", "local"}, DnsType::kA, in TEST()
|
D | mdns_writer.h | 36 bool Write(const NsecRecordRdata& rdata);
|
D | mdns_trackers_unittest.cc | 93 NsecRecordRdata(DomainName{"testing", "local"}, DnsType::kA)) {} 374 NsecRecordRdata(DomainName{"testing", "local"}, DnsType::kAAAA)); in TEST_F() 388 NsecRecordRdata(DomainName{"testing", "local"}, DnsType::kA, in TEST_F() 400 NsecRecordRdata(DomainName{"testing", "local"}, DnsType::kAAAA)); in TEST_F()
|
D | mdns_reader.cc | 245 bool MdnsReader::Read(NsecRecordRdata* out) { in Read() 272 *out = NsecRecordRdata(std::move(next_record_name), std::move(types)); in Read() 386 return Read<NsecRecordRdata>(out); in Read()
|
D | mdns_reader_unittest.cc | 436 NsecRecordRdata(DomainName{"mydevice", "testing", "local"}, DnsType::kA, in TEST() 451 TestReadEntryFails<NsecRecordRdata>(kNsecRecordRdata, in TEST() 466 TestReadEntryFails<NsecRecordRdata>(kNsecRecordRdata, in TEST()
|
D | mdns_reader.h | 38 bool Read(NsecRecordRdata* out);
|
D | mdns_querier_unittest.cc | 102 NsecRecordRdata(DomainName{"testing", "local"}, DnsType::kA)) { 115 NsecRecordRdata rdata(name, types...); in CreateNsec() 745 NsecRecordRdata(nsec_record_created_.name(), DnsType::kA, in TEST_F() 765 NsecRecordRdata(nsec_record_created_.name(), DnsType::kANY)); in TEST_F() 852 NsecRecordRdata(nsec_record_created_.name(), DnsType::kA, in TEST_F()
|
D | mdns_responder_unittest.cc | 37 const NsecRecordRdata& rdata = absl::get<NsecRecordRdata>(record.rdata()); in CheckSingleNsecRecordType() 58 const NsecRecordRdata& rdata = in ExpectContainsNsecRecordType() 59 absl::get<NsecRecordRdata>(record.rdata()); in ExpectContainsNsecRecordType()
|
D | mdns_writer.cc | 199 bool MdnsWriter::Write(const NsecRecordRdata& rdata) { in Write()
|
D | mdns_trackers.cc | 50 const auto& nsec_types = absl::get<NsecRecordRdata>(record.rdata()).types(); in IsNegativeResponseForType()
|
D | mdns_responder.cc | 62 auto rdata = NsecRecordRdata(target_name, target_type); in CreateNsecRecord()
|