Searched refs:mReadHead (Results 1 – 2 of 2) sorted by relevance
30 mReadHead = 0; in SkipCutBuffer()133 mWriteHead = mReadHead = 0; in clear()138 int32_t sizeused = (mWriteHead - mReadHead); in write()148 if (mWriteHead < mReadHead) { in write()151 size_t copyLeft = mCapacity - mReadHead; in write()152 memcpy(newbuffer, mCutBuffer + mReadHead, copyLeft); in write()154 mReadHead = 0; in write()157 memcpy(newbuffer, mCutBuffer + mReadHead, mWriteHead - mReadHead); in write()158 mWriteHead -= mReadHead; in write()159 mReadHead = 0; in write()[all …]
59 int32_t mReadHead; variable