Home
last modified time | relevance | path

Searched refs:SrvRecordRdata (Results 1 – 19 of 19) sorted by relevance

/external/openscreen/discovery/mdns/
Dmdns_records.cc87 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 …]
Dmdns_records.h141 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 …]
Dmdns_records_unittest.cc171 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()
Dmdns_writer.h31 bool Write(const SrvRecordRdata& rdata);
Dmdns_reader.cc152 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()
Dmdns_reader_unittest.cc209 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()
Dmdns_reader.h33 bool Read(SrvRecordRdata* out);
Dmdns_responder.cc183 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()
Dmdns_writer_unittest.cc210 SrvRecordRdata(5, 6, 8009, DomainName{"testing", "local"}), in TEST()
216 SrvRecordRdata(5, 6, 8009, DomainName{"testing", "local"})); in TEST()
Dmdns_probe_unittest.cc65 SrvRecordRdata rdata(0, 0, 80, domain); in CreateMessage()
Dmdns_writer.cc129 bool MdnsWriter::Write(const SrvRecordRdata& rdata) { in Write()
Dmdns_querier_unittest.cc607 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()
Dmdns_responder_unittest.cc149 SrvRecordRdata rdata(0, 0, 80, name); in GetFakeSrvRecord()
/external/openscreen/discovery/dnssd/impl/
Dpublisher_impl_unittest.cc111 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()
Ddns_data_graph.cc20 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()
Dconversion_layer.cc67 SrvRecordRdata data(0, 0, port, domain); in CreateSrvRecord()
Dconversion_layer_unittest.cc159 const auto& rdata = absl::get<SrvRecordRdata>(it->rdata()); in TEST()
/external/openscreen/discovery/dnssd/testing/
Dfake_dns_record_factory.cc19 SrvRecordRdata srv(0, 0, port, kTarget); in CreateFullyPopulatedSrvRecord()
/external/openscreen/discovery/mdns/testing/
Dmdns_test_util.cc37 SrvRecordRdata rdata(0, 0, kFakeSrvRecordPort, target); in GetFakeSrvRecord()