Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dtrie_map.h41 const bool mIsValid; member
45 : mValue(value), mIsValid(isValid), in Result()
100 mKey(0), mValue(0), mIsValid(false), mNextLevelBitmapEntryIndex(INVALID_INDEX) { in TrieMapIterator()
116 return mIsValid || other.mIsValid;
122 mIsValid = result.mIsValid;
136 bool mIsValid; variable
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
Dsingle_dict_content.h48 mIsValid(mMmappedBuffer) {} in SingleDictContent()
52 mExpandableContentBuffer(Ver4DictConstants::MAX_DICTIONARY_SIZE), mIsValid(true) {} in SingleDictContent()
57 return mIsValid; in isValid()
83 const bool mIsValid; variable
Dsparse_table_dict_content.h67 mIsValid(mLookupTableBuffer && mAddressTableBuffer && mContentBuffer) {} in SparseTableDictContent()
75 sparseTableBlockSize, sparseTableDataSize), mIsValid(true) {} in SparseTableDictContent()
80 return mIsValid; in isValid()
119 const bool mIsValid; variable
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Darguments_and_options.h31 ArgumentsAndOptions() : mIsValid(false), mOptions(), mArguments() {} in ArgumentsAndOptions()
35 : mIsValid(true), mOptions(std::move(options)), mArguments(std::move(arguments)) {} in ArgumentsAndOptions()
38 return mIsValid; in isValid()
71 const bool mIsValid; variable
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dlanguage_model_dict_content.cpp68 if (!result.mIsValid) { in getWordAttributes()
124 if (!result.mIsValid) { in getNgramProbabilityEntry()
163 if (!result.mIsValid || result.mNextLevelBitmapEntryIndex == TrieMap::INVALID_INDEX) { in exportAllNgramEntriesRelatedToWord()
300 if (result.mIsValid && result.mNextLevelBitmapEntryIndex != TrieMap::INVALID_INDEX) { in createAndGetBitmapEntryIndex()
304 if (!result.mIsValid) { in createAndGetBitmapEntryIndex()
322 if (!result.mIsValid) { in getBitmapEntryIndex()
342 && !mTrieMap.getRoot(entry.key()).mIsValid) { in updateAllProbabilityEntriesForGCInner()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardState.java101 public boolean mIsValid; field in KeyboardState.SavedKeyboardState
109 if (!mIsValid) { in toString()
138 if (mSavedKeyboardState.mIsValid) { in onLoadKeyboard()
140 mSavedKeyboardState.mIsValid = false; in onLoadKeyboard()
165 state.mIsValid = true; in onSaveKeyboardState()
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/utils/
Dtrie_map_test.cpp46 EXPECT_FALSE(trieMap.get(11, next).mIsValid); in TEST()
56 EXPECT_FALSE(trieMap.getRoot(10).mIsValid); in TEST()
72 EXPECT_FALSE(result.mIsValid); in TEST()