/openthread-latest/src/core/net/ |
D | mdns.hpp | 870 bool Matches(const Ip6::Address *aAddresses, uint16_t aNumAddresses) const; 1061 bool Matches(const Name &aName) const; 1062 bool Matches(const Host &aHost) const; 1063 bool Matches(const Key &aKey) const; 1064 bool Matches(const Heap::String &aName) const; 1065 bool Matches(State aState) const { return GetState() == aState; } in Matches() function in ot::Dns::Multicast::Core::HostEntry 1066 bool Matches(const HostEntry &aEntry) const { return (this == &aEntry); } in Matches() function in ot::Dns::Multicast::Core::HostEntry 1117 bool Matches(const Name &aFullName) const; 1118 bool Matches(const Service &aService) const; 1119 bool Matches(const Key &aKey) const; [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 | mdns.cpp | 499 bool Core::AddressArray::Matches(const Ip6::Address *aAddresses, uint16_t aNumAddresses) const in Matches() function in ot::Dns::Multicast::Core::AddressArray 565 if (!mIsPresent || !aDataProperty.Matches(aData, aLength)) in UpdateProperty() 575 if (!mIsPresent || !aAddrProperty.Matches(aAddrs, aNumAddrs)) in UpdateProperty() 1366 bool Core::HostEntry::Matches(const Name &aName) const in Matches() function in ot::Dns::Multicast::Core::HostEntry 1368 return aName.Matches(/* aFirstLabel */ nullptr, mName.AsCString(), kLocalDomain); in Matches() 1371 bool Core::HostEntry::Matches(const Host &aHost) const { return NameMatch(mName, aHost.mHostName); } in Matches() function in ot::Dns::Multicast::Core::HostEntry 1373 bool Core::HostEntry::Matches(const Key &aKey) const { return !IsKeyForService(aKey) && NameMatch(m… in Matches() function in ot::Dns::Multicast::Core::HostEntry 1375 bool Core::HostEntry::Matches(const Heap::String &aName) const { return NameMatch(mName, aName); } in Matches() function in ot::Dns::Multicast::Core::HostEntry 1763 bool Core::ServiceEntry::Matches(const Name &aFullName) const in Matches() function in ot::Dns::Multicast::Core::ServiceEntry 1765 return aFullName.Matches(mServiceInstance.AsCString(), mServiceType.AsCString(), kLocalDomain); in Matches() [all …]
|
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-latest/tests/unit/ |
D | test_mdns.cpp | 147 …bool Matches(const char *aName) const { return StringMatch(mName, aName, kStringCaseInsensi… in Matches() function 185 bool Matches(const char *aName) const { return mName.Matches(aName); } in Matches() function 228 bool Matches(const Array<uint8_t, kMaxDataSize> &aDataArray) const in Matches() function 263 bool Matches(const char *aName) const { return mName.Matches(aName); } in Matches() function 403 … if (record.Matches(aFullName.AsCString()) && (record.mType == ResourceRecord::kTypeAaaa) && in ContainsAaaa() 428 … if (record.Matches(aFullName.AsCString()) && (record.mType == ResourceRecord::kTypeKey) && in ContainsKey() 429 aKeyData.Matches(record.mData.mData)) in ContainsKey() 456 if (record.Matches(aFullName.AsCString()) && (record.mType == ResourceRecord::kTypeSrv)) in ContainsSrv() 464 VerifyOrExit(record.mData.mSrv.mHostName.Matches(hostName.AsCString())); in ContainsSrv() 492 … 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 | 640 bool Matches(Service::DnsSrpAnycastInfo aInfo) const in TestNetworkDataDsnSrpServices() function 655 bool Matches(const Service::DnsSrpUnicastInfo &aInfo) const in TestNetworkDataDsnSrpServices() function 739 … VerifyOrQuit(entry.Matches(anycastInfo), "GetNextDnsSrpAnycastInfo() returned incorrect info"); in TestNetworkDataDsnSrpServices() 752 VerifyOrQuit(kAnycastEntries[kPreferredAnycastEntryIndex].Matches(anycastInfo), in TestNetworkDataDsnSrpServices() 767 … VerifyOrQuit(entry.Matches(unicastInfo), "GetNextDnsSrpUnicastInfo() returned incorrect info"); in TestNetworkDataDsnSrpServices() 785 … VerifyOrQuit(entry.Matches(unicastInfo), "GetNextDnsSrpUnicastInfo() returned incorrect info"); in TestNetworkDataDsnSrpServices()
|
/openthread-latest/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-latest/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-latest/src/core/thread/ |
D | neighbor.hpp | 182 bool Matches(const Neighbor &aNeighbor) const; 324 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-latest/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-latest/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-latest/src/core/border_router/ |
D | routing_manager.hpp | 742 bool Matches(const Ip6::Prefix &aPrefix) const { return (mPrefix == aPrefix); } in Matches() function in ot::BorderRouter::RoutingManager::LifetimedPrefix 743 …bool Matches(const ExpirationChecker &aChecker) const { return (GetExpireTime() <= aChecker.mNow);… in Matches() function in ot::BorderRouter::RoutingManager::LifetimedPrefix 833 bool Matches(uint16_t aRloc16) const { return mRloc16 == aRloc16; } in Matches() function 834 … bool Matches(const Filter &aFilter) const { return !aFilter.mExcludeRlocs.Contains(mRloc16); } in Matches() function 956 bool Matches(const Ip6::Address &aAddress) const { return aAddress == mAddress; } in Matches() function 957 bool Matches(const EmptyChecker &aChecker); 1227 bool Matches(const Ip6::Prefix &aPrefix) const { return mPrefix == aPrefix; } in Matches() function 1286 bool Matches(const Ip6::Prefix &aPrefix) const { return (mPrefix == aPrefix); } in Matches() function
|