Searched refs:additional_records (Results 1 – 10 of 10) sorted by relevance
/external/openscreen/discovery/mdns/ |
D | mdns_responder_unittest.cc | 327 EXPECT_EQ(message.additional_records().size(), size_t{0}); in TEST_F() 360 EXPECT_EQ(message.additional_records().size(), size_t{4}); in TEST_F() 365 const auto& records = message.additional_records(); in TEST_F() 394 EXPECT_EQ(message.additional_records().size(), size_t{2}); in TEST_F() 399 const auto& records = message.additional_records(); in TEST_F() 428 EXPECT_EQ(message.additional_records().size(), size_t{1}); in TEST_F() 433 const auto& records = message.additional_records(); in TEST_F() 462 EXPECT_EQ(message.additional_records().size(), size_t{1}); in TEST_F() 467 const auto& records = message.additional_records(); in TEST_F() 512 EXPECT_EQ(message.additional_records().size(), size_t{0}); in TEST_F() [all …]
|
D | mdns_responder.cc | 174 const int max = message->additional_records().size(); in ApplyQueryResults() 176 if (message->additional_records()[i].dns_type() != DnsType::kSRV) { in ApplyQueryResults() 181 const MdnsRecord& srv_record = message->additional_records()[i]; in ApplyQueryResults() 191 const MdnsRecord& srv_record = message->additional_records()[i]; in ApplyQueryResults() 611 for (const auto& record : message.additional_records()) { in SendResponse()
|
D | mdns_reader.cc | 332 std::vector<MdnsRecord> additional_records; in Read() local 336 Read(header.additional_record_count, &additional_records)) { in Read() 343 authority_records, additional_records); in Read()
|
D | mdns_writer.cc | 248 header.additional_record_count = message.additional_records().size(); in Write() 251 Write(message.additional_records())) { in Write()
|
D | mdns_records_unittest.cc | 656 EXPECT_EQ(message1.additional_records().size(), UINT64_C(0)); in TEST() 677 EXPECT_EQ(message2.additional_records().size(), UINT64_C(0)); in TEST() 688 ASSERT_EQ(message2.additional_records().size(), UINT64_C(1)); in TEST() 693 EXPECT_EQ(message2.additional_records()[0], record3); in TEST() 704 ASSERT_EQ(message3.additional_records().size(), UINT64_C(1)); in TEST() 709 EXPECT_EQ(message3.additional_records()[0], record3); in TEST()
|
D | mdns_records.cc | 757 std::vector<MdnsRecord> additional_records) { in TryCreate() argument 761 additional_records.size() >= kMaxMessageFieldEntryCount) { in TryCreate() 767 std::move(additional_records)); in TryCreate() 778 std::vector<MdnsRecord> additional_records) in MdnsMessage() argument 784 additional_records_(std::move(additional_records)) { in MdnsMessage()
|
D | mdns_records.h | 576 std::vector<MdnsRecord> additional_records); 587 std::vector<MdnsRecord> additional_records); 619 const std::vector<MdnsRecord>& additional_records() const { in additional_records() function
|
D | mdns_publisher_unittest.cc | 97 EXPECT_EQ(message.additional_records().size(), size_t{0}); in IsAnnounced() 115 EXPECT_EQ(message.additional_records().size(), size_t{0}); in IsGoodbyeRecord()
|
D | mdns_querier.cc | 540 << message.additional_records().size() in OnMessageReceived() 557 for (const MdnsRecord& record : message.additional_records()) { in OnMessageReceived()
|
D | mdns_querier_unittest.cc | 124 std::vector<MdnsRecord::ConstRef> additional_records) { in CreatePacketWithRecords() argument 129 for (const MdnsRecord& additional_record : additional_records) { in CreatePacketWithRecords()
|