Searched refs:mHasHistoricalInfo (Results 1 – 6 of 6) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | language_model_dict_content.h | 67 : mTrieMapIterator(trieMapIterator), mHasHistoricalInfo(hasHistoricalInfo) {} in EntryIterator() 72 result.key(), ProbabilityEntry::decode(result.value(), mHasHistoricalInfo)); 89 const bool mHasHistoricalInfo; variable 96 : mTrieMapRange(trieMapRange), mHasHistoricalInfo(hasHistoricalInfo) {} in EntryRange() 99 return EntryIterator(mTrieMapRange.begin(), mHasHistoricalInfo); in begin() 103 return EntryIterator(mTrieMapRange.end(), mHasHistoricalInfo); in end() 111 const bool mHasHistoricalInfo; variable 139 mHasHistoricalInfo(hasHistoricalInfo) {} in LanguageModelDictContent() 142 : mTrieMap(), mGlobalCounters(), mHasHistoricalInfo(hasHistoricalInfo) {} in LanguageModelDictContent() 236 const bool mHasHistoricalInfo; variable
|
D | language_model_dict_content.cpp | 59 if (mHasHistoricalInfo && unigramProbabilityEntry.getHistoricalInfo()->getCount() == 0) { in getWordAttributes() 72 ProbabilityEntry::decode(result.mValue, mHasHistoricalInfo); in getWordAttributes() 74 if (mHasHistoricalInfo) { in getWordAttributes() 128 return ProbabilityEntry::decode(result.mValue, mHasHistoricalInfo); in getNgramProbabilityEntry() 140 return mTrieMap.put(wordId, probabilityEntry->encode(mHasHistoricalInfo), bitmapEntryIndex); in setNgramProbabilityEntry() 156 return EntryRange(mTrieMap.getEntriesInSpecifiedLevel(bitmapEntryIndex), mHasHistoricalInfo); in getProbabilityEntries() 181 ProbabilityEntry::decode(entry.value(), mHasHistoricalInfo); in exportAllNgramEntriesRelatedToWordInner() 223 if (!mHasHistoricalInfo) { in updateAllEntriesOnInputWord() 305 if (!mTrieMap.put(wordId, ProbabilityEntry().encode(mHasHistoricalInfo), in createAndGetBitmapEntryIndex() 340 ProbabilityEntry::decode(entry.value(), mHasHistoricalInfo); in updateAllProbabilityEntriesForGCInner() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
D | bigram_dict_content.h | 47 mHasHistoricalInfo(hasHistoricalInfo) {} in BigramDictContent() 52 mHasHistoricalInfo(hasHistoricalInfo) {} in BigramDictContent() 112 if (mHasHistoricalInfo) { in getBigramEntrySize() 130 bool mHasHistoricalInfo; variable
|
D | probability_dict_content.cpp | 46 if (mHasHistoricalInfo) { in getProbabilityEntry() 88 ProbabilityDictContent probabilityDictContentToWrite(mHasHistoricalInfo); in flushToFile() 119 if (mHasHistoricalInfo) { in getEntrySize() 149 if (mHasHistoricalInfo) { in writeEntry()
|
D | probability_dict_content.h | 44 mHasHistoricalInfo(hasHistoricalInfo), in ProbabilityDictContent() 48 : mHasHistoricalInfo(hasHistoricalInfo), mSize(0) {} in ProbabilityDictContent() 68 bool mHasHistoricalInfo; variable
|
D | bigram_dict_content.cpp | 51 if (mHasHistoricalInfo) { in getBigramEntryAndAdvancePosition() 67 if (mHasHistoricalInfo) { in getBigramEntryAndAdvancePosition() 86 if (mHasHistoricalInfo) { in writeBigramEntryAndAdvancePosition()
|