Home
last modified time | relevance | path

Searched refs:mTrieBuffer (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_node_writer.cpp38 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 …]
Dver4_patricia_trie_node_writer.h44 : mTrieBuffer(trieBuffer), mBuffers(buffers), in Ver4PatriciaTrieNodeWriter()
102 BufferWithExtendableBuffer *const mTrieBuffer; variable
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_node_writer.cpp48 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 …]
Dver4_patricia_trie_node_writer.h64 : mTrieBuffer(trieBuffer), mBuffers(buffers), mHeaderPolicy(headerPolicy), in Ver4PatriciaTrieNodeWriter()
139 BufferWithExtendableBuffer *const mTrieBuffer; variable