Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dbuffer_with_extendable_buffer.h40 : mOriginalBuffer(originalBuffer), mAdditionalBuffer(), mUsedAdditionalBufferSize(0), in BufferWithExtendableBuffer()
45 : mOriginalBuffer(), mAdditionalBuffer(), mUsedAdditionalBufferSize(0), in BufferWithExtendableBuffer()
67 return mAdditionalBuffer.data(); in getBuffer()
85 return mAdditionalBuffer.size() >= ((mMaxAdditionalBufferSize in isNearSizeLimit()
113 std::vector<uint8_t> mAdditionalBuffer; variable
Dbuffer_with_extendable_buffer.cpp75 usesAdditionalBuffer ? mAdditionalBuffer.data() : mOriginalBuffer.data(); in writeUintAndAdvancePosition()
95 usesAdditionalBuffer ? mAdditionalBuffer.data() : mOriginalBuffer.data(); in writeCodePointsAndAdvancePosition()
110 std::min(mAdditionalBuffer.size() + extendSize, mMaxAdditionalBufferSize); in extendBuffer()
111 if (sizeAfterExtending < mAdditionalBuffer.size() + size) { in extendBuffer()
114 mAdditionalBuffer.resize(sizeAfterExtending); in extendBuffer()
144 std::min(mAdditionalBuffer.size() + mOriginalBuffer.size(), totalRequiredSize); in checkAndPrepareWriting()