/openthread-3.7.0/src/core/net/ |
D | mdns.hpp | 868 bool Matches(const Ip6::Address *aAddresses, uint16_t aNumAddresses) const; 1056 bool Matches(const Name &aName) const; 1057 bool Matches(const Host &aHost) const; 1058 bool Matches(const Key &aKey) const; 1059 bool Matches(const Heap::String &aName) const; 1060 bool Matches(State aState) const { return GetState() == aState; } in Matches() function in ot::Dns::Multicast::Core::HostEntry 1061 bool Matches(const HostEntry &aEntry) const { return (this == &aEntry); } in Matches() function in ot::Dns::Multicast::Core::HostEntry 1112 bool Matches(const Name &aFullName) const; 1113 bool Matches(const Service &aService) const; 1114 bool Matches(const Key &aKey) const; [all …]
|
D | mdns.cpp | 498 bool Core::AddressArray::Matches(const Ip6::Address *aAddresses, uint16_t aNumAddresses) const in Matches() function in ot::Dns::Multicast::Core::AddressArray 564 if (!mIsPresent || !aDataProperty.Matches(aData, aLength)) in UpdateProperty() 574 if (!mIsPresent || !aAddrProperty.Matches(aAddrs, aNumAddrs)) in UpdateProperty() 1356 bool Core::HostEntry::Matches(const Name &aName) const in Matches() function in ot::Dns::Multicast::Core::HostEntry 1358 return aName.Matches(/* aFirstLabel */ nullptr, mName.AsCString(), kLocalDomain); in Matches() 1361 bool Core::HostEntry::Matches(const Host &aHost) const { return NameMatch(mName, aHost.mHostName); } in Matches() function in ot::Dns::Multicast::Core::HostEntry 1363 bool Core::HostEntry::Matches(const Key &aKey) const { return !IsKeyForService(aKey) && NameMatch(m… in Matches() function in ot::Dns::Multicast::Core::HostEntry 1365 bool Core::HostEntry::Matches(const Heap::String &aName) const { return NameMatch(mName, aName); } in Matches() function in ot::Dns::Multicast::Core::HostEntry 1752 bool Core::ServiceEntry::Matches(const Name &aFullName) const in Matches() function in ot::Dns::Multicast::Core::ServiceEntry 1754 return aFullName.Matches(mServiceInstance.AsCString(), mServiceType.AsCString(), kLocalDomain); in Matches() [all …]
|
D | nat64_translator.hpp | 362 bool Matches(const Ip4::Address &aIp4) const { return mIp4 == aIp4; } in Matches() function in ot::Nat64::Translator::AddressMapping 363 bool Matches(const Ip6::Address &aIp6) const { return mIp6 == aIp6; } in Matches() function in ot::Nat64::Translator::AddressMapping 364 bool Matches(const TimeMilli aNow) const { return mExpiry < aNow; } in Matches() function in ot::Nat64::Translator::AddressMapping
|
D | srp_advertising_proxy.hpp | 253 bool Matches(const CompletionChecker &) const { return IsCompleted(); } in Matches() function 254 …bool Matches(const ExpirationChecker &aChecker) const { return (mExpireTime <= aChecker.mNow)… in Matches() function
|
D | netif.hpp | 233 bool Matches(const Address &aAddress) const { return GetAddress() == aAddress; } in Matches() function in ot::Ip6::Netif::UnicastAddress 280 bool Matches(const Address &aAddress) const { return GetAddress() == aAddress; } in Matches() function in ot::Ip6::Netif::MulticastAddress
|
D | tcp6.hpp | 407 bool Matches(const MessageInfo &aMessageInfo) const; 534 bool Matches(const MessageInfo &aMessageInfo) const;
|
D | srp_server.hpp | 416 bool Matches(const char *aInstanceName) const; 590 bool Matches(const char *aFullName) const; 954 bool Matches(ServiceUpdateId aId) const { return mId == aId; } in Matches() function in ot::Srp::Server::UpdateMetadata
|
/openthread-3.7.0/tests/unit/ |
D | test_mdns.cpp | 144 …bool Matches(const char *aName) const { return StringMatch(mName, aName, kStringCaseInsensi… in Matches() function 182 bool Matches(const char *aName) const { return mName.Matches(aName); } in Matches() function 224 bool Matches(const Array<uint8_t, kMaxDataSize> &aDataArray) const in Matches() function 259 bool Matches(const char *aName) const { return mName.Matches(aName); } in Matches() function 396 … if (record.Matches(aFullName.AsCString()) && (record.mType == ResourceRecord::kTypeAaaa) && in ContainsAaaa() 421 … if (record.Matches(aFullName.AsCString()) && (record.mType == ResourceRecord::kTypeKey) && in ContainsKey() 422 aKeyData.Matches(record.mData.mData)) in ContainsKey() 449 if (record.Matches(aFullName.AsCString()) && (record.mType == ResourceRecord::kTypeSrv)) in ContainsSrv() 457 VerifyOrExit(record.mData.mSrv.mHostName.Matches(hostName.AsCString())); in ContainsSrv() 485 … if (record.Matches(aFullName.AsCString()) && (record.mType == ResourceRecord::kTypeTxt) && in ContainsTxt() [all …]
|
D | test_heap_string.cpp | 174 VerifyOrQuit(aData.Matches(aBytes, aLength)); in VerifyData() 175 VerifyOrQuit(!aData.Matches(aBytes, aLength + 1)); in VerifyData() 182 VerifyOrQuit(aData.Matches(nullptr, 0)); in VerifyData() 194 VerifyOrQuit(aData.Matches(buffer, aLength)); in VerifyData() 196 VerifyOrQuit(!aData.Matches(buffer, aLength)); in VerifyData() 234 VerifyOrQuit(data.Matches(nullptr, 0)); in TestHeapData() 235 VerifyOrQuit(data.Matches(kData1, 0)); in TestHeapData() 236 VerifyOrQuit(!data.Matches(kData1, 1)); in TestHeapData()
|
D | test_array.cpp | 198 bool Matches(const char *aName) const { return strcmp(aName, mName) == 0; } in TestArrayCopyAndFindMatching() function 199 bool Matches(uint16_t aYear) const { return aYear == mYear; } in TestArrayCopyAndFindMatching() function 201 bool Matches(MatchMode aMatchMode) const in TestArrayCopyAndFindMatching() function 389 VerifyOrQuit(!entry.Matches(matchMode)); in TestArrayCopyAndFindMatching() 396 if (!entry.Matches(matchMode)) in TestArrayCopyAndFindMatching()
|
D | test_dns.cpp | 555 … VerifyOrQuit(dnsName.Matches(test.mFirstLabel, test.mLabels, test.mDomain) == test.mShouldMatch); in TestDnsName() 561 … VerifyOrQuit(dnsName.Matches(test.mFirstLabel, test.mLabels, test.mDomain) == test.mShouldMatch); in TestDnsName() 569 VerifyOrQuit(dnsName.Matches("Name.With.Dot", "_srv._udp", "local.")); in TestDnsName() 570 VerifyOrQuit(dnsName.Matches("nAme.with.dOT", "_srv._udp", "local.")); in TestDnsName() 571 VerifyOrQuit(dnsName.Matches("Name.With.Dot", "_srv", "_udp.local.")); in TestDnsName() 573 VerifyOrQuit(!dnsName.Matches("Name", "With.Dot._srv._udp", "local.")); in TestDnsName() 574 VerifyOrQuit(!dnsName.Matches("Name.", "With.Dot._srv._udp", "local.")); in TestDnsName() 575 VerifyOrQuit(!dnsName.Matches("Name.With", "Dot._srv._udp", "local.")); in TestDnsName() 577 VerifyOrQuit(!dnsName.Matches("Name.With.Dott", "_srv._udp", "local.")); in TestDnsName() 578 VerifyOrQuit(!dnsName.Matches("Name.With.Dot.", "_srv._udp", "local.")); in TestDnsName() [all …]
|
D | test_network_data.cpp | 644 bool Matches(Service::DnsSrpAnycast::Info aInfo) const in TestNetworkDataDsnSrpServices() function 660 bool Matches(Service::DnsSrpUnicast::Info aInfo) const in TestNetworkDataDsnSrpServices() function 735 … VerifyOrQuit(entry.Matches(anycastInfo), "GetNextDnsSrpAnycastInfo() returned incorrect info"); in TestNetworkDataDsnSrpServices() 748 VerifyOrQuit(kAnycastEntries[kPreferredAnycastEntryIndex].Matches(anycastInfo), in TestNetworkDataDsnSrpServices() 762 … VerifyOrQuit(entry.Matches(unicastInfo), "GetNextDnsSrpUnicastInfo() returned incorrect info"); in TestNetworkDataDsnSrpServices()
|
/openthread-3.7.0/src/core/utils/ |
D | link_metrics_manager.hpp | 137 … bool Matches(const Mac::ExtAddress &aExtAddress) const { return mExtAddress == aExtAddress; } in Matches() function 138 bool Matches(const LinkMetricsManager &aLinkMetricsMgr);
|
D | power_calibration.hpp | 143 bool Matches(int16_t aActualPower) const { return aActualPower == mActualPower; } in Matches() function in ot::Utils::PowerCalibration::CalibratedPowerEntry
|
/openthread-3.7.0/src/core/radio/ |
D | trel_interface.hpp | 125 … bool Matches(const Mac::ExtAddress &aExtAddress) const { return GetExtAddress() == aExtAddress; } in Matches() function in ot::Trel::Interface::Peer 136 bool Matches(const Ip6::SockAddr &aSockAddr) const { return GetSockAddr() == aSockAddr; } in Matches() function in ot::Trel::Interface::Peer
|
/openthread-3.7.0/src/core/thread/ |
D | neighbor.hpp | 183 bool Matches(const Neighbor &aNeighbor) const; 325 bool Matches(const AddressMatcher &aMatcher) const { return aMatcher.Matches(*this); } in Matches() function in ot::Neighbor
|
D | neighbor_table.cpp | 54 if (mle.GetParent().Matches(aMatcher)) in FindParent() 58 else if (mle.GetParentCandidate().Matches(aMatcher)) in FindParent()
|
/openthread-3.7.0/examples/platforms/utils/ |
D | link_metrics.cpp | 139 …bool Matches(const otShortAddress &aShortAddress) const { return mShortAddress == aShortAddress; }; in Matches() function in LinkMetricsDataInfo 141 bool Matches(const otExtAddress &aExtAddress) const in Matches() function in LinkMetricsDataInfo
|
/openthread-3.7.0/src/core/common/ |
D | array.hpp | 467 if (element.Matches(aIndicator)) in FindMatching() 544 if (entry.Matches(aIndicator)) in RemoveAllMatching()
|
D | notifier.cpp | 66 VerifyOrExit(!callback.Matches(aCallback, aContext), error = kErrorAlready); in RegisterCallback() 88 if (callback.Matches(aCallback, aContext)) in RemoveCallback()
|
D | heap_data.hpp | 182 bool Matches(const uint8_t *aBuffer, uint16_t aLength) const;
|
D | linked_list.hpp | 397 if (entry->Matches(aIndicator)) in RemoveAllMatching() 492 if (entry->Matches(aIndicator)) in FindMatching()
|
D | heap_data.cpp | 81 bool Data::Matches(const uint8_t *aBuffer, uint16_t aLength) const in Matches() function in ot::Heap::Data
|
D | callback.hpp | 118 bool Matches(HandlerType aHandler, void *aContext) const in Matches() function in ot::CallbackBase
|
/openthread-3.7.0/src/core/border_router/ |
D | routing_manager.hpp | 679 bool Matches(const Ip6::Prefix &aPrefix) const { return (mPrefix == aPrefix); } in Matches() function in ot::BorderRouter::RoutingManager::LifetimedPrefix 680 bool Matches(const UlaChecker &aIsUla) const { return (mPrefix.IsUniqueLocal() == aIsUla); } in Matches() function in ot::BorderRouter::RoutingManager::LifetimedPrefix 681 …bool Matches(const ExpirationChecker &aChecker) const { return (GetExpireTime() <= aChecker.mNow);… in Matches() function in ot::BorderRouter::RoutingManager::LifetimedPrefix 830 bool Matches(const Ip6::Address &aAddress) const { return aAddress == mAddress; } in Matches() function 831 bool Matches(EmptyChecker aChecker) const; 1060 bool Matches(const Ip6::Prefix &aPrefix) const { return mPrefix == aPrefix; } in Matches() function 1119 bool Matches(const Ip6::Prefix &aPrefix) const { return (mPrefix == aPrefix); } in Matches() function
|