/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/pt_common/ |
H A D | pt_node_params.h | 34 PtNodeParams() : mHeadPos(NOT_A_DICT_POS), mFlags(0), mHasMovedFlag(false), 35 mParentPos(NOT_A_DICT_POS), mCodePointCount(0), mCodePoints(), 36 mTerminalIdFieldPos(NOT_A_DICT_POS), mTerminalId(Ver4DictConstants::NOT_A_TERMINAL_ID), 37 mProbabilityFieldPos(NOT_A_DICT_POS), mProbability(NOT_A_PROBABILITY), 38 mChildrenPosFieldPos(NOT_A_DICT_POS), mChildrenPos(NOT_A_DICT_POS), 39 mBigramLinkedNodePos(NOT_A_DICT_POS), mShortcutPos(NOT_A_DICT_POS), 40 mBigramPos(NOT_A_DICT_POS), mSiblingPos(NOT_A_DICT_POS) {} [all...] |
H A D | dynamic_pt_reading_helper.h | 88 return mReadingState.mPos == NOT_A_DICT_POS; 93 if (ptNodeArrayPos == NOT_A_DICT_POS) { 94 mReadingState.mPos = NOT_A_DICT_POS; 101 mReadingState.mPosOfLastForwardLinkField = NOT_A_DICT_POS; 109 if (ptNodePos == NOT_A_DICT_POS) { 110 mReadingState.mPos = NOT_A_DICT_POS; 118 mReadingState.mPosOfLastForwardLinkField = NOT_A_DICT_POS; 119 mReadingState.mPosOfThisPtNodeArrayHead = NOT_A_DICT_POS; 177 mReadingState.mPosOfLastForwardLinkField = NOT_A_DICT_POS; 181 mReadingState.mPos = NOT_A_DICT_POS; [all...] |
H A D | dynamic_pt_reading_helper.cpp | 242 return NOT_A_DICT_POS; 248 return NOT_A_DICT_POS; 254 return NOT_A_DICT_POS; 261 return NOT_A_DICT_POS; 268 int firstPtNodePos = NOT_A_DICT_POS; 272 mReadingState.mPos = NOT_A_DICT_POS; 297 mReadingState.mPos = NOT_A_DICT_POS; 308 int nextPtNodeArrayPos = NOT_A_DICT_POS; 312 mReadingState.mPos = NOT_A_DICT_POS; 316 if (nextPtNodeArrayPos != NOT_A_DICT_POS) { [all...] |
H A D | dynamic_pt_gc_event_listeners.cpp | 48 NOT_A_DICT_POS /* newChildrenPosition */)) { 99 mBufferToWrite, NOT_A_DICT_POS /* forwardLinkPos */, &writingPos)) { 117 ptNodeParams->getHeadPos(), NOT_A_DICT_POS));
|
H A D | dynamic_pt_reading_utils.cpp | 50 return NOT_A_DICT_POS; 64 return NOT_A_DICT_POS;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
H A D | binary_dictionary_bigrams_iterator.h | 29 : mBigramsStructurePolicy(nullptr), mPos(NOT_A_DICT_POS), 30 mBigramPos(NOT_A_DICT_POS), mProbability(NOT_A_PROBABILITY), mHasNext(false) {} 35 mBigramPos(NOT_A_DICT_POS), mProbability(NOT_A_PROBABILITY), 36 mHasNext(pos != NOT_A_DICT_POS) {}
|
H A D | binary_dictionary_shortcut_iterator.h | 32 mHasNextShortcutTarget(shortcutPos != NOT_A_DICT_POS) {}
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v2/ |
H A D | ver2_patricia_trie_node_reader.cpp | 36 int childrenPos = NOT_A_DICT_POS; 37 int shortcutPos = NOT_A_DICT_POS; 38 int bigramPos = NOT_A_DICT_POS; 39 int siblingPos = NOT_A_DICT_POS;
|
H A D | ver2_pt_node_array_reader.cpp | 50 *outNextPtNodeArrayPos = NOT_A_DICT_POS;
|
H A D | patricia_trie_policy.cpp | 270 // dictionary. If no match is found, it returns NOT_A_DICT_POS. 302 if (ptNodePos == NOT_A_DICT_POS) { 342 if (ptNodePos == NOT_A_DICT_POS) { 343 return NOT_A_DICT_POS; 349 if (ptNodePos == NOT_A_DICT_POS) { 350 return NOT_A_DICT_POS; 361 int childrenPos = NOT_A_DICT_POS; 362 int shortcutPos = NOT_A_DICT_POS; 363 int bigramPos = NOT_A_DICT_POS; 364 int siblingPos = NOT_A_DICT_POS; [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/content/ |
H A D | terminal_position_lookup_table.cpp | 35 return NOT_A_DICT_POS; 40 NOT_A_DICT_POS : terminalPos; 46 return NOT_A_DICT_POS; 56 const int terminalPos = (terminalPtNodePos != NOT_A_DICT_POS) ?
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/content/ |
H A D | terminal_position_lookup_table.cpp | 26 return NOT_A_DICT_POS; 31 NOT_A_DICT_POS : terminalPos; 37 return NOT_A_DICT_POS; 47 const int terminalPos = (terminalPtNodePos != NOT_A_DICT_POS) ?
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v2/shortcut/ |
H A D | shortcut_list_policy.h | 36 if (pos == NOT_A_DICT_POS) { 37 return NOT_A_DICT_POS;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/bigram/ |
H A D | ver4_bigram_list_policy.cpp | 73 if (bigramListPos == NOT_A_DICT_POS) { 94 int tailEntryPos = NOT_A_DICT_POS; 97 if (tailEntryPos != NOT_A_DICT_POS || entryPosToUpdate == NOT_A_DICT_POS) { 100 if (tailEntryPos == NOT_A_DICT_POS) { 147 if (bigramListPos == NOT_A_DICT_POS) { 153 if (entryPosToUpdate == NOT_A_DICT_POS) { 170 if (bigramListPos == NOT_A_DICT_POS) { 186 if (targetPtNodePos == NOT_A_DICT_POS) { 218 if (bigramListPos == NOT_A_DICT_POS) { [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/bigram/ |
H A D | ver4_bigram_list_policy.cpp | 63 if (bigramListPos == NOT_A_DICT_POS) { 90 int tailEntryPos = NOT_A_DICT_POS; 93 if (entryPosToUpdate == NOT_A_DICT_POS) { 148 if (bigramListPos == NOT_A_DICT_POS) { 154 if (entryPosToUpdate == NOT_A_DICT_POS) { 171 if (bigramListPos == NOT_A_DICT_POS) { 187 if (targetPtNodePos == NOT_A_DICT_POS) { 219 if (bigramListPos == NOT_A_DICT_POS) { 240 *outTailEntryPos = NOT_A_DICT_POS; 242 int invalidEntryPos = NOT_A_DICT_POS; [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/ |
H A D | ver4_patricia_trie_policy.cpp | 127 if (ptNodePos == NOT_A_DICT_POS) { 163 if (ptNodePos == NOT_A_DICT_POS) { 164 return NOT_A_DICT_POS; 168 return NOT_A_DICT_POS; 175 if (ptNodePos == NOT_A_DICT_POS) { 176 return NOT_A_DICT_POS; 180 return NOT_A_DICT_POS; 230 if (wordPos == NOT_A_DICT_POS) { 258 if (ptNodePos == NOT_A_DICT_POS) { 297 if (prevWordsPtNodePos[0] == NOT_A_DICT_POS) { [all...] |
H A D | ver4_patricia_trie_node_reader.cpp | 55 int terminalIdFieldPos = NOT_A_DICT_POS; 80 if (usesAdditionalBuffer && childrenPos != NOT_A_DICT_POS) { 87 int newSiblingNodePos = (siblingNodePos == NOT_A_DICT_POS) ? pos : siblingNodePos;
|
H A D | ver4_patricia_trie_node_reader.h | 46 NOT_A_DICT_POS /* siblingNodePos */);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/ |
H A D | ver4_patricia_trie_node_reader.cpp | 64 int terminalIdFieldPos = NOT_A_DICT_POS; 88 if (usesAdditionalBuffer && childrenPos != NOT_A_DICT_POS) { 95 int newSiblingNodePos = (siblingNodePos == NOT_A_DICT_POS) ? pos : siblingNodePos;
|
H A D | ver4_patricia_trie_policy.cpp | 137 if (ptNodePos == NOT_A_DICT_POS) { 173 if (ptNodePos == NOT_A_DICT_POS) { 174 return NOT_A_DICT_POS; 178 return NOT_A_DICT_POS; 185 if (ptNodePos == NOT_A_DICT_POS) { 186 return NOT_A_DICT_POS; 190 return NOT_A_DICT_POS; 240 if (wordPos == NOT_A_DICT_POS) { 285 if (prevWordsPtNodePos[0] == NOT_A_DICT_POS) { 308 if (word1Pos == NOT_A_DICT_POS) { [all...] |
H A D | ver4_patricia_trie_node_reader.h | 63 NOT_A_DICT_POS /* siblingNodePos */);
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/shortcut/ |
H A D | ver4_shortcut_list_policy.h | 69 if (shortcutListPos == NOT_A_DICT_POS) { 81 if (entryPos == NOT_A_DICT_POS) {
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/shortcut/ |
H A D | ver4_shortcut_list_policy.h | 59 if (shortcutListPos == NOT_A_DICT_POS) { 71 if (entryPos == NOT_A_DICT_POS) {
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/ |
H A D | dic_node_properties.h | 32 : mPtNodePos(NOT_A_DICT_POS), mChildrenPtNodeArrayPos(NOT_A_DICT_POS), 57 mPtNodePos = NOT_A_DICT_POS;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/ |
H A D | prev_words_info.h | 125 return NOT_A_DICT_POS; 134 return NOT_A_DICT_POS; 139 if (wordPtNodePos != NOT_A_DICT_POS || !tryLowerCaseSearch) {
|