Home
last modified time | relevance | path

Searched refs:MaxWireSize (Results 1 – 6 of 6) sorted by relevance

/external/openscreen/discovery/mdns/
Dmdns_records_unittest.cc46 EXPECT_EQ(name1.MaxWireSize(), UINT64_C(1)); in TEST()
51 EXPECT_EQ(name2.MaxWireSize(), UINT64_C(27)); in TEST()
61 EXPECT_EQ(name3.MaxWireSize(), UINT64_C(30)); in TEST()
126 EXPECT_EQ(rdata1.MaxWireSize(), UINT64_C(2)); in TEST()
130 EXPECT_EQ(rdata2.MaxWireSize(), UINT64_C(10)); in TEST()
138 EXPECT_EQ(rdata3.MaxWireSize(), UINT64_C(10)); in TEST()
172 EXPECT_EQ(rdata1.MaxWireSize(), UINT64_C(9)); in TEST()
179 EXPECT_EQ(rdata2.MaxWireSize(), UINT64_C(23)); in TEST()
210 EXPECT_EQ(rdata1.MaxWireSize(), UINT64_C(6)); in TEST()
214 EXPECT_EQ(rdata2.MaxWireSize(), UINT64_C(6)); in TEST()
[all …]
Dmdns_records.cc52 const size_t lhs_size = lhs_cast.MaxWireSize() + 2; in IsGreaterThan()
53 const size_t rhs_size = rhs_cast.MaxWireSize() + 2; in IsGreaterThan()
173 size_t DomainName::MaxWireSize() const { in MaxWireSize() function in openscreen::discovery::DomainName
213 size_t RawRecordRdata::MaxWireSize() const { in MaxWireSize() function in openscreen::discovery::RawRecordRdata
246 size_t SrvRecordRdata::MaxWireSize() const { in MaxWireSize() function in openscreen::discovery::SrvRecordRdata
249 sizeof(port_) + target_.MaxWireSize(); in MaxWireSize()
278 size_t ARecordRdata::MaxWireSize() const { in MaxWireSize() function in openscreen::discovery::ARecordRdata
310 size_t AAAARecordRdata::MaxWireSize() const { in MaxWireSize() function in openscreen::discovery::AAAARecordRdata
336 size_t PtrRecordRdata::MaxWireSize() const { in MaxWireSize() function in openscreen::discovery::PtrRecordRdata
338 return sizeof(uint16_t) + ptr_domain_.MaxWireSize(); in MaxWireSize()
[all …]
Dmdns_records.h83 size_t MaxWireSize() const;
123 size_t MaxWireSize() const;
156 size_t MaxWireSize() const;
190 size_t MaxWireSize() const;
220 size_t MaxWireSize() const;
250 size_t MaxWireSize() const;
284 size_t MaxWireSize() const;
345 size_t MaxWireSize() const;
367 size_t MaxWireSize() const;
414 size_t MaxWireSize() const { return max_wire_size_; } in MaxWireSize() function
[all …]
Dmdns_sender.cc35 std::min(message.MaxWireSize(), kMaxMulticastMessageSize)); in SendMessage()
Dmdns_writer_unittest.cc36 std::vector<uint8_t> buffer(entry.MaxWireSize() - 1); in TestWriteEntryInsufficientBuffer()
Dmdns_querier_unittest.cc132 UdpPacket packet(message.MaxWireSize()); in CreatePacketWithRecords()