Searched refs:mChunkSize (Results 1 – 6 of 6) 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()155 return ((mBufferCount - 1) * mChunkSize) + mWriteIndex; in getSize()166 return ((mReadBufIndex) * mChunkSize) + mReadIndex; in getReadPos()179 if (amount <= mChunkSize - mReadIndex) { in skipRead()182 amount -= mChunkSize - mReadIndex; in skipRead()183 mReadIndex = amount % mChunkSize; in skipRead()185 mReadIndex = 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 …]
59 mChunkSize(sizeof(mBuffer)) { in ProtoFileReader()150 ssize_t amt = TEMP_FAILURE_RETRY(read(mFd, mBuffer, mChunkSize)); in ensure_data()
65 size_t mChunkSize;210 size_t mChunkSize; variable
61 const int mChunkSize; // Size of mBuffer. variable
77374 Landroid/util/proto/EncodedBuffer;->mChunkSize:I