Searched refs:mElements (Results 1 – 2 of 2) sorted by relevance
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()[all …]
247 return IsFull() ? OT_ERROR_NO_BUFS : (mElements[mLength++] = aEntry, OT_ERROR_NONE); in PushBack()268 Type *begin(void) { return &mElements[0]; } in begin()269 Type *end(void) { return &mElements[mLength]; } in end()270 const Type *begin(void) const { return &mElements[0]; } in begin()271 const Type *end(void) const { return &mElements[mLength]; } in end()274 Type mElements[kMaxSize]; member in ot::Spinel::SpinelDriver::Array