Home
last modified time | relevance | path

Searched refs:mHasHistoricalInfo (Results 1 – 6 of 6) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dlanguage_model_dict_content.h67 : 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
Dlanguage_model_dict_content.cpp59 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/
Dbigram_dict_content.h47 mHasHistoricalInfo(hasHistoricalInfo) {} in BigramDictContent()
52 mHasHistoricalInfo(hasHistoricalInfo) {} in BigramDictContent()
112 if (mHasHistoricalInfo) { in getBigramEntrySize()
130 bool mHasHistoricalInfo; variable
Dprobability_dict_content.h44 mHasHistoricalInfo(hasHistoricalInfo), in ProbabilityDictContent()
48 : mHasHistoricalInfo(hasHistoricalInfo), mSize(0) {} in ProbabilityDictContent()
68 bool mHasHistoricalInfo; variable
Dprobability_dict_content.cpp46 if (mHasHistoricalInfo) { in getProbabilityEntry()
86 ProbabilityDictContent probabilityDictContentToWrite(mHasHistoricalInfo); in flushToFile()
117 if (mHasHistoricalInfo) { in getEntrySize()
147 if (mHasHistoricalInfo) { in writeEntry()
Dbigram_dict_content.cpp51 if (mHasHistoricalInfo) { in getBigramEntryAndAdvancePosition()
67 if (mHasHistoricalInfo) { in getBigramEntryAndAdvancePosition()
86 if (mHasHistoricalInfo) { in writeBigramEntryAndAdvancePosition()