Home
last modified time | relevance | path

Searched refs:Find (Results 1 – 25 of 66) sorted by relevance

123

/openthread-3.7.0/src/core/thread/
Dnetwork_data_tlvs.cpp42 const NetworkDataTlv *NetworkDataTlv::Find(const NetworkDataTlv *aStart, const NetworkDataTlv *aEnd… in Find() function in ot::NetworkData::NetworkDataTlv
60 const NetworkDataTlv *NetworkDataTlv::Find(const NetworkDataTlv *aStart, in Find() function in ot::NetworkData::NetworkDataTlv
84 const NetworkDataTlv *PrefixTlv::FindSubTlv(Type aType) const { return Find(GetSubTlvs(), GetNext()… in FindSubTlv()
88 return Find(GetSubTlvs(), GetNext(), aType, aStable); in FindSubTlv()
122 const NetworkDataTlv *tlv = NetworkDataTlv::Find(mStart, mEnd, aType); in Iterate()
133 const NetworkDataTlv *tlv = NetworkDataTlv::Find(mStart, mEnd, aType, aStable); in Iterate()
Dnetwork_data_tlvs.hpp270 static NetworkDataTlv *Find(NetworkDataTlv *aStart, NetworkDataTlv *aEnd, Type aType) in Find() function in ot::NetworkData::NetworkDataTlv
272 return AsNonConst(Find(AsConst(aStart), AsConst(aEnd), aType)); in Find()
285 …static const NetworkDataTlv *Find(const NetworkDataTlv *aStart, const NetworkDataTlv *aEnd, Type a…
298 template <typename TlvType> static TlvType *Find(NetworkDataTlv *aStart, NetworkDataTlv *aEnd) in Find() function in ot::NetworkData::NetworkDataTlv
300 return As<TlvType>(Find(aStart, aEnd, TlvType::kType)); in Find()
314 …template <typename TlvType> static const TlvType *Find(const NetworkDataTlv *aStart, const Network… in Find() function in ot::NetworkData::NetworkDataTlv
316 return As<TlvType>(Find(aStart, aEnd, TlvType::kType)); in Find()
331 …static NetworkDataTlv *Find(NetworkDataTlv *aStart, NetworkDataTlv *aEnd, Type aType, bool aStable) in Find() function in ot::NetworkData::NetworkDataTlv
333 return AsNonConst(Find(AsConst(aStart), AsConst(aEnd), aType, aStable)); in Find()
348 static const NetworkDataTlv *Find(const NetworkDataTlv *aStart,
[all …]
Dannounce_begin_server.cpp76 SuccessOrExit(Tlv::Find<MeshCoP::CountTlv>(aMessage, count)); in HandleTmf()
77 SuccessOrExit(Tlv::Find<MeshCoP::PeriodTlv>(aMessage, period)); in HandleTmf()
Denergy_scan_server.cpp74 SuccessOrExit(Tlv::Find<MeshCoP::CountTlv>(aMessage, count)); in HandleTmf()
75 SuccessOrExit(Tlv::Find<MeshCoP::PeriodTlv>(aMessage, period)); in HandleTmf()
76 SuccessOrExit(Tlv::Find<MeshCoP::ScanDurationTlv>(aMessage, scanDuration)); in HandleTmf()
Dmle_router.cpp702 switch (Tlv::Find<SourceAddressTlv>(aRxInfo.mMessage, sourceAddress)) in HandleLinkRequest()
751 …neighbor->SetTimeSyncEnabled(Tlv::Find<TimeRequestTlv>(aRxInfo.mMessage, nullptr, 0) == kErrorNone… in HandleLinkRequest()
890 SuccessOrExit(error = Tlv::Find<SourceAddressTlv>(aRxInfo.mMessage, sourceAddress)); in HandleLinkAccept()
932 switch (Tlv::Find<LinkMarginTlv>(aRxInfo.mMessage, linkMargin)) in HandleLinkAccept()
950 SuccessOrExit(error = Tlv::Find<Address16Tlv>(aRxInfo.mMessage, address16)); in HandleLinkAccept()
1404 SuccessOrExit(error = Tlv::Find<ScanMaskTlv>(aRxInfo.mMessage, scanMask)); in HandleParentRequest()
1434 … child->SetTimeSyncEnabled(Tlv::Find<TimeRequestTlv>(aRxInfo.mMessage, nullptr, 0) == kErrorNone); in HandleParentRequest()
2004 SuccessOrExit(error = Tlv::Find<TimeoutTlv>(aRxInfo.mMessage, timeout)); in HandleChildIdRequest()
2008 switch (Tlv::Find<SupervisionIntervalTlv>(aRxInfo.mMessage, supervisionInterval)) in HandleChildIdRequest()
2020 switch (Tlv::Find<ActiveTimestampTlv>(aRxInfo.mMessage, timestamp)) in HandleChildIdRequest()
[all …]
Danycast_locator.cpp102 SuccessOrExit(Tlv::Find<ThreadMeshLocalEidTlv>(*aMessage, meshLocalAddress.GetIid())); in HandleResponse()
103 SuccessOrExit(Tlv::Find<ThreadRloc16Tlv>(*aMessage, rloc16)); in HandleResponse()
Daddress_resolver.cpp665 SuccessOrExit(Tlv::Find<ThreadTargetTlv>(aMessage, target)); in HandleTmf()
666 SuccessOrExit(Tlv::Find<ThreadMeshLocalEidTlv>(aMessage, meshLocalIid)); in HandleTmf()
667 SuccessOrExit(Tlv::Find<ThreadRloc16Tlv>(aMessage, rloc16)); in HandleTmf()
669 switch (Tlv::Find<ThreadLastTransactionTimeTlv>(aMessage, lastTransactionTime)) in HandleTmf()
785 SuccessOrExit(error = Tlv::Find<ThreadTargetTlv>(aMessage, target)); in HandleTmf()
786 SuccessOrExit(error = Tlv::Find<ThreadMeshLocalEidTlv>(aMessage, meshLocalIid)); in HandleTmf()
852 SuccessOrExit(Tlv::Find<ThreadTargetTlv>(aMessage, target)); in HandleTmf()
Dnetwork_data_leader_ftd.cpp138 switch (Tlv::Find<ThreadRloc16Tlv>(aMessage, rloc16)) in HandleTmf()
180 …VerifyOrExit(Tlv::Find<MeshCoP::BorderAgentLocatorTlv>(aMessage, borderAgentRloc) == kErrorNotFoun… in HandleTmf()
182 SuccessOrExit(Tlv::Find<MeshCoP::CommissionerSessionIdTlv>(aMessage, sessionId)); in HandleTmf()
755 server = NetworkDataTlv::Find<ServerTlv>(aService.GetSubTlvs(), aService.GetNext()); in AddService()
1100 while ((server = NetworkDataTlv::Find<ServerTlv>(start, aService.GetNext())) != nullptr) in RemoveRlocInService()
1179 while ((prefix = NetworkDataTlv::Find<PrefixTlv>(start, GetTlvsEnd())) != nullptr) in RemoveContext()
1200 while ((context = NetworkDataTlv::Find<ContextTlv>(start, aPrefix.GetNext())) != nullptr) in RemoveContext()
/openthread-3.7.0/src/core/common/
Dbinary_search.hpp73 static const Entry *Find(const Key &aKey, const Entry (&aTable)[kLength]) in Find() function in ot::BinarySearch
76 Find(&aKey, &aTable[0], kLength, sizeof(aTable[0]), BinarySearch::Compare<Key, Entry>)); in Find()
118 static const void *Find(const void *aKey,
Darray.hpp387 Type *Find(const Type &aEntry) { return AsNonConst(AsConst(this)->Find(aEntry)); } in Find() function in ot::Array
399 const Type *Find(const Type &aEntry) const in Find() function in ot::Array
426 bool Contains(const Type &aEntry) const { return Find(aEntry) != nullptr; } in Contains()
Dlinked_list.hpp268 return Find(aEntry, prev) == kErrorNone; in Contains()
331 Error error = Find(aEntry, prev); in Remove()
424 Error Find(const Type &aEntry, const Type *&aPrevEntry) const in Find() function in ot::LinkedList
454 Error Find(const Type &aEntry, Type *&aPrevEntry) in Find() function in ot::LinkedList
456 return AsConst(this)->Find(aEntry, const_cast<const Type *&>(aPrevEntry)); in Find()
Dheap_array.hpp390 Type *Find(const Type &aEntry) { return AsNonConst(AsConst(this)->Find(aEntry)); } in Find() function in ot::Heap::Array
403 const Type *Find(const Type &aEntry) const in Find() function in ot::Heap::Array
430 bool Contains(const Type &aEntry) const { return Find(aEntry) != nullptr; } in Contains()
Dtlvs.hpp448 …template <typename TlvType> static Error Find(const Message &aMessage, void *aValue, uint8_t aLeng… in Find() function in ot::Tlv
474 static Error Find(const Message &aMessage, typename SimpleTlvType::ValueType &aValue) in Find() function in ot::Tlv
497 static Error Find(const Message &aMessage, typename UintTlvType::UintValueType &aValue) in Find() function in ot::Tlv
523 static Error Find(const Message &aMessage, typename StringTlvType::StringType &aValue) in Find() function in ot::Tlv
668 template <typename TlvType> static TlvType *Find(void *aTlvsStart, uint16_t aTlvsLength) in Find() function in ot::Tlv
684 …template <typename TlvType> static const TlvType *Find(const void *aTlvsStart, uint16_t aTlvsLengt… in Find() function in ot::Tlv
Dbinary_search.cpp40 const void *BinarySearch::Find(const void *aKey, in Find() function in ot::BinarySearch
/openthread-3.7.0/tests/unit/
Dtest_binary_search.cpp81 entry = BinarySearch::Find(name, kTable); in TestBinarySearch()
86 entry = BinarySearch::Find(name, kTable); in TestBinarySearch()
90 …VerifyOrQuit(BinarySearch::Find("dragon age", kTable) == nullptr, "failed with non-exiting match"); in TestBinarySearch()
Dtest_linked_list.cpp107 SuccessOrQuit(aList->Find(*argEntry, prev)); in VerifyLinkedListContent()
146 VerifyOrQuit(list.Find(a, prev) == kErrorNotFound, "succeeded when empty"); in TestLinkedList()
153 VerifyOrQuit(list.Find(b, prev) == kErrorNotFound, "succeeded for a missing entry"); in TestLinkedList()
157 VerifyOrQuit(list.Find(c, prev) == kErrorNotFound, "succeeded for a missing entry"); in TestLinkedList()
175 VerifyOrQuit(list.Find(e, prev) == kErrorNotFound, "succeeded for a missing entry"); in TestLinkedList()
196 VerifyOrQuit(list.Find(c, prev) == kErrorNotFound, "succeeded for a missing entry"); in TestLinkedList()
200 VerifyOrQuit(list.Find(e, prev) == kErrorNotFound, "succeeded for a missing entry"); in TestLinkedList()
204 VerifyOrQuit(list.Find(a, prev) == kErrorNotFound, "succeeded for a missing entry"); in TestLinkedList()
252 VerifyOrQuit(list.Find(a, prev) == kErrorNotFound, "succeeded for a missing entry"); in TestLinkedList()
Dtest_array.cpp103 VerifyOrQuit(array.Find(seed + index + 1) == &array[index]); in TestArray()
106 VerifyOrQuit(array.Find(seed) == nullptr); in TestArray()
326 match = array2.Find(entryToRemove); in TestArrayCopyAndFindMatching()
/openthread-3.7.0/src/core/backbone_router/
Dbbr_manager.cpp178 if (Tlv::Find<ThreadCommissionerSessionIdTlv>(aMessage, commissionerSessionId) == kErrorNone) in HandleMulticastListenerRegistration()
189 …processTimeoutTlv = hasCommissionerSessionIdTlv && (Tlv::Find<ThreadTimeoutTlv>(aMessage, timeout)… in HandleMulticastListenerRegistration()
383 SuccessOrExit(error = Tlv::Find<ThreadTargetTlv>(aMessage, target)); in HandleDuaRegistration()
384 SuccessOrExit(error = Tlv::Find<ThreadMeshLocalEidTlv>(aMessage, meshLocalIid)); in HandleDuaRegistration()
406 …hasLastTransactionTime = (Tlv::Find<ThreadLastTransactionTimeTlv>(aMessage, lastTransactionTime) =… in HandleDuaRegistration()
561 SuccessOrExit(error = Tlv::Find<ThreadTargetTlv>(aMessage, dua)); in HandleTmf()
563 error = Tlv::Find<ThreadRloc16Tlv>(aMessage, rloc16); in HandleTmf()
595 SuccessOrExit(error = Tlv::Find<ThreadTargetTlv>(aMessage, dua)); in HandleTmf()
596 SuccessOrExit(error = Tlv::Find<ThreadMeshLocalEidTlv>(aMessage, meshLocalIid)); in HandleTmf()
597 …SuccessOrExit(error = Tlv::Find<ThreadLastTransactionTimeTlv>(aMessage, timeSinceLastTransaction)); in HandleTmf()
[all …]
/openthread-3.7.0/src/core/meshcop/
Dmeshcop_leader.cpp80 SuccessOrExit(Tlv::Find<CommissionerIdTlv>(aMessage, commissionerId)); in HandleTmf()
142 SuccessOrExit(Tlv::Find<StateTlv>(aMessage, state)); in HandleTmf()
144 SuccessOrExit(Tlv::Find<CommissionerSessionIdTlv>(aMessage, sessionId)); in HandleTmf()
Dcommissioner.cpp743 …VerifyOrExit(aMessage->GetCode() == Coap::kCodeChanged && Tlv::Find<StateTlv>(*aMessage, state) ==… in HandleMgmtCommissionerSetResponse()
801 SuccessOrExit(Tlv::Find<StateTlv>(*aMessage, state)); in HandleLeaderPetitionResponse()
804 SuccessOrExit(Tlv::Find<CommissionerSessionIdTlv>(*aMessage, mSessionId)); in HandleLeaderPetitionResponse()
887 SuccessOrExit(Tlv::Find<StateTlv>(*aMessage, state)); in HandleLeaderKeepAliveResponse()
912 SuccessOrExit(error = Tlv::Find<JoinerUdpPortTlv>(aMessage, joinerPort)); in HandleTmf()
913 SuccessOrExit(error = Tlv::Find<JoinerIidTlv>(aMessage, joinerIid)); in HandleTmf()
914 SuccessOrExit(error = Tlv::Find<JoinerRouterLocatorTlv>(aMessage, joinerRloc)); in HandleTmf()
1005 switch (Tlv::Find<ProvisioningUrlTlv>(aMessage, provisioningUrl)) in HandleTmf()
Djoiner_router.cpp186 SuccessOrExit(error = Tlv::Find<JoinerUdpPortTlv>(aMessage, joinerPort)); in HandleTmf()
187 SuccessOrExit(error = Tlv::Find<JoinerIidTlv>(aMessage, joinerIid)); in HandleTmf()
200 if (Tlv::Find<JoinerRouterKekTlv>(aMessage, kek) == kErrorNone) in HandleTmf()
/openthread-3.7.0/src/lib/spinel/
Dspinel_driver.hpp238 const Type *Find(const Type &aEntry) const in Find() function in ot::Spinel::SpinelDriver::Array
254 bool Contains(const Type &aEntry) const { return Find(aEntry) != nullptr; } in Contains()
/openthread-3.7.0/third_party/mbedtls/repo/tests/suites/
Dtest_suite_asn1parse.data589 Find named data: not found
592 Find named data: empty haystack
595 Find named data: first
598 Find named data: last
601 Find named data: skip suffix
604 Find named data: skip prefix
607 Find named data: first match
/openthread-3.7.0/src/core/net/
Dip6_filter.cpp120 entry = mUnsecurePorts.Find(aPort); in UpdateUnsecurePorts()
/openthread-3.7.0/src/core/utils/
Dmesh_diag.cpp280 SuccessOrExit(Tlv::Find<QueryIdTlv>(aMessage, queryId)); in ProcessMessage()
494 SuccessOrExit(error = Tlv::Find<Address16Tlv>(aMessage, mRloc16)); in ParseFrom()
495 SuccessOrExit(error = Tlv::Find<ExtMacAddressTlv>(aMessage, AsCoreType(&mExtAddress))); in ParseFrom()
498 switch (error = Tlv::Find<VersionTlv>(aMessage, mVersion)) in ParseFrom()

123