Home
last modified time | relevance | path

Searched refs:mOriginalBuffer (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dbuffer_with_extendable_buffer.cpp28 const int posInBuffer = readingPosIsInAdditionalBuffer ? pos - mOriginalBuffer.size() : pos; in readUint()
43 *pos -= mOriginalBuffer.size(); in readCodePointsAndAdvancePosition()
50 *pos += mOriginalBuffer.size(); in readCodePointsAndAdvancePosition()
75 usesAdditionalBuffer ? mAdditionalBuffer.data() : mOriginalBuffer.data(); in writeUintAndAdvancePosition()
77 *pos -= mOriginalBuffer.size(); in writeUintAndAdvancePosition()
81 *pos += mOriginalBuffer.size(); in writeUintAndAdvancePosition()
95 usesAdditionalBuffer ? mAdditionalBuffer.data() : mOriginalBuffer.data(); in writeCodePointsAndAdvancePosition()
97 *pos -= mOriginalBuffer.size(); in writeCodePointsAndAdvancePosition()
102 *pos += mOriginalBuffer.size(); in writeCodePointsAndAdvancePosition()
126 if (mOriginalBuffer.size() < totalRequiredSize) { in checkAndPrepareWriting()
[all …]
Dbuffer_with_extendable_buffer.h40 : mOriginalBuffer(originalBuffer), mAdditionalBuffer(), mUsedAdditionalBufferSize(0), in BufferWithExtendableBuffer()
45 : mOriginalBuffer(), mAdditionalBuffer(), mUsedAdditionalBufferSize(0), in BufferWithExtendableBuffer()
49 return mOriginalBuffer.size() + mUsedAdditionalBufferSize; in getTailPosition()
60 return position >= static_cast<int>(mOriginalBuffer.size()); in isInAdditionalBuffer()
69 return mOriginalBuffer.data(); in getBuffer()
81 return mOriginalBuffer.size(); in getOriginalBufferSize()
112 const ReadWriteByteArrayView mOriginalBuffer; variable