Searched refs:mWriteIndex (Results 1 – 6 of 6) sorted by relevance
60 private int mWriteIndex; field in EncodedBuffer122 mReadableSize = ((mWriteBufIndex) * mChunkSize) + mWriteIndex; in startEditing()123 mReadLimit = mWriteIndex; in startEditing()126 mWriteIndex = 0; in startEditing()155 return ((mBufferCount - 1) * mChunkSize) + mWriteIndex; in getSize()265 mWriteIndex = 0; in nextWriteBuffer()272 if (mWriteIndex >= mChunkSize) { in writeRawByte()275 mWriteBuffer[mWriteIndex++] = val; in writeRawByte()408 int amt = length < (mChunkSize - mWriteIndex) ? length : (mChunkSize - mWriteIndex); in writeRawBuffer()410 System.arraycopy(val, offset, mWriteBuffer, mWriteIndex, amt); in writeRawBuffer()[all …]
27 SHCircularBuffer() : mReadIndex(0), mWriteIndex(0), mReadAvailable(0) { in SHCircularBuffer()36 mWriteIndex = 0; in resize()41 mBuffer[mWriteIndex++] = value; in write()42 if (mWriteIndex >= getSize()) { in write()43 mWriteIndex = 0; in write()76 size_t mWriteIndex; variable
45 for (size_t i = 0; i < mWriteIndex.size(); i ++) { in ~FileA3D()46 delete mWriteIndex[i]; in ~FileA3D()319 uint32_t writeIndexSize = mWriteIndex.size(); in writeFile()322 headerStream.addString(mWriteIndex[i]->mObjectName); in writeFile()323 headerStream.addU32((uint32_t)mWriteIndex[i]->mType); in writeFile()325 headerStream.addOffset(mWriteIndex[i]->mOffset); in writeFile()326 headerStream.addOffset(mWriteIndex[i]->mLength); in writeFile()328 uint32_t offset = (uint32_t)mWriteIndex[i]->mOffset; in writeFile()330 offset = (uint32_t)mWriteIndex[i]->mLength; in writeFile()374 mWriteIndex.push_back(indexEntry); in appendToFile()
91 std::vector<A3DIndexEntry*> mWriteIndex; variable
114 &mWriteIndex, in TestFifoBuffer()334 fifo_counter_t mWriteIndex = 0; member in TestFifoBuffer
77382 Landroid/util/proto/EncodedBuffer;->mWriteIndex:I