/external/openscreen/discovery/mdns/ |
D | mdns_records.cc | 87 return IsGreaterThan<SrvRecordRdata>(lhs, rhs); in IsGreaterThan() 218 SrvRecordRdata::SrvRecordRdata() = default; 220 SrvRecordRdata::SrvRecordRdata(uint16_t priority, in SrvRecordRdata() function in openscreen::discovery::SrvRecordRdata 229 SrvRecordRdata::SrvRecordRdata(const SrvRecordRdata& other) = default; 231 SrvRecordRdata::SrvRecordRdata(SrvRecordRdata&& other) noexcept = default; 233 SrvRecordRdata& SrvRecordRdata::operator=(const SrvRecordRdata& rhs) = default; 235 SrvRecordRdata& SrvRecordRdata::operator=(SrvRecordRdata&& rhs) = default; 237 bool SrvRecordRdata::operator==(const SrvRecordRdata& rhs) const { in operator ==() 242 bool SrvRecordRdata::operator!=(const SrvRecordRdata& rhs) const { in operator !=() 246 size_t SrvRecordRdata::MaxWireSize() const { in MaxWireSize() [all …]
|
D | mdns_records.h | 141 class SrvRecordRdata { 143 SrvRecordRdata(); 144 SrvRecordRdata(uint16_t priority, 148 SrvRecordRdata(const SrvRecordRdata& other); 149 SrvRecordRdata(SrvRecordRdata&& other) noexcept; 151 SrvRecordRdata& operator=(const SrvRecordRdata& rhs); 152 SrvRecordRdata& operator=(SrvRecordRdata&& rhs); 153 bool operator==(const SrvRecordRdata& rhs) const; 154 bool operator!=(const SrvRecordRdata& rhs) const; 163 friend H AbslHashValue(H h, const SrvRecordRdata& rdata) { in AbslHashValue() [all …]
|
D | mdns_records_unittest.cc | 171 SrvRecordRdata rdata1; in TEST() 178 SrvRecordRdata rdata2(1, 2, 3, DomainName{"testing", "local"}); in TEST() 187 SrvRecordRdata rdata1(1, 2, 3, DomainName{"testing", "local"}); in TEST() 188 SrvRecordRdata rdata2(1, 2, 3, DomainName{"testing", "local"}); in TEST() 189 SrvRecordRdata rdata3(4, 2, 3, DomainName{"testing", "local"}); in TEST() 190 SrvRecordRdata rdata4(1, 5, 3, DomainName{"testing", "local"}); in TEST() 191 SrvRecordRdata rdata5(1, 2, 6, DomainName{"testing", "local"}); in TEST() 192 SrvRecordRdata rdata6(1, 2, 3, DomainName{"device", "local"}); in TEST() 205 TestCopyAndMove(SrvRecordRdata(1, 2, 3, DomainName{"testing", "local"})); in TEST()
|
D | mdns_writer.h | 31 bool Write(const SrvRecordRdata& rdata);
|
D | mdns_reader.cc | 152 bool MdnsReader::Read(SrvRecordRdata* out) { in Read() 163 *out = SrvRecordRdata(priority, weight, port, std::move(target)); in Read() 376 return Read<SrvRecordRdata>(out); in Read()
|
D | mdns_reader_unittest.cc | 209 SrvRecordRdata(5, 6, 8009, DomainName{"testing", "local"})); in TEST() 221 TestReadEntryFails<SrvRecordRdata>(kSrvRecordRdata, sizeof(kSrvRecordRdata)); in TEST() 235 TestReadEntryFails<SrvRecordRdata>(kSrvRecordRdata, sizeof(kSrvRecordRdata)); in TEST()
|
D | mdns_reader.h | 33 bool Read(SrvRecordRdata* out);
|
D | mdns_responder.cc | 183 absl::get<SrvRecordRdata>(srv_record.rdata()).target(); in ApplyQueryResults() 193 absl::get<SrvRecordRdata>(srv_record.rdata()).target(); in ApplyQueryResults() 208 absl::get<SrvRecordRdata>(srv_record.rdata()).target(); in ApplyQueryResults()
|
D | mdns_writer_unittest.cc | 210 SrvRecordRdata(5, 6, 8009, DomainName{"testing", "local"}), in TEST() 216 SrvRecordRdata(5, 6, 8009, DomainName{"testing", "local"})); in TEST()
|
D | mdns_probe_unittest.cc | 65 SrvRecordRdata rdata(0, 0, 80, domain); in CreateMessage()
|
D | mdns_writer.cc | 129 bool MdnsWriter::Write(const SrvRecordRdata& rdata) { in Write()
|
D | mdns_querier_unittest.cc | 607 SrvRecordRdata(1, 2, 3, third_name)); in TEST_F() 655 SrvRecordRdata(1, 2, 3, first_name)); in TEST_F() 690 SrvRecordRdata(1, 2, 3, third_name)); in TEST_F()
|
D | mdns_responder_unittest.cc | 149 SrvRecordRdata rdata(0, 0, 80, name); in GetFakeSrvRecord()
|
/external/openscreen/discovery/dnssd/impl/ |
D | publisher_impl_unittest.cc | 111 const SrvRecordRdata& data = in TEST_F() 112 absl::get<SrvRecordRdata>(record.rdata()); in TEST_F() 144 const SrvRecordRdata& data = in TEST_F() 145 absl::get<SrvRecordRdata>(record.rdata()); in TEST_F()
|
D | dns_data_graph.cc | 20 const SrvRecordRdata& srv, in CreateEndpoint() 261 child_name = absl::get<SrvRecordRdata>(record.rdata()).target(); in ApplyDataRecordChange() 478 const absl::optional<SrvRecordRdata> srv = in CreateEndpoints() 479 srv_and_txt->GetRdata<SrvRecordRdata>(DnsType::kSRV); in CreateEndpoints() 528 const absl::optional<SrvRecordRdata> srv = in IsValidSrvAndTxtNode() 529 node->GetRdata<SrvRecordRdata>(DnsType::kSRV); in IsValidSrvAndTxtNode()
|
D | conversion_layer.cc | 67 SrvRecordRdata data(0, 0, port, domain); in CreateSrvRecord()
|
D | conversion_layer_unittest.cc | 159 const auto& rdata = absl::get<SrvRecordRdata>(it->rdata()); in TEST()
|
/external/openscreen/discovery/dnssd/testing/ |
D | fake_dns_record_factory.cc | 19 SrvRecordRdata srv(0, 0, port, kTarget); in CreateFullyPopulatedSrvRecord()
|
/external/openscreen/discovery/mdns/testing/ |
D | mdns_test_util.cc | 37 SrvRecordRdata rdata(0, 0, kFakeSrvRecordPort, target); in GetFakeSrvRecord()
|