Home
last modified time | relevance | path

Searched refs:ARecordRdata (Results 1 – 20 of 20) sorted by relevance

/external/openscreen/discovery/mdns/
Dmdns_records.cc79 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 …]
Dmdns_records.h177 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 …]
Dmdns_reader_unittest.cc244 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()
Dmdns_writer_unittest.cc224 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()
Dmdns_records_unittest.cc209 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()
Dmdns_writer.h32 bool Write(const ARecordRdata& rdata);
Dmdns_reader.cc170 bool MdnsReader::Read(ARecordRdata* out) { in Read()
177 *out = ARecordRdata(address); in Read()
378 return Read<ARecordRdata>(out); in Read()
Dmdns_reader.h34 bool Read(ARecordRdata* out);
Dmdns_receiver_unittest.cc111 ARecordRdata(IPAddress{172, 0, 0, 1})); in TEST()
Dmdns_sender_unittest.cc48 ARecordRdata(IPAddress{172, 0, 0, 1})),
Dmdns_querier_unittest.cc65 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})),
Dmdns_trackers_unittest.cc86 ARecordRdata(IPAddress{172, 0, 0, 1})),
356 ARecordRdata(IPAddress{172, 0, 0, 2})); in TEST_F()
Dmdns_writer.cc143 bool MdnsWriter::Write(const ARecordRdata& rdata) { in Write()
Dmdns_responder_unittest.cc161 ARecordRdata rdata(IPAddress(192, 168, 0, 0)); in GetFakeARecord()
/external/openscreen/discovery/dnssd/impl/
Dpublisher_impl_unittest.cc106 const ARecordRdata& data = absl::get<ARecordRdata>(record.rdata()); in TEST_F()
139 const ARecordRdata& data = absl::get<ARecordRdata>(record.rdata()); in TEST_F()
Ddns_data_graph.cc18 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()
Dconversion_layer.cc77 ARecordRdata data(address); in CreateARecords()
Dconversion_layer_unittest.cc191 const auto& rdata = absl::get<ARecordRdata>(it->rdata()); in TEST()
Ddns_data_graph_unittest.cc273 ARecordRdata rdata(IPAddress(192, 168, 1, 2)); in TEST_F()
/external/openscreen/discovery/mdns/testing/
Dmdns_test_util.cc49 ARecordRdata rdata(kFakeARecordAddress); in GetFakeARecord()