Lines Matching refs:Name

1481 bool Core::HostEntry::Matches(const Name &aName) const  in Matches()
1891 bool Core::ServiceEntry::Matches(const Name &aFullName) const in Matches()
1896 bool Core::ServiceEntry::MatchesServiceType(const Name &aServiceType) const in MatchesServiceType()
2847 bool Core::ServiceType::Matches(const Name &aServiceTypeName) const in Matches()
3120 SuccessOrAssert(Name::AppendPointerLabel(aCompressOffset, message)); in AppendLabels()
3129 SuccessOrAssert(Name::AppendLabel(aLabels, message)); in AppendLabels()
3133 SuccessOrAssert(Name::AppendMultipleLabels(aLabels, message)); in AppendLabels()
3148 Name::Buffer labelsBuffer; in AppendServiceType()
3151 if (Name::ExtractLabels(serviceLabels, kUdpServiceLabel, labelsBuffer) == kErrorNone) in AppendServiceType()
3156 else if (Name::ExtractLabels(serviceLabels, kTcpServiceLabel, labelsBuffer) == kErrorNone) in AppendServiceType()
3188 SuccessOrAssert(Name::AppendPointerLabel(mDomainOffset, message)); in AppendDomainName()
3193 SuccessOrAssert(Name::AppendName(kLocalDomain, message)); in AppendDomainName()
3205 SuccessOrAssert(Name::AppendPointerLabel(mServicesDnssdOffset, message)); in AppendServicesDnssdName()
3210 SuccessOrAssert(Name::AppendMultipleLabels(kServicesDnssdLabels, message)); in AppendServicesDnssdName()
3221 IgnoreError(Name::ParseName(aMessage, offset)); in AddQuestionFrom()
3561 SuccessOrExit(error = Name::ParseName(*aMessagePtr, offset)); in Init()
3586 Name name(*aMessagePtr, question.mNameOffset); in Init()
3688 Name name(*mMessagePtr, aQuestion.mNameOffset); in ProcessQuestion()
3748 Name::LabelBuffer subLabel; in ProcessQuestion()
3749 Name baseType; in ProcessQuestion()
3835 Name serviceType(*mMessagePtr, aQuestion.mNameOffset); in AnswerServiceTypeQuestion()
3836 Name baseType; in AnswerServiceTypeQuestion()
3837 Name::LabelBuffer labelBuffer; in AnswerServiceTypeQuestion()
3883 bool Core::RxMessage::ShouldSuppressKnownAnswer(const Name &aServiceType, in ShouldSuppressKnownAnswer()
3910 if (aServiceEntry.Matches(Name(*mMessagePtr, offset))) in ShouldSuppressKnownAnswer()
3919 SuccessOrExit(Name::ParseName(*mMessagePtr, offset)); in ShouldSuppressKnownAnswer()
3927 Name::LabelBuffer &aSubLabel, in ParseQuestionNameAsSubType()
3928 Name &aServiceType) const in ParseQuestionNameAsSubType()
3934 SuccessOrExit(Name::ReadLabel(*mMessagePtr, offset, aSubLabel, length)); in ParseQuestionNameAsSubType()
3935 SuccessOrExit(Name::CompareLabel(*mMessagePtr, offset, kSubServiceLabel)); in ParseQuestionNameAsSubType()
3976 Name name(*mMessagePtr, aQuestion.mNameOffset); in ShouldSuppressKnownAnswer()
3997 if (aServiceType.Matches(Name(*mMessagePtr, offset))) in ShouldSuppressKnownAnswer()
4006 SuccessOrExit(Name::ParseName(*mMessagePtr, offset)); in ShouldSuppressKnownAnswer()
4109 Name name(*mMessagePtr, offset); in IterateOnAllRecordsInResponse()
4112 IgnoreError(Name::ParseName(*mMessagePtr, offset)); in IterateOnAllRecordsInResponse()
4127 void Core::RxMessage::ProcessRecordForConflict(const Name &aName, const ResourceRecord &aRecord, ui… in ProcessRecordForConflict()
4152 void Core::RxMessage::ProcessPtrRecord(const Name &aName, const ResourceRecord &aRecord, uint16_t a… in ProcessPtrRecord()
4167 void Core::RxMessage::ProcessSrvRecord(const Name &aName, const ResourceRecord &aRecord, uint16_t a… in ProcessSrvRecord()
4182 void Core::RxMessage::ProcessTxtRecord(const Name &aName, const ResourceRecord &aRecord, uint16_t a… in ProcessTxtRecord()
4197 void Core::RxMessage::ProcessAaaaRecord(const Name &aName, const ResourceRecord &aRecord, uint16_t … in ProcessAaaaRecord()
4212 void Core::RxMessage::ProcessARecord(const Name &aName, const ResourceRecord &aRecord, uint16_t aRe… in ProcessARecord()
5208 bool Core::BrowseCache::Matches(const Name &aFullName) const in Matches()
5212 Name name = aFullName; in Matches()
5221 SuccessOrExit(Name::CompareLabel(message, offset, mSubTypeLabel.AsCString())); in Matches()
5267 Name::Buffer fullServiceType; in ProcessResponseRecord()
5268 Name::Buffer serviceInstance; in ProcessResponseRecord()
5280 VerifyOrExit(Name(fullServiceType).Matches(nullptr, mServiceType.AsCString(), kLocalDomain)); in ProcessResponseRecord()
5420 SuccessOrAssert(Name::AppendLabel(aPtrEntry.mServiceInstance.AsCString(), message)); in AppendKnownAnswer()
5537 bool Core::ServiceCache::Matches(const Name &aFullName) const in Matches()
5613 bool Core::SrvCache::Matches(const Name &aFullName) const { return ServiceCache::Matches(aFullName)… in Matches()
5637 Name::Buffer hostFullName; in ProcessResponseRecord()
5638 Name::Buffer hostName; in ProcessResponseRecord()
5649 SuccessOrExit(Name::ExtractLabels(hostFullName, kLocalDomain, hostName)); in ProcessResponseRecord()
5811 bool Core::TxtCache::Matches(const Name &aFullName) const { return ServiceCache::Matches(aFullName)… in Matches()
5994 bool Core::AddrCache::Matches(const Name &aFullName) const in Matches()