Searched refs:getTerminalId (Results 1 – 9 of 9) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_node_writer.cpp | 68 toBeUpdatedPtNodeParams->getTerminalId(), NOT_A_DICT_POS /* ptNodePos */); in markPtNodeAsDeleted() 135 toBeUpdatedPtNodeParams->getTerminalId(), NOT_A_DICT_POS /* ptNodePos */)) { in markPtNodeAsWillBecomeNonTerminal() 137 toBeUpdatedPtNodeParams->getTerminalId()); in markPtNodeAsWillBecomeNonTerminal() 156 toBeUpdatedPtNodeParams->getTerminalId()); in updatePtNodeUnigramProperty() 160 toBeUpdatedPtNodeParams->getTerminalId(), &probabilityEntry); in updatePtNodeUnigramProperty() 171 toBeUpdatedPtNodeParams->getTerminalId()); in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC() 178 toBeUpdatedPtNodeParams->getTerminalId(), &probabilityEntry)) { in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC() 180 toBeUpdatedPtNodeParams->getTerminalId()); in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC() 264 sourcePtNodeParams->getTerminalId(), outBigramEntryCount); in updateAllBigramEntriesAndDeleteUselessEntries() 303 toBeUpdatedPtNodeParams->getTerminalId()); in updateAllPositionFields() [all …]
|
D | ver4_patricia_trie_policy.cpp | 182 prevWordPtNodeParams.getTerminalId()); in getProbabilityOfWord() 209 prevWordPtNodeParams.getTerminalId()); in iterateNgramEntries() 251 ptNodeParams.getTerminalId()); in getShortcutPositionOfPtNode() 263 ptNodeParams.getTerminalId()); in getBigramsPositionOfPtNode() 560 ptNodeParams.getTerminalId()); in getWordProperty()
|
D | ver4_patricia_trie_writing_helper.cpp | 293 mTerminalIdMap->find(ptNodeParams->getTerminalId()); in onVisitingPtNode() 296 ptNodeParams->getTerminalId(), mTerminalIdMap->size()); in onVisitingPtNode()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_node_writer.cpp | 58 toBeUpdatedPtNodeParams->getTerminalId(), NOT_A_DICT_POS /* ptNodePos */); in markPtNodeAsDeleted() 126 toBeUpdatedPtNodeParams->getTerminalId(), NOT_A_DICT_POS /* ptNodePos */)) { in markPtNodeAsWillBecomeNonTerminal() 128 toBeUpdatedPtNodeParams->getTerminalId()); in markPtNodeAsWillBecomeNonTerminal() 147 toBeUpdatedPtNodeParams->getTerminalId(), &probabilityEntryOfUnigramProperty); in updatePtNodeUnigramProperty() 158 toBeUpdatedPtNodeParams->getTerminalId()); in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC() 277 if (!mShortcutPolicy->addNewShortcut(ptNodeParams->getTerminalId(), in addShortcutTarget() 279 AKLOGE("Cannot add new shortcut entry. terminalId: %d", ptNodeParams->getTerminalId()); in addShortcutTarget() 307 if (ptNodeParams->getTerminalId() != Ver4DictConstants::NOT_A_TERMINAL_ID) { in writePtNodeAndGetTerminalIdAndAdvancePosition() 308 terminalId = ptNodeParams->getTerminalId(); in writePtNodeAndGetTerminalIdAndAdvancePosition()
|
D | ver4_patricia_trie_policy.cpp | 61 const int wordId = isTerminal ? ptNodeParams.getTerminalId() : NOT_A_WORD_ID; in createAndGetAllChildDicNodes() 104 return ptNodeParams.getTerminalId(); in getWordId() 176 ptNodeParams.getTerminalId()); in getShortcutPositionOfWord() 592 *outCodePointCount = getCodePointsAndReturnCodePointCount(ptNodeParams.getTerminalId(), in getNextWordAndNextToken()
|
D | ver4_patricia_trie_writing_helper.cpp | 172 mTerminalIdMap->find(ptNodeParams->getTerminalId()); in onVisitingPtNode() 175 ptNodeParams->getTerminalId(), mTerminalIdMap->size()); in onVisitingPtNode()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | dynamic_pt_updating_helper.cpp | 94 prevWordsPtNodePos[i]).getTerminalId(); in addNgramEntry() 98 mPtNodeReader->fetchPtNodeParamsInBufferFromPtNodePos(wordPos).getTerminalId(); in addNgramEntry() 111 prevWordsPtNodePos[i]).getTerminalId(); in removeNgramEntry() 115 mPtNodeReader->fetchPtNodeParamsInBufferFromPtNodePos(wordPos).getTerminalId(); in removeNgramEntry()
|
D | pt_node_params.h | 96 mTerminalId(ptNodeParams->getTerminalId()), in PtNodeParams() 198 AK_FORCE_INLINE int getTerminalId() const { in getTerminalId() function
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | FusionDictionary.java | 132 public int getTerminalId() { in getTerminalId() method in FusionDictionary.PtNode
|