Home
last modified time | relevance | path

Searched refs:childrenPos (Results 1 – 10 of 10) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_node_reader.cpp70 int childrenPos = DynamicPtReadingUtils::readChildrenPositionAndAdvancePosition( in fetchPtNodeInfoFromBufferAndProcessMovedPtNode() local
72 if (usesAdditionalBuffer && childrenPos != NOT_A_DICT_POS) { in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
73 childrenPos += mBuffer->getOriginalBufferSize(); in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
86 terminalIdFieldPos, terminalId, NOT_A_PROBABILITY, childrenPosFieldPos, childrenPos, in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
Dver4_patricia_trie_node_writer.cpp260 int childrenPos = toBeUpdatedPtNodeParams->getChildrenPos(); in updateAllPositionFields() local
261 if (childrenPos != NOT_A_DICT_POS) { in updateAllPositionFields()
263 dictPositionRelocationMap->mPtNodeArrayPositionRelocationMap.find(childrenPos); in updateAllPositionFields()
265 childrenPos = it->second; in updateAllPositionFields()
268 if (!updateChildrenPosition(toBeUpdatedPtNodeParams, childrenPos)) { in updateAllPositionFields()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_node_reader.cpp87 int childrenPos = DynamicPtReadingUtils::readChildrenPositionAndAdvancePosition( in fetchPtNodeInfoFromBufferAndProcessMovedPtNode() local
89 if (usesAdditionalBuffer && childrenPos != NOT_A_DICT_POS) { in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
90 childrenPos += mBuffer->getOriginalBufferSize(); in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
103 terminalIdFieldPos, terminalId, probability, childrenPosFieldPos, childrenPos, in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
Dver4_patricia_trie_node_writer.cpp288 int childrenPos = toBeUpdatedPtNodeParams->getChildrenPos(); in updateAllPositionFields() local
289 if (childrenPos != NOT_A_DICT_POS) { in updateAllPositionFields()
291 dictPositionRelocationMap->mPtNodeArrayPositionRelocationMap.find(childrenPos); in updateAllPositionFields()
293 childrenPos = it->second; in updateAllPositionFields()
296 if (!updateChildrenPosition(toBeUpdatedPtNodeParams, childrenPos)) { in updateAllPositionFields()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dver2_patricia_trie_node_reader.cpp36 int childrenPos = NOT_A_DICT_POS; in fetchPtNodeParamsInBufferFromPtNodePos() local
42 &probability, &childrenPos, &shortcutPos, &bigramPos, &siblingPos); in fetchPtNodeParamsInBufferFromPtNodePos()
49 probability, childrenPos, shortcutPos, bigramPos, siblingPos); in fetchPtNodeParamsInBufferFromPtNodePos()
Dpatricia_trie_policy.cpp166 const int childrenPos = PatriciaTrieReadingUtils in getCodePointsAndProbabilityAndReturnCodePointCount() local
169 if (childrenPos > ptNodePos) { in getCodePointsAndProbabilityAndReturnCodePointCount()
408 int childrenPos = NOT_A_DICT_POS; in createAndGetLeavingChildNode() local
415 mergedNodeCodePoints, &probability, &childrenPos, &shortcutPos, &bigramPos, in createAndGetLeavingChildNode()
420 childDicNodes->pushLeavingChild(dicNode, childrenPos, wordId, in createAndGetLeavingChildNode()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Dpt_node_params.h62 const int childrenPos, const int shortcutPos, const int bigramPos, in PtNodeParams() argument
68 mChildrenPosFieldPos(NOT_A_DICT_POS), mChildrenPos(childrenPos), in PtNodeParams()
78 const int childrenPosFieldPos, const int childrenPos, const int siblingPos) in PtNodeParams() argument
83 mChildrenPosFieldPos(childrenPosFieldPos), mChildrenPos(childrenPos), in PtNodeParams()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DVer2DictEncoder.java211 final int childrenPos = BinaryDictEncoderUtils.getChildrenPosition(ptNode, in writePtNodeFlags() local
214 BinaryDictEncoderUtils.makePtNodeFlags(ptNode, childrenPos), in writePtNodeFlags()
236 final int childrenPos = BinaryDictEncoderUtils.getChildrenPosition(ptNode, in writeChildrenPosition() local
239 childrenPos); in writeChildrenPosition()
DBinaryDictIOUtils.java131 final Position childrenPos = new Position(ptNodeInfo.mChildrenAddress, index); in readUnigramsAndBigramsBinaryInner() local
132 stack.push(childrenPos); in readUnigramsAndBigramsBinaryInner()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
Ddic_node_properties.h40 void init(const int childrenPos, const int nodeCodePoint, const int wordId, in init() argument
42 mChildrenPtNodeArrayPos = childrenPos; in init()