Searched refs:CompareLabel (Results 1 – 5 of 5) sorted by relevance
/openthread-latest/src/core/net/ |
D | dns_types.cpp | 125 SuccessOrExit(CompareLabel(*mMessage, offset, aFirstLabel)); in Matches() 417 Error Name::CompareLabel(const Message &aMessage, uint16_t &aOffset, const char *aLabel) in CompareLabel() function in ot::Dns::Name 423 VerifyOrExit(iterator.CompareLabel(aLabel, kIsSingleLabel), error = kErrorNotFound); in CompareLabel() 438 VerifyOrExit(iterator.CompareLabel(aLabels, !kIsSingleLabel), error = kErrorNotFound); in CompareMultipleLabels() 470 if (matches && !iterator.CompareLabel(aName, !kIsSingleLabel)) in CompareName() 520 … if (matches && (iterator2.GetNextLabel() != kErrorNone || !iterator.CompareLabel(iterator2))) in CompareName() 649 bool Name::LabelIterator::CompareLabel(const char *&aName, bool aIsSingleLabel) const in CompareLabel() function in ot::Dns::Name::LabelIterator 684 bool Name::LabelIterator::CompareLabel(const LabelIterator &aOtherIterator) const in CompareLabel() function in ot::Dns::Name::LabelIterator
|
D | dns_types.hpp | 840 static Error CompareLabel(const Message &aMessage, uint16_t &aOffset, const char *aLabel); 1069 bool CompareLabel(const char *&aName, bool aIsSingleLabel) const; 1070 bool CompareLabel(const LabelIterator &aOtherIterator) const;
|
D | dns_client.cpp | 541 error = Name::CompareLabel(*mMessage, labelOffset, aInstanceLabel); in FindPtrRecord()
|
D | mdns.cpp | 3935 SuccessOrExit(Name::CompareLabel(*mMessagePtr, offset, kSubServiceLabel)); in ParseQuestionNameAsSubType() 5221 SuccessOrExit(Name::CompareLabel(message, offset, mSubTypeLabel.AsCString())); in Matches()
|
/openthread-latest/tests/unit/ |
D | test_dns.cpp | 419 SuccessOrQuit(Dns::Name::CompareLabel(*message, offset, label)); in TestDnsName() 423 VerifyOrQuit(Dns::Name::CompareLabel(*message, offset, kBadLabel) == kErrorNotFound, in TestDnsName() 429 SuccessOrQuit(Dns::Name::CompareLabel(*message, offset, label)); in TestDnsName() 746 SuccessOrQuit(Dns::Name::CompareLabel(*message, offset, nameLabel)); in TestDnsCompressedName() 827 SuccessOrQuit(Dns::Name::CompareLabel(*message, offset, nameLabel)); in TestDnsCompressedName() 915 SuccessOrQuit(Dns::Name::CompareLabel(*message, offset, nameLabel)); in TestDnsCompressedName() 980 SuccessOrQuit(Dns::Name::CompareLabel(*message, offset, nameLabel)); in TestDnsCompressedName()
|