Searched refs:RawRecordRdata (Results 1 – 9 of 9) sorted by relevance
/external/openscreen/discovery/mdns/ |
D | mdns_records.cc | 91 return IsGreaterThan<RawRecordRdata>(lhs, rhs); in IsGreaterThan() 178 ErrorOr<RawRecordRdata> RawRecordRdata::TryCreate(std::vector<uint8_t> rdata) { in TryCreate() 182 return RawRecordRdata(std::move(rdata)); in TryCreate() 186 RawRecordRdata::RawRecordRdata() = default; 188 RawRecordRdata::RawRecordRdata(std::vector<uint8_t> rdata) in RawRecordRdata() function in openscreen::discovery::RawRecordRdata 194 RawRecordRdata::RawRecordRdata(const uint8_t* begin, size_t size) in RawRecordRdata() function in openscreen::discovery::RawRecordRdata 195 : RawRecordRdata(std::vector<uint8_t>(begin, begin + size)) {} in RawRecordRdata() 197 RawRecordRdata::RawRecordRdata(const RawRecordRdata& other) = default; 199 RawRecordRdata::RawRecordRdata(RawRecordRdata&& other) noexcept = default; 201 RawRecordRdata& RawRecordRdata::operator=(const RawRecordRdata& rhs) = default; [all …]
|
D | mdns_records.h | 108 class RawRecordRdata { 110 static ErrorOr<RawRecordRdata> TryCreate(std::vector<uint8_t> rdata); 112 RawRecordRdata(); 113 explicit RawRecordRdata(std::vector<uint8_t> rdata); 114 RawRecordRdata(const uint8_t* begin, size_t size); 115 RawRecordRdata(const RawRecordRdata& other); 116 RawRecordRdata(RawRecordRdata&& other) noexcept; 118 RawRecordRdata& operator=(const RawRecordRdata& rhs); 119 RawRecordRdata& operator=(RawRecordRdata&& rhs); 120 bool operator==(const RawRecordRdata& rhs) const; [all …]
|
D | mdns_reader_unittest.cc | 155 RawRecordRdata(kRawRecordRdata + 2, sizeof(kRawRecordRdata) - 2)); in TEST() 169 RawRecordRdata entry; in TEST() 183 RawRecordRdata()); in TEST() 193 TestReadEntryFails<RawRecordRdata>(kRawRecordRdata, sizeof(kRawRecordRdata)); in TEST() 510 RawRecordRdata(kCnameRdata, sizeof(kCnameRdata)))); in TEST()
|
D | mdns_reader.cc | 128 bool MdnsReader::Read(RawRecordRdata* out) { in Read() 139 ErrorOr<RawRecordRdata> rdata = in Read() 140 RawRecordRdata::TryCreate(std::move(buffer)); in Read() 390 return Read<RawRecordRdata>(out); in Read()
|
D | mdns_records_unittest.cc | 125 RawRecordRdata rdata1; in TEST() 129 RawRecordRdata rdata2(kRawRdata, sizeof(kRawRdata)); in TEST() 136 RawRecordRdata rdata3( in TEST() 153 RawRecordRdata rdata1(kRawRdata1, sizeof(kRawRdata1)); in TEST() 154 RawRecordRdata rdata2(kRawRdata1, sizeof(kRawRdata1)); in TEST() 155 RawRecordRdata rdata3(kRawRdata2, sizeof(kRawRdata2)); in TEST() 167 TestCopyAndMove(RawRecordRdata(kRawRdata, sizeof(kRawRdata))); in TEST() 524 EXPECT_EQ(record1.rdata(), Rdata(RawRecordRdata())); in TEST()
|
D | mdns_writer.h | 30 bool Write(const RawRecordRdata& rdata);
|
D | mdns_reader.h | 32 bool Read(RawRecordRdata* out);
|
D | mdns_writer_unittest.cc | 186 RawRecordRdata(kExpectedRdata + 2, sizeof(kExpectedRdata) - 2), in TEST() 197 RawRecordRdata(kRawRdata, sizeof(kRawRdata))); in TEST()
|
D | mdns_writer.cc | 120 bool MdnsWriter::Write(const RawRecordRdata& rdata) { in Write()
|