Searched refs:NOT_A_DICT_POS (Results 1 - 25 of 47) sorted by relevance

12

/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/pt_common/
H A Dpt_node_params.h34 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 Ddynamic_pt_reading_helper.h88 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 Ddynamic_pt_reading_helper.cpp242 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 Ddynamic_pt_gc_event_listeners.cpp48 NOT_A_DICT_POS /* newChildrenPosition */)) {
99 mBufferToWrite, NOT_A_DICT_POS /* forwardLinkPos */, &writingPos)) {
117 ptNodeParams->getHeadPos(), NOT_A_DICT_POS));
H A Ddynamic_pt_reading_utils.cpp50 return NOT_A_DICT_POS;
64 return NOT_A_DICT_POS;
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
H A Dbinary_dictionary_bigrams_iterator.h29 : 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 Dbinary_dictionary_shortcut_iterator.h32 mHasNextShortcutTarget(shortcutPos != NOT_A_DICT_POS) {}
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v2/
H A Dver2_patricia_trie_node_reader.cpp36 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 Dver2_pt_node_array_reader.cpp50 *outNextPtNodeArrayPos = NOT_A_DICT_POS;
H A Dpatricia_trie_policy.cpp270 // 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 Dterminal_position_lookup_table.cpp35 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 Dterminal_position_lookup_table.cpp26 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 Dshortcut_list_policy.h36 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 Dver4_bigram_list_policy.cpp73 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 Dver4_bigram_list_policy.cpp63 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 Dver4_patricia_trie_policy.cpp127 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 Dver4_patricia_trie_node_reader.cpp55 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 Dver4_patricia_trie_node_reader.h46 NOT_A_DICT_POS /* siblingNodePos */);
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/
H A Dver4_patricia_trie_node_reader.cpp64 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 Dver4_patricia_trie_policy.cpp137 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 Dver4_patricia_trie_node_reader.h63 NOT_A_DICT_POS /* siblingNodePos */);
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/shortcut/
H A Dver4_shortcut_list_policy.h69 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 Dver4_shortcut_list_policy.h59 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 Ddic_node_properties.h32 : 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 Dprev_words_info.h125 return NOT_A_DICT_POS;
134 return NOT_A_DICT_POS;
139 if (wordPtNodePos != NOT_A_DICT_POS || !tryLowerCaseSearch) {

Completed in 254 milliseconds

12