Home
last modified time | relevance | path

Searched refs:terminalPos (Results 1 – 3 of 3) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dterminal_position_lookup_table.cpp27 const int terminalPos = getBuffer()->readUint( in getTerminalPtNodePosition() local
29 return (terminalPos == Ver4DictConstants::NOT_A_TERMINAL_ADDRESS) ? in getTerminalPtNodePosition()
30 NOT_A_DICT_POS : terminalPos; in getTerminalPtNodePosition()
46 const int terminalPos = (terminalPtNodePos != NOT_A_DICT_POS) ? in setTerminalPtNodePosition() local
48 return getWritableBuffer()->writeUint(terminalPos, in setTerminalPtNodePosition()
77 const int terminalPos = getBuffer()->readUint( in runGCTerminalIds() local
79 if (terminalPos == Ver4DictConstants::NOT_A_TERMINAL_ADDRESS) { in runGCTerminalIds()
84 if (!getWritableBuffer()->writeUint(terminalPos, in runGCTerminalIds()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
Dterminal_position_lookup_table.cpp37 const int terminalPos = getBuffer()->readUint( in getTerminalPtNodePosition() local
39 return (terminalPos == Ver4DictConstants::NOT_A_TERMINAL_ADDRESS) ? in getTerminalPtNodePosition()
40 NOT_A_DICT_POS : terminalPos; in getTerminalPtNodePosition()
56 const int terminalPos = (terminalPtNodePos != NOT_A_DICT_POS) ? in setTerminalPtNodePosition() local
58 return getWritableBuffer()->writeUint(terminalPos, in setTerminalPtNodePosition()
88 const int terminalPos = getBuffer()->readUint( in runGCTerminalIds() local
90 if (terminalPos == Ver4DictConstants::NOT_A_TERMINAL_ADDRESS) { in runGCTerminalIds()
95 if (!getWritableBuffer()->writeUint(terminalPos, in runGCTerminalIds()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_writing_helper.cpp211 const int terminalPos = terminalPosLookupTable->getTerminalPtNodePosition(i); in truncateUnigrams() local
212 if (terminalPos == NOT_A_DICT_POS) { in truncateUnigrams()
221 priorityQueue.push(DictProbability(terminalPos, probability, in truncateUnigrams()