Home
last modified time | relevance | path

Searched refs:getTerminalId (Results 1 – 9 of 9) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_node_writer.cpp68 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 …]
Dver4_patricia_trie_policy.cpp182 prevWordPtNodeParams.getTerminalId()); in getProbabilityOfWord()
209 prevWordPtNodeParams.getTerminalId()); in iterateNgramEntries()
251 ptNodeParams.getTerminalId()); in getShortcutPositionOfPtNode()
263 ptNodeParams.getTerminalId()); in getBigramsPositionOfPtNode()
560 ptNodeParams.getTerminalId()); in getWordProperty()
Dver4_patricia_trie_writing_helper.cpp293 mTerminalIdMap->find(ptNodeParams->getTerminalId()); in onVisitingPtNode()
296 ptNodeParams->getTerminalId(), mTerminalIdMap->size()); in onVisitingPtNode()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_node_writer.cpp58 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()
Dver4_patricia_trie_policy.cpp61 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()
Dver4_patricia_trie_writing_helper.cpp172 mTerminalIdMap->find(ptNodeParams->getTerminalId()); in onVisitingPtNode()
175 ptNodeParams->getTerminalId(), mTerminalIdMap->size()); in onVisitingPtNode()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Ddynamic_pt_updating_helper.cpp94 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()
Dpt_node_params.h96 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/
DFusionDictionary.java132 public int getTerminalId() { in getTerminalId() method in FusionDictionary.PtNode