/external/openscreen/discovery/mdns/ |
D | mdns_records.cc | 79 return IsGreaterThan<ARecordRdata>(lhs, rhs); in IsGreaterThan() 252 ARecordRdata::ARecordRdata() = default; 254 ARecordRdata::ARecordRdata(IPAddress ipv4_address, in ARecordRdata() function in openscreen::discovery::ARecordRdata 261 ARecordRdata::ARecordRdata(const ARecordRdata& other) = default; 263 ARecordRdata::ARecordRdata(ARecordRdata&& other) noexcept = default; 265 ARecordRdata& ARecordRdata::operator=(const ARecordRdata& rhs) = default; 267 ARecordRdata& ARecordRdata::operator=(ARecordRdata&& rhs) = default; 269 bool ARecordRdata::operator==(const ARecordRdata& rhs) const { in operator ==() 274 bool ARecordRdata::operator!=(const ARecordRdata& rhs) const { in operator !=() 278 size_t ARecordRdata::MaxWireSize() const { in MaxWireSize() [all …]
|
D | mdns_records.h | 177 class ARecordRdata { 179 ARecordRdata(); 180 explicit ARecordRdata(IPAddress ipv4_address, 182 ARecordRdata(const ARecordRdata& other); 183 ARecordRdata(ARecordRdata&& other) noexcept; 185 ARecordRdata& operator=(const ARecordRdata& rhs); 186 ARecordRdata& operator=(ARecordRdata&& rhs); 187 bool operator==(const ARecordRdata& rhs) const; 188 bool operator!=(const ARecordRdata& rhs) const; 195 friend H AbslHashValue(H h, const ARecordRdata& rdata) { in AbslHashValue() [all …]
|
D | mdns_reader_unittest.cc | 244 ARecordRdata(IPAddress{8, 8, 8, 8})); in TEST() 252 TestReadEntryFails<ARecordRdata>(kARecordRdata, sizeof(kARecordRdata)); in TEST() 260 TestReadEntryFails<ARecordRdata>(kARecordRdata, sizeof(kARecordRdata)); in TEST() 486 ARecordRdata(IPAddress{8, 8, 8, 8}))); in TEST() 549 kTtl, ARecordRdata(IPAddress{8, 8, 8, 8}))); in TEST() 676 ARecordRdata(IPAddress{172, 0, 0, 1})); in TEST()
|
D | mdns_writer_unittest.cc | 224 TestWriteEntrySucceeds(ARecordRdata(IPAddress{8, 8, 8, 8}), kExpectedRdata, in TEST() 229 TestWriteEntryInsufficientBuffer(ARecordRdata(IPAddress{8, 8, 8, 8})); in TEST() 357 ARecordRdata(IPAddress{172, 0, 0, 1})), in TEST() 385 RecordType::kUnique, kTtl, ARecordRdata(IPAddress{172, 0, 0, 1}))); in TEST()
|
D | mdns_records_unittest.cc | 209 ARecordRdata rdata1; in TEST() 213 ARecordRdata rdata2(IPAddress{8, 8, 8, 8}); in TEST() 219 ARecordRdata rdata1(IPAddress{8, 8, 8, 8}); in TEST() 220 ARecordRdata rdata2(IPAddress{8, 8, 8, 8}); in TEST() 221 ARecordRdata rdata3(IPAddress{1, 2, 3, 4}); in TEST() 230 TestCopyAndMove(ARecordRdata(IPAddress{8, 8, 8, 8})); in TEST() 551 ARecordRdata(IPAddress{8, 8, 8, 8})); in TEST() 662 ARecordRdata(IPAddress{172, 0, 0, 1})); in TEST() 717 ARecordRdata(IPAddress{172, 0, 0, 1})); in TEST() 776 ARecordRdata(IPAddress{172, 0, 0, 1})); in TEST()
|
D | mdns_writer.h | 32 bool Write(const ARecordRdata& rdata);
|
D | mdns_reader.cc | 170 bool MdnsReader::Read(ARecordRdata* out) { in Read() 177 *out = ARecordRdata(address); in Read() 378 return Read<ARecordRdata>(out); in Read()
|
D | mdns_reader.h | 34 bool Read(ARecordRdata* out);
|
D | mdns_receiver_unittest.cc | 111 ARecordRdata(IPAddress{172, 0, 0, 1})); in TEST()
|
D | mdns_sender_unittest.cc | 48 ARecordRdata(IPAddress{172, 0, 0, 1})),
|
D | mdns_querier_unittest.cc | 65 ARecordRdata(IPAddress{172, 0, 0, 1})), 71 ARecordRdata(IPAddress{172, 0, 0, 2})), 77 ARecordRdata(IPAddress{172, 0, 0, 2})), 83 ARecordRdata(IPAddress{192, 168, 0, 1})), 89 ARecordRdata(IPAddress{192, 168, 0, 1})),
|
D | mdns_trackers_unittest.cc | 86 ARecordRdata(IPAddress{172, 0, 0, 1})), 356 ARecordRdata(IPAddress{172, 0, 0, 2})); in TEST_F()
|
D | mdns_writer.cc | 143 bool MdnsWriter::Write(const ARecordRdata& rdata) { in Write()
|
D | mdns_responder_unittest.cc | 161 ARecordRdata rdata(IPAddress(192, 168, 0, 0)); in GetFakeARecord()
|
/external/openscreen/discovery/dnssd/impl/ |
D | publisher_impl_unittest.cc | 106 const ARecordRdata& data = absl::get<ARecordRdata>(record.rdata()); in TEST_F() 139 const ARecordRdata& data = absl::get<ARecordRdata>(record.rdata()); in TEST_F()
|
D | dns_data_graph.cc | 18 const absl::optional<ARecordRdata>& a, in CreateEndpoint() 494 const absl::optional<ARecordRdata> a = in CreateEndpoints() 495 address->GetRdata<ARecordRdata>(DnsType::kA); in CreateEndpoints() 519 const absl::optional<ARecordRdata> a = in IsValidAddressNode() 520 node->GetRdata<ARecordRdata>(DnsType::kA); in IsValidAddressNode()
|
D | conversion_layer.cc | 77 ARecordRdata data(address); in CreateARecords()
|
D | conversion_layer_unittest.cc | 191 const auto& rdata = absl::get<ARecordRdata>(it->rdata()); in TEST()
|
D | dns_data_graph_unittest.cc | 273 ARecordRdata rdata(IPAddress(192, 168, 1, 2)); in TEST_F()
|
/external/openscreen/discovery/mdns/testing/ |
D | mdns_test_util.cc | 49 ARecordRdata rdata(kFakeARecordAddress); in GetFakeARecord()
|