/openthread-2.7.6/src/core/common/ |
D | linked_list.hpp | 163 void Push(Type &aEntry) in Push() argument 165 aEntry.SetNext(mHead); in Push() 166 mHead = &aEntry; in Push() 176 void PushAfter(Type &aEntry, Type &aPrevEntry) in PushAfter() argument 178 aEntry.SetNext(aPrevEntry.GetNext()); in PushAfter() 179 aPrevEntry.SetNext(&aEntry); in PushAfter() 243 bool Contains(const Type &aEntry) const in Contains() 247 return Find(aEntry, prev) == kErrorNone; in Contains() 279 Error Add(Type &aEntry) in Add() argument 283 if (Contains(aEntry)) in Add() [all …]
|
D | array.hpp | 224 …Error PushBack(const Type &aEntry) { return IsFull() ? kErrorNoBufs : (mElements[mLength++] = aEnt… in PushBack() argument 267 …Type *Find(const Type &aEntry) { return const_cast<Type *>(const_cast<const Array *>(this)->Find(a… in Find() argument 279 const Type *Find(const Type &aEntry) const in Find() 285 if (element == aEntry) in Find() 306 bool Contains(const Type &aEntry) const { return Find(aEntry) != nullptr; } in Contains()
|
D | pool.hpp | 116 void Free(Type &aEntry) { mFreeList.Push(aEntry); } in Free() argument 161 uint16_t GetIndexOf(const Type &aEntry) const { return static_cast<uint16_t>(&aEntry - mPool); } in GetIndexOf()
|
D | settings.hpp | 839 template <typename EntryType> Error Read(EntryType &aEntry) const in Read() 841 aEntry.Init(); in Read() 843 return ReadEntry(EntryType::kKey, &aEntry, sizeof(EntryType)); in Read() 889 template <typename EntryType> Error Save(const EntryType &aEntry) in Save() argument 893 return SaveEntry(EntryType::kKey, &aEntry, &prev, sizeof(EntryType)); in Save()
|
/openthread-2.7.6/src/core/api/ |
D | srp_client_buffers_api.cpp | 82 char *otSrpClientBuffersGetServiceEntryServiceNameString(otSrpClientBuffersServiceEntry *aEntry, ui… in otSrpClientBuffersGetServiceEntryServiceNameString() argument 84 … return static_cast<Utils::SrpClientBuffers::ServiceEntry *>(aEntry)->GetServiceNameString(*aSize); in otSrpClientBuffersGetServiceEntryServiceNameString() 87 char *otSrpClientBuffersGetServiceEntryInstanceNameString(otSrpClientBuffersServiceEntry *aEntry, u… in otSrpClientBuffersGetServiceEntryInstanceNameString() argument 89 …return static_cast<Utils::SrpClientBuffers::ServiceEntry *>(aEntry)->GetInstanceNameString(*aSize); in otSrpClientBuffersGetServiceEntryInstanceNameString() 92 uint8_t *otSrpClientBuffersGetServiceEntryTxtBuffer(otSrpClientBuffersServiceEntry *aEntry, uint16_… in otSrpClientBuffersGetServiceEntryTxtBuffer() argument 94 return static_cast<Utils::SrpClientBuffers::ServiceEntry *>(aEntry)->GetTxtBuffer(*aSize); in otSrpClientBuffersGetServiceEntryTxtBuffer() 97 const char **otSrpClientBuffersGetSubTypeLabelsArray(otSrpClientBuffersServiceEntry *aEntry, uint16… in otSrpClientBuffersGetSubTypeLabelsArray() argument 99 …return static_cast<Utils::SrpClientBuffers::ServiceEntry *>(aEntry)->GetSubTypeLabelsArray(*aArray… in otSrpClientBuffersGetSubTypeLabelsArray()
|
D | link_api.cpp | 260 …lterGetNextAddress(otInstance *aInstance, otMacFilterIterator *aIterator, otMacFilterEntry *aEntry) in otLinkFilterGetNextAddress() argument 264 OT_ASSERT(aIterator != nullptr && aEntry != nullptr); in otLinkFilterGetNextAddress() 266 return instance.Get<Mac::Filter>().GetNextAddress(*aIterator, *aEntry); in otLinkFilterGetNextAddress() 308 …FilterGetNextRssIn(otInstance *aInstance, otMacFilterIterator *aIterator, otMacFilterEntry *aEntry) in otLinkFilterGetNextRssIn() argument 312 OT_ASSERT(aIterator != nullptr && aEntry != nullptr); in otLinkFilterGetNextRssIn() 314 return instance.Get<Mac::Filter>().GetNextRssIn(*aIterator, *aEntry); in otLinkFilterGetNextRssIn()
|
D | dns_api.cpp | 50 otError otDnsGetNextTxtEntry(otDnsTxtEntryIterator *aIterator, otDnsTxtEntry *aEntry) in otDnsGetNextTxtEntry() argument 52 …ic_cast<Dns::TxtEntry::Iterator *>(aIterator)->GetNextEntry(*static_cast<Dns::TxtEntry *>(aEntry)); in otDnsGetNextTxtEntry()
|
/openthread-2.7.6/tests/unit/ |
D | test_pool.cpp | 68 void VerifyEntry(EntryPool &aPool, const Entry &aEntry, bool aInitWithInstance) in VerifyEntry() argument 73 VerifyOrQuit(aPool.IsPoolEntry(aEntry)); in VerifyEntry() 76 index = aPool.GetIndexOf(aEntry); in VerifyEntry() 77 VerifyOrQuit(&aPool.GetEntryAt(index) == &aEntry); in VerifyEntry() 78 VerifyOrQuit(&constPool.GetEntryAt(index) == &aEntry); in VerifyEntry() 80 …VerifyOrQuit(aEntry.IsInitializedWithInstance() == aInitWithInstance, "Pool did not correctly Init… in VerifyEntry()
|
/openthread-2.7.6/include/openthread/ |
D | srp_client_buffers.h | 147 char *otSrpClientBuffersGetServiceEntryServiceNameString(otSrpClientBuffersServiceEntry *aEntry, ui… 159 char *otSrpClientBuffersGetServiceEntryInstanceNameString(otSrpClientBuffersServiceEntry *aEntry, u… 170 uint8_t *otSrpClientBuffersGetServiceEntryTxtBuffer(otSrpClientBuffersServiceEntry *aEntry, uint16_… 181 const char **otSrpClientBuffersGetSubTypeLabelsArray(otSrpClientBuffersServiceEntry *aEntry, uint16…
|
D | dns.h | 142 otError otDnsGetNextTxtEntry(otDnsTxtEntryIterator *aIterator, otDnsTxtEntry *aEntry);
|
D | link.h | 784 …terGetNextAddress(otInstance *aInstance, otMacFilterIterator *aIterator, otMacFilterEntry *aEntry); 865 …ilterGetNextRssIn(otInstance *aInstance, otMacFilterIterator *aIterator, otMacFilterEntry *aEntry);
|
/openthread-2.7.6/src/core/mac/ |
D | mac_filter.cpp | 121 Error Filter::GetNextAddress(Iterator &aIterator, Entry &aEntry) const in GetNextAddress() 131 aEntry.mExtAddress = entry.mExtAddress; in GetNextAddress() 132 aEntry.mRssIn = entry.mRssIn; in GetNextAddress() 183 Error Filter::GetNextRssIn(Iterator &aIterator, Entry &aEntry) in GetNextRssIn() argument 193 aEntry.mExtAddress = entry.mExtAddress; in GetNextRssIn() 194 aEntry.mRssIn = entry.mRssIn; in GetNextRssIn() 204 static_cast<ExtAddress &>(aEntry.mExtAddress).Fill(0xff); in GetNextRssIn() 205 aEntry.mRssIn = mDefaultRssIn; in GetNextRssIn()
|
D | mac_filter.hpp | 150 Error GetNextAddress(Iterator &aIterator, Entry &aEntry) const; 210 Error GetNextRssIn(Iterator &aIterator, Entry &aEntry);
|
/openthread-2.7.6/src/core/thread/ |
D | network_data_leader_ftd.hpp | 267 …ic bool ContainsMatchingEntry(const PrefixTlv *aPrefix, bool aStable, const HasRouteEntry &aEntry); 268 static bool ContainsMatchingEntry(const HasRouteTlv *aHasRoute, const HasRouteEntry &aEntry); 269 …ool ContainsMatchingEntry(const PrefixTlv *aPrefix, bool aStable, const BorderRouterEntry &aEntry); 270 … bool ContainsMatchingEntry(const BorderRouterTlv *aBorderRouter, const BorderRouterEntry &aEntry);
|
D | network_data_publisher.hpp | 430 …bool IsADnsSrpServiceEntry(const Entry &aEntry) const { return (&aEntry == &mDnsSrpServiceEntry); } in IsADnsSrpServiceEntry() 434 Error AllocatePrefixEntry(const Ip6::Prefix &aPrefix, PrefixEntry *&aEntry); 437 bool IsAPrefixEntry(const Entry &aEntry) const;
|
D | address_resolver.hpp | 219 void SetNext(CacheEntry *aEntry); 302 …void RemoveCacheEntry(CacheEntry &aEntry, CacheEntryList &aList, CacheEntry *aPrevEntry, Re… 330 const CacheEntry &aEntry,
|
D | address_resolver.cpp | 317 void AddressResolver::RemoveCacheEntry(CacheEntry & aEntry, in RemoveCacheEntry() argument 326 Get<MeshForwarder>().HandleResolved(aEntry.GetTarget(), kErrorDrop); in RemoveCacheEntry() 329 LogCacheEntryChange(kEntryRemoved, aReason, aEntry, &aList); in RemoveCacheEntry() 991 const CacheEntry &aEntry, in LogCacheEntryChange() argument 1038 …otLogNoteArp("Cache entry %s: %s, 0x%04x%s%s - %s", change, aEntry.GetTarget().ToString().AsCStrin… in LogCacheEntryChange() 1039 … aEntry.GetRloc16(), (aList == nullptr) ? "" : ", list:", ListToString(aList), reason); in LogCacheEntryChange() 1084 void AddressResolver::CacheEntry::SetNext(CacheEntry *aEntry) in SetNext() argument 1086 VerifyOrExit(aEntry != nullptr, mNextIndex = kNoNextIndex); in SetNext() 1087 mNextIndex = Get<AddressResolver>().GetCacheEntryPool().GetIndexOf(*aEntry); in SetNext()
|
D | network_data_publisher.cpp | 143 Error Publisher::AllocatePrefixEntry(const Ip6::Prefix &aPrefix, PrefixEntry *&aEntry) in AllocatePrefixEntry() argument 153 aEntry = &entry; in AllocatePrefixEntry() 183 bool Publisher::IsAPrefixEntry(const Entry &aEntry) const in IsAPrefixEntry() 185 return (&mPrefixEntries[0] <= &aEntry) && (&aEntry < OT_ARRAY_END(mPrefixEntries)); in IsAPrefixEntry()
|
D | network_data_leader_ftd.cpp | 573 … Leader::ContainsMatchingEntry(const PrefixTlv *aPrefix, bool aStable, const HasRouteEntry &aEntry) in ContainsMatchingEntry() argument 578 …fix == nullptr) ? false : ContainsMatchingEntry(aPrefix->FindSubTlv<HasRouteTlv>(aStable), aEntry); in ContainsMatchingEntry() 581 bool Leader::ContainsMatchingEntry(const HasRouteTlv *aHasRoute, const HasRouteEntry &aEntry) in ContainsMatchingEntry() argument 591 if (*entry == aEntry) in ContainsMatchingEntry() 602 …der::ContainsMatchingEntry(const PrefixTlv *aPrefix, bool aStable, const BorderRouterEntry &aEntry) in ContainsMatchingEntry() argument 607 …== nullptr) ? false : ContainsMatchingEntry(aPrefix->FindSubTlv<BorderRouterTlv>(aStable), aEntry); in ContainsMatchingEntry() 610 …eader::ContainsMatchingEntry(const BorderRouterTlv *aBorderRouter, const BorderRouterEntry &aEntry) in ContainsMatchingEntry() argument 621 if (*entry == aEntry) in ContainsMatchingEntry()
|
D | network_diagnostic_tlvs.hpp | 1102 …Error ReadEntry(ChildTableEntry &aEntry, const Message &aMessage, uint16_t aOffset, uint8_t aIndex… in ReadEntry() argument 1105 … (aMessage.Read(aOffset + sizeof(ChildTableTlv) + (aIndex * sizeof(ChildTableEntry)), aEntry) == in ReadEntry()
|
/openthread-2.7.6/src/core/utils/ |
D | srp_client_buffers.hpp | 174 …void SetNext(ServiceEntry *aEntry) { mService.mNext = reinterpret_cast<Srp::Client::Service *>(aEn… in SetNext() argument
|
D | history_tracker.hpp | 278 void AddNewEntry(const Entry &aEntry) { mEntries[Add(kMaxSize, mTimestamps)] = aEntry; } in AddNewEntry() argument
|
/openthread-2.7.6/src/core/net/ |
D | dns_types.cpp | 887 Error TxtEntry::Iterator::GetNextEntry(TxtEntry &aEntry) in GetNextEntry() argument 899 aEntry.mKey = keyBuffer; in GetNextEntry() 922 aEntry.mValue = reinterpret_cast<const uint8_t *>(&cur[index]); in GetNextEntry() 923 aEntry.mValueLength = length - index; in GetNextEntry() 934 aEntry.mKey = nullptr; in GetNextEntry() 935 aEntry.mValue = reinterpret_cast<const uint8_t *>(cur); in GetNextEntry() 936 aEntry.mValueLength = length; in GetNextEntry() 947 aEntry.mValue = nullptr; in GetNextEntry() 948 aEntry.mValueLength = 0; in GetNextEntry()
|
/openthread-2.7.6/src/ncp/ |
D | ncp_base_ftd.cpp | 122 …se::HandleNeighborTableChanged(otNeighborTableEvent aEvent, const otNeighborTableEntryInfo *aEntry) in HandleNeighborTableChanged() argument 124 GetNcpInstance()->HandleNeighborTableChanged(aEvent, *aEntry); in HandleNeighborTableChanged() 127 …se::HandleNeighborTableChanged(otNeighborTableEvent aEvent, const otNeighborTableEntryInfo &aEntry) in HandleNeighborTableChanged() argument 142 VerifyOrExit(!aEntry.mInfo.mChild.mIsStateRestoring); in HandleNeighborTableChanged() 164 SuccessOrExit(error = EncodeChildInfo(aEntry.mInfo.mChild)); in HandleNeighborTableChanged() 168 SuccessOrExit(error = EncodeNeighborInfo(aEntry.mInfo.mRouter)); in HandleNeighborTableChanged()
|
D | ncp_base.hpp | 302 …id HandleNeighborTableChanged(otNeighborTableEvent aEvent, const otNeighborTableEntryInfo *aEntry); 303 … HandleNeighborTableChanged(otNeighborTableEvent aEvent, const otNeighborTableEntryInfo &aEntry);
|