Searched refs:mReadIndex (Results 1 – 3 of 3) sorted by relevance
27 SHCircularBuffer() : mReadIndex(0), mWriteIndex(0), mReadAvailable(0) { in SHCircularBuffer()35 mReadIndex = 0; in resize()53 value = mBuffer[mReadIndex++]; in read()54 if (mReadIndex >= getSize()) { in read()55 mReadIndex = 0; in read()75 size_t mReadIndex; variable
82 private int mReadIndex; field in EncodedBuffer131 mReadIndex = 0; in startEditing()140 mReadIndex = 0; in rewindRead()166 return ((mReadBufIndex) * mChunkSize) + mReadIndex; in getReadPos()179 if (amount <= mChunkSize - mReadIndex) { in skipRead()180 mReadIndex += amount; in skipRead()182 amount -= mChunkSize - mReadIndex; in skipRead()183 mReadIndex = amount % mChunkSize; in skipRead()184 if (mReadIndex == 0) { in skipRead()185 mReadIndex = mChunkSize; in skipRead()[all …]
113 &mReadIndex, in TestFifoBuffer()333 fifo_counter_t mReadIndex = 0; member in TestFifoBuffer