Lines Matching refs:mElements
154 for (Type &element : mElements) in Array()
207 Type *GetArrayBuffer(void) { return mElements; } in GetArrayBuffer()
214 const Type *GetArrayBuffer(void) const { return mElements; } in GetArrayBuffer()
225 Type &operator[](IndexType aIndex) { return mElements[aIndex]; } in operator []()
236 const Type &operator[](IndexType aIndex) const { return mElements[aIndex]; } in operator []()
247 Type *At(IndexType aIndex) { return (aIndex < mLength) ? &mElements[aIndex] : nullptr; } in At()
258 …const Type *At(IndexType aIndex) const { return (aIndex < mLength) ? &mElements[aIndex] : nullptr;… in At()
298 …Error PushBack(const Type &aEntry) { return IsFull() ? kErrorNoBufs : (mElements[mLength++] = aEnt… in PushBack()
308 Type *PushBack(void) { return IsFull() ? nullptr : &mElements[mLength++]; } in PushBack()
315 Type *PopBack(void) { return IsEmpty() ? nullptr : &mElements[--mLength]; } in PopBack()
326 …e IndexOf(const Type &aElement) const { return static_cast<IndexType>(&aElement - &mElements[0]); } in IndexOf()
505 Type &entry = mElements[index]; in RemoveAllMatching()
555 return (&mElements[0] <= aEntry) && (aEntry < GetArrayEnd(mElements)); in IsInArrayBuffer()
562 Type *begin(void) { return &mElements[0]; } in begin()
563 Type *end(void) { return &mElements[mLength]; } in end()
564 const Type *begin(void) const { return &mElements[0]; } in begin()
565 const Type *end(void) const { return &mElements[mLength]; } in end()
568 Type mElements[kMaxSize]; member in ot::Array