Searched refs:mWritePos (Results 1 – 5 of 5) sorted by relevance
28 mWritePos(0) { in RingBuffer()39 size_t numAvailableToRead = mWritePos - mReadPos; in write()46 size_t writePos = (mWritePos % mSize); in write()59 mWritePos += size; in write()73 numAvailableToRead = mWritePos - mReadPos; in read()
42 size_t mReadPos, mWritePos; variable
142 size_t VulkanStream::remainingWriteBufferSize() const { return mWriteBuffer.size() - mWritePos; } in remainingWriteBufferSize()146 mWriteBuffer.resize((mWritePos + size) << 1); in bufferedWrite()148 memcpy(mWriteBuffer.data() + mWritePos, buffer, size); in bufferedWrite()149 mWritePos += size; in bufferedWrite()161 int written = mStream->writeFully(mWriteBuffer.data(), mWritePos); in commitWrite()165 << "Did not write exactly " << mWritePos << " bytes!"; in commitWrite()167 mWritePos = 0; in commitWrite()
85 size_t mWritePos = 0; variable
63 int mWritePos = 0; variable