Searched refs:EntryCounts (Results 1 – 12 of 12) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | entry_counters.h | 28 class EntryCounts final { 30 EntryCounts() : mEntryCounts({{0, 0, 0, 0}}) {} in EntryCounts() function 32 explicit EntryCounts(const std::array<int, MAX_PREV_WORD_COUNT_FOR_N_GRAM + 1> &counters) in EntryCounts() function 44 DISALLOW_ASSIGNMENT_OPERATOR(EntryCounts); 61 const EntryCounts getEntryCounts() const { in getEntryCounts() 62 return EntryCounts(mEntryCounters); in getEntryCounts()
|
D | forgetting_curve_utils.cpp | 128 const EntryCounts &entryCounts, const HeaderPolicy *const headerPolicy) { in needsToDecay() 129 const EntryCounts &maxNgramCounts = headerPolicy->getMaxNgramCounts(); in needsToDecay()
|
D | forgetting_curve_utils.h | 46 static bool needsToDecay(const bool mindsBlockByDecay, const EntryCounts &entryCounters,
|
D | dict_file_writing_utils.cpp | 73 EntryCounts(), 0 /* extendedRegionSize */, dictBuffers->getWritableHeaderBuffer()); in createEmptyV4DictFile()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/ |
D | header_policy.h | 169 AK_FORCE_INLINE const EntryCounts &getNgramCounts() const { in getNgramCounts() 173 AK_FORCE_INLINE const EntryCounts getMaxNgramCounts() const { in getMaxNgramCounts() 202 const EntryCounts &entryCounts, const int extendedRegionSize, 205 void fillInHeader(const bool updatesLastDecayedTime, const EntryCounts &entryCounts, 252 const EntryCounts mNgramCounts; 253 const EntryCounts mMaxNgramCounts; 262 const EntryCounts readNgramCounts() const; 263 const EntryCounts readMaxNgramCounts() const;
|
D | header_policy.cpp | 95 const EntryCounts &entryCounts, const int extendedRegionSize, in fillInAndWriteHeaderToBuffer() 135 const EntryCounts &entryCounts, const int extendedRegionSize, in fillInHeader() 162 /* static */ const EntryCounts HeaderPolicy::readNgramCounts() const { in readNgramCounts() 172 /* static */ const EntryCounts HeaderPolicy::readMaxNgramCounts() const { in readMaxNgramCounts()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_writing_helper.cpp | 37 const EntryCounts &entryCounts) const { in writeToDictFile() 91 const EntryCounts &maxEntryCounts = headerPolicy->getMaxNgramCounts(); in runGC()
|
D | ver4_patricia_trie_writing_helper.h | 37 bool writeToDictFile(const char *const dictDirPath, const EntryCounts &entryCounts) const;
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | language_model_dict_content.h | 196 bool truncateEntries(const EntryCounts ¤tEntryCounts, const EntryCounts &maxEntryCounts,
|
D | language_model_dict_content.cpp | 198 bool LanguageModelDictContent::truncateEntries(const EntryCounts ¤tEntryCounts, in truncateEntries() 199 const EntryCounts &maxEntryCounts, const HeaderPolicy *const headerPolicy, in truncateEntries()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_writing_helper.h | 50 bool writeToDictFile(const char *const dictDirPath, const EntryCounts &entryCounts) const;
|
D | ver4_patricia_trie_writing_helper.cpp | 46 const EntryCounts &entryCounts) const { in writeToDictFile()
|