Searched refs:mWriteHead (Results 1 – 2 of 2) sorted by relevance
29 mWriteHead = 0; in SkipCutBuffer()133 mWriteHead = mReadHead = 0; in clear()138 int32_t sizeused = (mWriteHead - mReadHead); in write()148 if (mWriteHead < mReadHead) { in write()153 memcpy(newbuffer + copyLeft, mCutBuffer, mWriteHead); in write()155 mWriteHead += copyLeft; in write()157 memcpy(newbuffer, mCutBuffer + mReadHead, mWriteHead - mReadHead); in write()158 mWriteHead -= mReadHead; in write()167 size_t copyfirst = (mCapacity - mWriteHead); in write()170 memcpy(mCutBuffer + mWriteHead, src, copyfirst); in write()[all …]
58 int32_t mWriteHead; variable