Home
last modified time | relevance | path

Searched refs:mPool (Results 1 – 3 of 3) sorted by relevance

/openthread-latest/src/core/common/
Dpool.hpp72 for (Type &entry : mPool) in Pool()
89 for (Type &entry : mPool) in Pool()
121 for (Type &entry : mPool) in FreeAll()
142 …sPoolEntry(const Type &aObject) const { return (&mPool[0] <= &aObject) && (&aObject < GetArrayEnd( in IsPoolEntry()
153 uint16_t GetIndexOf(const Type &aEntry) const { return static_cast<uint16_t>(&aEntry - mPool); } in GetIndexOf()
164 Type &GetEntryAt(uint16_t aIndex) { return mPool[aIndex]; } in GetEntryAt()
175 const Type &GetEntryAt(uint16_t aIndex) const { return mPool[aIndex]; } in GetEntryAt()
179 Type mPool[kPoolSize]; member in ot::Pool
/openthread-latest/src/core/utils/
Dlink_metrics_manager.cpp135 Subject *subject = mPool.Allocate(); in UpdateSubjects()
160 mPool.Free(*subject); in UpdateLinkMetricsStates()
178 mPool.Free(*subject); in ReleaseAllSubjects()
Dlink_metrics_manager.hpp211 Pool<Subject, kMaximumSubjectToTrack> mPool; member in ot::Utils::LinkMetricsManager