Searched refs:mChunkSize (Results 1 – 3 of 3) sorted by relevance
42 private final int mChunkSize; field in EncodedBuffer108 mChunkSize = chunkSize; in EncodedBuffer()109 mWriteBuffer = new byte[mChunkSize]; in EncodedBuffer()122 mReadableSize = ((mWriteBufIndex) * mChunkSize) + mWriteIndex; in startEditing()158 return ((mReadBufIndex) * mChunkSize) + mReadIndex; in getReadPos()171 if (amount <= mChunkSize - mReadIndex) { in skipRead()174 amount -= mChunkSize - mReadIndex; in skipRead()175 mReadIndex = amount % mChunkSize; in skipRead()177 mReadIndex = mChunkSize; in skipRead()178 mReadBufIndex += (amount / mChunkSize); in skipRead()[all …]
37 mChunkSize = chunkSize == 0 ? BUFFER_SIZE : chunkSize; in Pointer()43 return mIndex * mChunkSize + mOffset; in pos()62 mIndex += newOffset / mChunkSize; in move()63 mOffset = newOffset % mChunkSize; in move()78 Pointer p = Pointer(mChunkSize); in copy()92 mChunkSize = chunkSize == 0 ? BUFFER_SIZE : chunkSize; in EncodedBuffer()93 mWp = Pointer(mChunkSize); in EncodedBuffer()94 mEp = Pointer(mChunkSize); in EncodedBuffer()138 buf = (uint8_t*)malloc(mChunkSize); in writeBuffer()150 return mChunkSize - mWp.offset(); in currentToWrite()[all …]
60 size_t mChunkSize;217 size_t mChunkSize;