Home
last modified time | relevance | path

Searched refs:additional_records (Results 1 – 10 of 10) sorted by relevance

/external/openscreen/discovery/mdns/
Dmdns_responder_unittest.cc327 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 …]
Dmdns_responder.cc174 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()
Dmdns_reader.cc332 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()
Dmdns_writer.cc248 header.additional_record_count = message.additional_records().size(); in Write()
251 Write(message.additional_records())) { in Write()
Dmdns_records_unittest.cc656 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()
Dmdns_records.cc757 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()
Dmdns_records.h576 std::vector<MdnsRecord> additional_records);
587 std::vector<MdnsRecord> additional_records);
619 const std::vector<MdnsRecord>& additional_records() const { in additional_records() function
Dmdns_publisher_unittest.cc97 EXPECT_EQ(message.additional_records().size(), size_t{0}); in IsAnnounced()
115 EXPECT_EQ(message.additional_records().size(), size_t{0}); in IsGoodbyeRecord()
Dmdns_querier.cc540 << message.additional_records().size() in OnMessageReceived()
557 for (const MdnsRecord& record : message.additional_records()) { in OnMessageReceived()
Dmdns_querier_unittest.cc124 std::vector<MdnsRecord::ConstRef> additional_records) { in CreatePacketWithRecords() argument
129 for (const MdnsRecord& additional_record : additional_records) { in CreatePacketWithRecords()