Home
last modified time | relevance | path

Searched refs:INVALID_INDEX (Results 1 – 7 of 7) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dtrie_map.cpp23 const int TrieMap::INVALID_INDEX = -1; member in latinime::TrieMap
72 if (terminalEntryIndex == INVALID_INDEX) { in getNextLevelBitmapEntryIndex()
74 return INVALID_INDEX; in getNextLevelBitmapEntryIndex()
82 if (valueEntryIndex == INVALID_INDEX) { in getNextLevelBitmapEntryIndex()
83 return INVALID_INDEX; in getNextLevelBitmapEntryIndex()
86 return INVALID_INDEX; in getNextLevelBitmapEntryIndex()
89 return INVALID_INDEX; in getNextLevelBitmapEntryIndex()
92 return INVALID_INDEX; in getNextLevelBitmapEntryIndex()
121 if (terminalEntryIndex == INVALID_INDEX) { in remove()
167 return Result(entry.getValue(), true, INVALID_INDEX); in iterateNext()
[all …]
Dtrie_map.h76 return mNextLevelBitmapEntryIndex != INVALID_INDEX; in hasNextLevelMap()
100 mKey(0), mValue(0), mIsValid(false), mNextLevelBitmapEntryIndex(INVALID_INDEX) { in TrieMapIterator()
101 if (!trieMap || mBaseBitmapEntryIndex == INVALID_INDEX) { in TrieMapIterator()
153 return TrieMapIterator(nullptr, INVALID_INDEX); in end()
164 static const int INVALID_INDEX; variable
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dtrie_map_test.cpp72 EXPECT_EQ(TrieMap::INVALID_INDEX, result.mNextLevelBitmapEntryIndex); in TEST()
148 EXPECT_NE(TrieMap::INVALID_INDEX, nextLevelBitmapEntryIndex); in TEST()
160 EXPECT_NE(TrieMap::INVALID_INDEX, secondLevel); in TEST()
163 EXPECT_NE(TrieMap::INVALID_INDEX, thirdLevel); in TEST()
174 EXPECT_NE(TrieMap::INVALID_INDEX, secondLevel); in TEST()
183 EXPECT_NE(TrieMap::INVALID_INDEX, secondLevel); in TEST()
187 EXPECT_NE(TrieMap::INVALID_INDEX, thirdLevel); in TEST()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dlanguage_model_dict_content.cpp51 if (nextBitmapEntryIndex == TrieMap::INVALID_INDEX) { in getWordAttributes()
120 if (bitmapEntryIndex == TrieMap::INVALID_INDEX) { in getNgramProbabilityEntry()
137 if (bitmapEntryIndex == TrieMap::INVALID_INDEX) { in setNgramProbabilityEntry()
146 if (bitmapEntryIndex == TrieMap::INVALID_INDEX) { in removeNgramProbabilityEntry()
163 if (!result.mIsValid || result.mNextLevelBitmapEntryIndex == TrieMap::INVALID_INDEX) { in exportAllNgramEntriesRelatedToWord()
300 if (result.mIsValid && result.mNextLevelBitmapEntryIndex != TrieMap::INVALID_INDEX) { in createAndGetBitmapEntryIndex()
309 return TrieMap::INVALID_INDEX; in createAndGetBitmapEntryIndex()
323 return TrieMap::INVALID_INDEX; in getBitmapEntryIndex()
/packages/apps/TV/src/com/android/tv/guide/
DGuideUtils.java29 private static final int INVALID_INDEX = -1; field in GuideUtils
88 int nextFocusIndex = INVALID_INDEX; in findNextFocusedProgram()
114 if (nextFocusIndex != INVALID_INDEX) { in findNextFocusedProgram()
DProgramGrid.java40 private static final int INVALID_INDEX = -1; field in ProgramGrid
254 if (focusedChildIndex == INVALID_INDEX) { in focusFind()
291 return INVALID_INDEX; in getFocusedChildIndex()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DBluetoothCmeError.java35 public static final int INVALID_INDEX = 21; field in BluetoothCmeError