Searched refs:mChunkSize (Results 1 – 7 of 7) 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()
46 public int mChunkSize; field in SparseInputStream.SparseChunk51 "type: %x, chunk_size: %d, total_size: %d", mChunkType, mChunkSize, mTotalSize); in toString()74 chunk.mChunkSize = buf.getInt(); in readChunk()131 mLeft = mCur.mChunkSize * mBlockSize; in prepareChunk()
65 size_t mChunkSize;210 size_t mChunkSize; variable
61 const int mChunkSize; // Size of mBuffer. variable
72190 Landroid/util/proto/EncodedBuffer;->mChunkSize:I