/external/webrtc/p2p/base/ |
D | mdns_message.cc | 182 MdnsQuestion::MdnsQuestion() = default; 183 MdnsQuestion::MdnsQuestion(const MdnsQuestion& other) = default; 184 MdnsQuestion::~MdnsQuestion() = default; 186 bool MdnsQuestion::Read(MessageBufferReader* buf) { in Read() 198 bool MdnsQuestion::Write(rtc::ByteBufferWriter* buf) const { in Write() 205 void MdnsQuestion::SetUnicastResponse(bool should_unicast) { in SetUnicastResponse() 213 bool MdnsQuestion::ShouldUnicastResponse() const { in ShouldUnicastResponse() 323 auto read_question = [&buf](std::vector<MdnsQuestion>* section, in Read() 386 void MdnsMessage::AddQuestion(const MdnsQuestion& question) { in AddQuestion()
|
D | mdns_message.h | 101 class MdnsQuestion final : public MdnsSectionEntry { 103 MdnsQuestion(); 104 MdnsQuestion(const MdnsQuestion& other); 105 ~MdnsQuestion() override; 179 void AddQuestion(const MdnsQuestion& question); 183 const std::vector<MdnsQuestion>& question_section() const { in question_section() 198 std::vector<MdnsQuestion> question_section_;
|
D | mdns_message_unittest.cc | 494 MdnsQuestion question; in TEST() 510 MdnsQuestion question1; in TEST() 516 MdnsQuestion question2; in TEST()
|
/external/openscreen/discovery/mdns/ |
D | mdns_records_unittest.cc | 605 MdnsQuestion question1; in TEST() 612 MdnsQuestion question2(DomainName{"testing", "local"}, DnsType::kPTR, in TEST() 622 MdnsQuestion question1(DomainName{"testing", "local"}, DnsType::kPTR, in TEST() 624 MdnsQuestion question2(DomainName{"testing", "local"}, DnsType::kPTR, in TEST() 626 MdnsQuestion question3(DomainName{"hostname", "local"}, DnsType::kPTR, in TEST() 628 MdnsQuestion question4(DomainName{"testing", "local"}, DnsType::kA, in TEST() 630 MdnsQuestion question5(DomainName{"hostname", "local"}, DnsType::kPTR, in TEST() 643 MdnsQuestion question(DomainName{"testing", "local"}, DnsType::kPTR, in TEST() 658 MdnsQuestion question(DomainName{"testing", "local"}, DnsType::kPTR, in TEST() 696 123, MessageType::Response, std::vector<MdnsQuestion>{question}, in TEST() [all …]
|
D | mdns_records.h | 521 class MdnsQuestion { 523 static ErrorOr<MdnsQuestion> TryCreate(DomainName name, 528 MdnsQuestion() = default; 529 MdnsQuestion(DomainName name, 534 bool operator==(const MdnsQuestion& other) const; 535 bool operator!=(const MdnsQuestion& other) const; 544 friend H AbslHashValue(H h, const MdnsQuestion& record) { in AbslHashValue() 550 void CopyFrom(const MdnsQuestion& other); 573 std::vector<MdnsQuestion> questions, 584 std::vector<MdnsQuestion> questions, [all …]
|
D | mdns_responder.h | 108 const std::vector<MdnsQuestion>& questions() const { return questions_; } in questions() 125 std::vector<MdnsQuestion> questions_; 142 const std::vector<MdnsQuestion>& questions, 146 void SendResponse(const MdnsQuestion& question,
|
D | mdns_records.cc | 714 ErrorOr<MdnsQuestion> MdnsQuestion::TryCreate(DomainName name, in TryCreate() 722 return MdnsQuestion(std::move(name), dns_type, dns_class, response_type); in TryCreate() 725 MdnsQuestion::MdnsQuestion(DomainName name, in MdnsQuestion() function in openscreen::discovery::MdnsQuestion 736 bool MdnsQuestion::operator==(const MdnsQuestion& rhs) const { in operator ==() 741 bool MdnsQuestion::operator!=(const MdnsQuestion& rhs) const { in operator !=() 745 size_t MdnsQuestion::MaxWireSize() const { in MaxWireSize() 754 std::vector<MdnsQuestion> questions, in TryCreate() 775 std::vector<MdnsQuestion> questions, in MdnsMessage() 790 for (const MdnsQuestion& question : questions_) { in MdnsMessage() 822 for (const MdnsQuestion& question : questions_) { in IsProbeQuery() [all …]
|
D | mdns_trackers.h | 207 MdnsQuestionTracker(MdnsQuestion question, 222 const MdnsQuestion& question() const { return question_; } in question() 238 MdnsQuestion question_;
|
D | mdns_reader_unittest.cc | 595 MdnsQuestion(DomainName{"testing", "local"}, DnsType::kA, DnsClass::kIN, in TEST() 617 MdnsQuestion question; in TEST() 619 EXPECT_EQ(question, MdnsQuestion(DomainName{"first", "local"}, DnsType::kA, in TEST() 622 EXPECT_EQ(question, MdnsQuestion(DomainName{"second", "local"}, DnsType::kPTR, in TEST() 637 TestReadEntryFails<MdnsQuestion>(kTestQuestion, sizeof(kTestQuestion)); in TEST() 677 MdnsMessage message(1, MessageType::Response, std::vector<MdnsQuestion>{}, in TEST()
|
D | mdns_writer_unittest.cc | 400 MdnsQuestion(DomainName{"wire", "format", "local"}, DnsType::kPTR, in TEST() 407 MdnsQuestion(DomainName{"wire", "format", "local"}, DnsType::kPTR, in TEST() 436 MdnsQuestion question(DomainName{"question"}, DnsType::kPTR, DnsClass::kIN, in TEST() 455 MdnsQuestion question(DomainName{"question"}, DnsType::kPTR, DnsClass::kIN, in TEST()
|
D | mdns_reader.cc | 304 bool MdnsReader::Read(MdnsQuestion* out) { in Read() 311 ErrorOr<MdnsQuestion> question = in Read() 312 MdnsQuestion::TryCreate(std::move(name), static_cast<DnsType>(type), in Read() 329 std::vector<MdnsQuestion> questions; in Read()
|
D | mdns_responder.cc | 234 bool IsServiceTypeEnumerationQuery(const MdnsQuestion& question) { in IsServiceTypeEnumerationQuery() 436 const std::vector<MdnsQuestion>& questions = message.questions(); in OnMessageReceived() 520 const std::vector<MdnsQuestion>& questions, in ProcessQueries() 580 const MdnsQuestion& question, in SendResponse()
|
D | mdns_writer.h | 42 bool Write(const MdnsQuestion& question);
|
D | mdns_querier.cc | 454 const MdnsQuestion& tracked_question = in StartQuery() 461 MdnsQuestion(name, dns_type, dns_class, ResponseType::kMulticast)); in StartQuery() 504 const MdnsQuestion& tracked_question = entry->second->question(); in StopQuery() 822 void MdnsQuerier::AddQuestion(const MdnsQuestion& question) { in AddQuestion() 847 const MdnsQuestion& query = entry->second->question(); in AddRecord()
|
D | mdns_reader.h | 44 bool Read(MdnsQuestion* out);
|
D | mdns_receiver_unittest.cc | 57 MdnsQuestion question(DomainName{"testing", "local"}, DnsType::kA, in TEST()
|
D | mdns_probe.cc | 67 MdnsQuestion probe_question(target_name(), DnsType::kANY, DnsClass::kIN, in ProbeOnce()
|
D | mdns_responder_unittest.cc | 177 MdnsQuestion question(domain_, type, DnsClass::kANY, in QueryForRecordTypeWhenNonePresent() 194 MdnsQuestion question(domain_, type, DnsClass::kANY, in CreateMulticastMdnsQuery() 203 MdnsQuestion question(type_enumeration_domain_, DnsType::kPTR, in CreateTypeEnumerationQuery() 265 MdnsQuestion question2(domain_, DnsType::kANY, DnsClass::kANY, in TEST_F() 287 MdnsQuestion question(domain_, DnsType::kANY, DnsClass::kANY, in TEST_F() 343 MdnsQuestion question(ptr_domain, DnsType::kPTR, DnsClass::kANY, in TEST_F()
|
D | mdns_sender_unittest.cc | 97 MdnsQuestion a_question_;
|
D | mdns_querier.h | 201 void AddQuestion(const MdnsQuestion& question);
|
D | mdns_trackers_unittest.cc | 119 const MdnsQuestion& question, in CreateQuestionTracker() 182 MdnsQuestion a_question_;
|
D | mdns_probe_manager.cc | 99 const std::vector<MdnsQuestion>& questions = message.questions(); in RespondToProbeQuery()
|
D | mdns_writer.cc | 228 bool MdnsWriter::Write(const MdnsQuestion& question) { in Write()
|
D | mdns_trackers.cc | 292 MdnsQuestionTracker::MdnsQuestionTracker(MdnsQuestion question, in MdnsQuestionTracker()
|
D | mdns_probe_manager_unittest.cc | 121 MdnsQuestion question(domain, DnsType::kANY, DnsClass::kANY, in CreateProbeQueryMessage()
|