Home
last modified time | relevance | path

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

/hardware/google/aemu/base/include/aemu/base/containers/
DCircularBuffer.h38 mBuf(capacity), mSize(0), mFrontIdx(0), mBackIdx(0) { in CircularBuffer()
56 return mBuf[mFrontIdx]; in front()
62 return mBuf[mFrontIdx]; in front()
69 return mBuf[(mFrontIdx + mSize - 1) % mBuf.size()]; in back()
75 return mBuf[(mFrontIdx + mSize - 1) % mBuf.size()]; in back()
83 mFrontIdx = (mFrontIdx + 1) % mBuf.size(); in pop_front()
108 return mBuf[(mFrontIdx + idx) % mBuf.size()];
113 return mBuf[(mFrontIdx + idx) % mBuf.size()];
123 mFrontIdx = (mFrontIdx + 1) % mBuf.size(); in incrementBackIdx()
136 int mFrontIdx; variable