/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | language_model_dict_content.cpp | 59 if (mHasHistoricalInfo && unigramProbabilityEntry.getHistoricalInfo()->getCount() == 0) { in getWordAttributes() 75 const HistoricalInfo *const historicalInfo = probabilityEntry.getHistoricalInfo(); in getWordAttributes() 91 contextCount = prevWordProbabilityEntry.getHistoricalInfo()->getCount(); in getWordAttributes() 235 updatedUnigramProbabilityEntry.getHistoricalInfo()->getCount()); in updateAllEntriesOnInputWord() 250 updatedNgramProbabilityEntry.getHistoricalInfo()->getCount()); in updateAllEntriesOnInputWord() 265 0 /* level */, originalProbabilityEntry.getHistoricalInfo()->getCount() in createUpdatedEntryFrom() 350 const HistoricalInfo *originalHistoricalInfo = probabilityEntry.getHistoricalInfo(); in updateAllProbabilityEntriesForGCInner() 441 *probabilityEntry.getHistoricalInfo()) in getEntryInfo() 443 outEntryInfo->emplace_back(priority, probabilityEntry.getHistoricalInfo()->getCount(), in getEntryInfo()
|
D | probability_entry.h | 56 mHistoricalInfo(unigramProperty->getHistoricalInfo()) {} in ProbabilityEntry() 62 mHistoricalInfo(ngramProperty->getHistoricalInfo()) {} in ProbabilityEntry() 80 const HistoricalInfo *getHistoricalInfo() const { in getHistoricalInfo() function
|
D | language_model_dict_content.h | 161 mGlobalCounters.addToTotalCount(probabilityEntry->getHistoricalInfo()->getCount()); in setProbabilityEntry()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/bigram/ |
D | ver4_bigram_list_policy.cpp | 51 ForgettingCurveUtils::decodeProbability(bigramEntry.getHistoricalInfo(), in getNextBigram() 194 bigramEntry.getHistoricalInfo(), mHeaderPolicy); in updateAllBigramEntriesAndDeleteUselessEntries() 270 const HistoricalInfo &historicalInfoForUpdate = ngramProperty->getHistoricalInfo(); in createUpdatedBigramEntryFrom() 273 originalBigramEntry->getHistoricalInfo(), ngramProperty->getProbability(), in createUpdatedBigramEntryFrom()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_writing_helper.cpp | 219 probabilityEntry.getHistoricalInfo(), mBuffers->getHeaderPolicy()) : in truncateUnigrams() 222 probabilityEntry.getHistoricalInfo()->getTimestamp())); in truncateUnigrams() 266 bigramEntry.getHistoricalInfo(), mBuffers->getHeaderPolicy()) : in truncateBigrams() 269 bigramEntry.getHistoricalInfo()->getTimestamp())); in truncateBigrams()
|
D | ver4_patricia_trie_node_writer.cpp | 174 originalProbabilityEntry.getHistoricalInfo(), mHeaderPolicy); in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC() 400 const HistoricalInfo &historicalInfoForUpdate = unigramProperty->getHistoricalInfo(); in createUpdatedEntryFrom() 403 originalProbabilityEntry->getHistoricalInfo(), in createUpdatedEntryFrom()
|
D | ver4_patricia_trie_policy.cpp | 561 const HistoricalInfo *const historicalInfo = probabilityEntry.getHistoricalInfo(); in getWordProperty() 585 const HistoricalInfo *const historicalInfo = bigramEntry.getHistoricalInfo(); in getWordProperty() 588 bigramEntry.getHistoricalInfo(), mHeaderPolicy) in getWordProperty()
|
D | ver4_patricia_trie_node_reader.cpp | 78 probabilityEntry.getHistoricalInfo(), mHeaderPolicy); in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
|
/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/ |
D | probability_entry_test.cpp | 53 EXPECT_EQ(timestamp, decodedEntry.getHistoricalInfo()->getTimestamp()); in TEST() 54 EXPECT_EQ(count, decodedEntry.getHistoricalInfo()->getCount()); in TEST()
|
D | language_model_dict_content_test.cpp | 62 EXPECT_EQ(timestamp, entry.getHistoricalInfo()->getTimestamp()); in TEST() 63 EXPECT_EQ(count, entry.getHistoricalInfo()->getCount()); in TEST()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.cpp | 42 const HistoricalInfo &historicalInfo = unigramProperty.getHistoricalInfo(); in outputWordProperty() 86 const HistoricalInfo &ngramHistoricalInfo = ngramProperty.getHistoricalInfo(); in outputWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_policy.cpp | 155 probability = probabilityEntry.getHistoricalInfo()->getCount() <= 1 ? in iterateNgramEntries() 537 const HistoricalInfo *const historicalInfo = ngramProbabilityEntry.getHistoricalInfo(); in getWordProperty() 564 const HistoricalInfo *const historicalInfo = probabilityEntry.getHistoricalInfo(); in getWordProperty()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
D | ngram_property.h | 47 const HistoricalInfo getHistoricalInfo() const { in getHistoricalInfo() function
|
D | unigram_property.h | 116 const HistoricalInfo getHistoricalInfo() const { in getHistoricalInfo() function
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
D | probability_entry.h | 75 const HistoricalInfo *getHistoricalInfo() const { in getHistoricalInfo() function
|
D | bigram_entry.h | 89 const HistoricalInfo *getHistoricalInfo() const { in getHistoricalInfo() function
|
D | probability_dict_content.cpp | 148 const HistoricalInfo *const historicalInfo = probabilityEntry->getHistoricalInfo(); in writeEntry()
|
D | bigram_dict_content.cpp | 87 const HistoricalInfo *const historicalInfo = bigramEntryToWrite->getHistoricalInfo(); in writeBigramEntryAndAdvancePosition()
|