Home
last modified time | relevance | path

Searched refs:PtrRecordRdata (Results 1 – 18 of 18) sorted by relevance

/external/openscreen/discovery/mdns/
Dmdns_records.cc81 return IsGreaterThan<PtrRecordRdata>(lhs, rhs); in IsGreaterThan()
315 PtrRecordRdata::PtrRecordRdata() = default;
317 PtrRecordRdata::PtrRecordRdata(DomainName ptr_domain) in PtrRecordRdata() function in openscreen::discovery::PtrRecordRdata
320 PtrRecordRdata::PtrRecordRdata(const PtrRecordRdata& other) = default;
322 PtrRecordRdata::PtrRecordRdata(PtrRecordRdata&& other) noexcept = default;
324 PtrRecordRdata& PtrRecordRdata::operator=(const PtrRecordRdata& rhs) = default;
326 PtrRecordRdata& PtrRecordRdata::operator=(PtrRecordRdata&& rhs) = default;
328 bool PtrRecordRdata::operator==(const PtrRecordRdata& rhs) const { in operator ==()
332 bool PtrRecordRdata::operator!=(const PtrRecordRdata& rhs) const { in operator !=()
336 size_t PtrRecordRdata::MaxWireSize() const { in MaxWireSize()
[all …]
Dmdns_records.h238 class PtrRecordRdata {
240 PtrRecordRdata();
241 explicit PtrRecordRdata(DomainName ptr_domain);
242 PtrRecordRdata(const PtrRecordRdata& other);
243 PtrRecordRdata(PtrRecordRdata&& other) noexcept;
245 PtrRecordRdata& operator=(const PtrRecordRdata& rhs);
246 PtrRecordRdata& operator=(PtrRecordRdata&& rhs);
247 bool operator==(const PtrRecordRdata& rhs) const;
248 bool operator!=(const PtrRecordRdata& rhs) const;
254 friend H AbslHashValue(H h, const PtrRecordRdata& rdata) { in AbslHashValue()
[all …]
Dmdns_records_unittest.cc280 PtrRecordRdata rdata1; in TEST()
284 PtrRecordRdata rdata2(DomainName{"testing", "local"}); in TEST()
290 PtrRecordRdata rdata1(DomainName{"testing", "local"}); in TEST()
291 PtrRecordRdata rdata2(DomainName{"testing", "local"}); in TEST()
292 PtrRecordRdata rdata3(DomainName{"device", "local"}); in TEST()
301 TestCopyAndMove(PtrRecordRdata(DomainName{"testing", "local"})); in TEST()
528 PtrRecordRdata(DomainName{"testing", "local"})); in TEST()
536 Rdata(PtrRecordRdata(DomainName{"testing", "local"}))); in TEST()
542 PtrRecordRdata(DomainName{"testing", "local"})); in TEST()
545 PtrRecordRdata(DomainName{"testing", "local"})); in TEST()
[all …]
Dmdns_reader_unittest.cc314 PtrRecordRdata(DomainName{"mydevice", "testing", "local"})); in TEST()
327 TestReadEntryFails<PtrRecordRdata>(kPtrRecordRdata, sizeof(kPtrRecordRdata)); in TEST()
339 TestReadEntryFails<PtrRecordRdata>(kPtrRecordRdata, sizeof(kPtrRecordRdata)); in TEST()
545 PtrRecordRdata(DomainName{"ptr", "testing", "local"}))); in TEST()
673 PtrRecordRdata(DomainName{"testing", "local"})); in TEST()
Dmdns_writer_unittest.cc308 PtrRecordRdata(DomainName{"mydevice", "testing", "local"}), in TEST()
314 PtrRecordRdata(DomainName{"mydevice", "testing", "local"})); in TEST()
378 PtrRecordRdata(DomainName{"testing", "local"})), in TEST()
Dmdns_writer.h34 bool Write(const PtrRecordRdata& rdata);
Dmdns_reader.cc198 bool MdnsReader::Read(PtrRecordRdata* out) { in Read()
205 *out = PtrRecordRdata(std::move(ptr_domain)); in Read()
382 return Read<PtrRecordRdata>(out); in Read()
Dmdns_reader.h36 bool Read(PtrRecordRdata* out);
Dmdns_responder.cc165 absl::get<PtrRecordRdata>(record.rdata()).ptr_domain(); in ApplyQueryResults()
276 PtrRecordRdata(record.name()))); in ApplyServiceTypeEnumerationResults()
Dmdns_writer.cc163 bool MdnsWriter::Write(const PtrRecordRdata& rdata) { in Write()
Dmdns_publisher.cc243 ? absl::get<PtrRecordRdata>(record.rdata()).ptr_domain() in IsRecordNameClaimed()
Dmdns_responder_unittest.cc45 const PtrRecordRdata& rdata = absl::get<PtrRecordRdata>(record.rdata()); in CheckPtrDomain()
143 PtrRecordRdata rdata(target); in GetFakePtrRecord()
Dmdns_trackers_unittest.cc342 PtrRecordRdata{DomainName{"invalid"}}); in TEST_F()
/external/openscreen/discovery/dnssd/impl/
Dconversion_layer.cc57 PtrRecordRdata data(domain); in CreatePtrRecord()
153 ? absl::get<PtrRecordRdata>(record.rdata()).ptr_domain() in GetDomainName()
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_unittest.cc122 const auto& rdata = absl::get<PtrRecordRdata>(it->rdata()); in TEST()
Dquerier_impl.cc342 : absl::get<PtrRecordRdata>(record.rdata()).ptr_domain(); in OnRecordChanged()
/external/openscreen/discovery/mdns/testing/
Dmdns_test_util.cc25 PtrRecordRdata rdata(target); in GetFakePtrRecord()