Searched refs:mTrieBuffer (Results 1 – 4 of 4) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_node_writer.cpp | 38 const bool usesAdditionalBuffer = mTrieBuffer->isInAdditionalBuffer(pos); in markPtNodeAsDeleted() 39 const uint8_t *const dictBuf = mTrieBuffer->getBuffer(usesAdditionalBuffer); in markPtNodeAsDeleted() 41 pos -= mTrieBuffer->getOriginalBufferSize(); in markPtNodeAsDeleted() 51 if (!DynamicPtWritingUtils::writeFlagsAndAdvancePosition(mTrieBuffer, updatedFlags, in markPtNodeAsDeleted() 69 const bool usesAdditionalBuffer = mTrieBuffer->isInAdditionalBuffer(pos); in markPtNodeAsMoved() 70 const uint8_t *const dictBuf = mTrieBuffer->getBuffer(usesAdditionalBuffer); in markPtNodeAsMoved() 72 pos -= mTrieBuffer->getOriginalBufferSize(); in markPtNodeAsMoved() 82 if (!DynamicPtWritingUtils::writeFlagsAndAdvancePosition(mTrieBuffer, updatedFlags, in markPtNodeAsMoved() 88 mTrieBuffer, movedPos, toBeUpdatedPtNodeParams->getHeadPos(), &writingPos)) { in markPtNodeAsMoved() 99 mTrieBuffer, bigramLinkedNodePos, childPtNodeParams.getHeadPos(), in markPtNodeAsMoved() [all …]
|
D | ver4_patricia_trie_node_writer.h | 44 : mTrieBuffer(trieBuffer), mBuffers(buffers), in Ver4PatriciaTrieNodeWriter() 102 BufferWithExtendableBuffer *const mTrieBuffer; variable
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_node_writer.cpp | 48 const bool usesAdditionalBuffer = mTrieBuffer->isInAdditionalBuffer(pos); in markPtNodeAsDeleted() 49 const uint8_t *const dictBuf = mTrieBuffer->getBuffer(usesAdditionalBuffer); in markPtNodeAsDeleted() 51 pos -= mTrieBuffer->getOriginalBufferSize(); in markPtNodeAsDeleted() 61 if (!DynamicPtWritingUtils::writeFlagsAndAdvancePosition(mTrieBuffer, updatedFlags, in markPtNodeAsDeleted() 78 const bool usesAdditionalBuffer = mTrieBuffer->isInAdditionalBuffer(pos); in markPtNodeAsMoved() 79 const uint8_t *const dictBuf = mTrieBuffer->getBuffer(usesAdditionalBuffer); in markPtNodeAsMoved() 81 pos -= mTrieBuffer->getOriginalBufferSize(); in markPtNodeAsMoved() 91 if (!DynamicPtWritingUtils::writeFlagsAndAdvancePosition(mTrieBuffer, updatedFlags, in markPtNodeAsMoved() 97 mTrieBuffer, movedPos, toBeUpdatedPtNodeParams->getHeadPos(), &writingPos)) { in markPtNodeAsMoved() 108 mTrieBuffer, bigramLinkedNodePos, childPtNodeParams.getHeadPos(), in markPtNodeAsMoved() [all …]
|
D | ver4_patricia_trie_node_writer.h | 64 : mTrieBuffer(trieBuffer), mBuffers(buffers), mHeaderPolicy(headerPolicy), in Ver4PatriciaTrieNodeWriter() 139 BufferWithExtendableBuffer *const mTrieBuffer; variable
|