Searched refs:TxtRecordRdata (Results 1 – 16 of 16) sorted by relevance
/external/openscreen/discovery/mdns/ |
D | mdns_records.cc | 83 return IsGreaterThan<TxtRecordRdata>(lhs, rhs); in IsGreaterThan() 342 ErrorOr<TxtRecordRdata> TxtRecordRdata::TryCreate(std::vector<Entry> texts) { in TryCreate() 359 return TxtRecordRdata(std::move(str_texts), max_wire_size); in TryCreate() 362 TxtRecordRdata::TxtRecordRdata() = default; 364 TxtRecordRdata::TxtRecordRdata(std::vector<Entry> texts) { in TxtRecordRdata() function in openscreen::discovery::TxtRecordRdata 365 ErrorOr<TxtRecordRdata> rdata = TxtRecordRdata::TryCreate(std::move(texts)); in TxtRecordRdata() 369 TxtRecordRdata::TxtRecordRdata(std::vector<std::string> texts, in TxtRecordRdata() function in openscreen::discovery::TxtRecordRdata 373 TxtRecordRdata::TxtRecordRdata(const TxtRecordRdata& other) = default; 375 TxtRecordRdata::TxtRecordRdata(TxtRecordRdata&& other) noexcept = default; 377 TxtRecordRdata& TxtRecordRdata::operator=(const TxtRecordRdata& rhs) = default; [all …]
|
D | mdns_records.h | 268 class TxtRecordRdata { 272 static ErrorOr<TxtRecordRdata> TryCreate(std::vector<Entry> texts); 274 TxtRecordRdata(); 275 explicit TxtRecordRdata(std::vector<Entry> texts); 276 TxtRecordRdata(const TxtRecordRdata& other); 277 TxtRecordRdata(TxtRecordRdata&& other) noexcept; 279 TxtRecordRdata& operator=(const TxtRecordRdata& rhs); 280 TxtRecordRdata& operator=(TxtRecordRdata&& rhs); 281 bool operator==(const TxtRecordRdata& rhs) const; 282 bool operator!=(const TxtRecordRdata& rhs) const; [all …]
|
D | mdns_reader.cc | 42 bool MdnsReader::Read(TxtRecordRdata::Entry* out) { in Read() 212 bool MdnsReader::Read(TxtRecordRdata* out) { in Read() 222 std::vector<TxtRecordRdata::Entry> texts; in Read() 224 TxtRecordRdata::Entry entry; in Read() 236 ErrorOr<TxtRecordRdata> rdata = TxtRecordRdata::TryCreate(std::move(texts)); in Read() 384 return Read<TxtRecordRdata>(out); in Read()
|
D | mdns_reader.h | 30 bool Read(TxtRecordRdata::Entry* out); 37 bool Read(TxtRecordRdata* out);
|
D | mdns_writer.h | 35 bool Write(const TxtRecordRdata& rdata);
|
D | mdns_records_unittest.cc | 305 TxtRecordRdata rdata1; in TEST() 309 TxtRecordRdata rdata2 = MakeTxtRecord({"foo=1", "bar=2"}); in TEST() 315 TxtRecordRdata rdata1 = MakeTxtRecord({"foo=1", "bar=2"}); in TEST() 316 TxtRecordRdata rdata2 = MakeTxtRecord({"foo=1", "bar=2"}); in TEST() 317 TxtRecordRdata rdata3 = MakeTxtRecord({"foo=1"}); in TEST() 318 TxtRecordRdata rdata4 = MakeTxtRecord({"E=mc^2", "F=ma"}); in TEST()
|
D | mdns_reader_unittest.cc | 360 TxtRecordRdata()); in TEST() 403 TxtRecordRdata entry; in TEST()
|
D | mdns_writer.cc | 176 bool MdnsWriter::Write(const TxtRecordRdata& rdata) { in Write()
|
D | mdns_writer_unittest.cc | 334 TestWriteEntrySucceeds(TxtRecordRdata(), kExpectedRdata, in TEST()
|
D | mdns_responder_unittest.cc | 155 TxtRecordRdata rdata; in GetFakeTxtRecord()
|
/external/openscreen/discovery/mdns/testing/ |
D | mdns_test_util.cc | 14 TxtRecordRdata MakeTxtRecord(std::initializer_list<absl::string_view> strings) { in MakeTxtRecord() 15 std::vector<TxtRecordRdata::Entry> texts; in MakeTxtRecord() 17 texts.push_back(TxtRecordRdata::Entry(string.begin(), string.end())); in MakeTxtRecord() 19 return TxtRecordRdata(std::move(texts)); in MakeTxtRecord() 43 TxtRecordRdata rdata; in GetFakeTxtRecord()
|
D | mdns_test_util.h | 20 TxtRecordRdata MakeTxtRecord(std::initializer_list<absl::string_view> strings);
|
/external/openscreen/discovery/dnssd/impl/ |
D | conversion_layer_unittest.cc | 23 TxtRecordRdata txt = MakeTxtRecord({}); in TEST() 30 TxtRecordRdata txt; in TEST() 37 TxtRecordRdata txt = MakeTxtRecord({"name=value"}); in TEST() 53 TxtRecordRdata txt = MakeTxtRecord({"=value"}); in TEST() 59 TxtRecordRdata txt = MakeTxtRecord({"name"}); in TEST() 286 const auto& rdata = absl::get<TxtRecordRdata>(it->rdata()); in TEST()
|
D | dns_data_graph.cc | 21 const TxtRecordRdata& txt, in CreateEndpoint() 486 const absl::optional<TxtRecordRdata> txt = in CreateEndpoints() 487 srv_and_txt->GetRdata<TxtRecordRdata>(DnsType::kTXT); in CreateEndpoints() 530 const absl::optional<TxtRecordRdata> txt = in IsValidSrvAndTxtNode() 531 node->GetRdata<TxtRecordRdata>(DnsType::kTXT); in IsValidSrvAndTxtNode()
|
D | conversion_layer.h | 29 ErrorOr<DnsSdTxtRecord> CreateFromDnsTxt(const TxtRecordRdata& txt);
|
D | conversion_layer.cc | 103 TxtRecordRdata data(endpoint.txt().GetData()); in CreateTxtRecord() 110 ErrorOr<DnsSdTxtRecord> CreateFromDnsTxt(const TxtRecordRdata& txt_data) { in CreateFromDnsTxt()
|