Home
last modified time | relevance | path

Searched refs:needsToHalveCounters (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/tests/dictionary/structure/v4/content/
Dlanguage_model_dict_content_global_counters_test.cpp29 EXPECT_FALSE(globalCounters.needsToHalveCounters()); in TEST()
31 EXPECT_FALSE(globalCounters.needsToHalveCounters()); in TEST()
34 EXPECT_TRUE(globalCounters.needsToHalveCounters()); in TEST()
36 EXPECT_FALSE(globalCounters.needsToHalveCounters()); in TEST()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dlanguage_model_dict_content.h145 return mTrieMap.isNearSizeLimit() || mGlobalCounters.needsToHalveCounters(); in isNearSizeLimit()
185 0 /* prevWordCount */, headerPolicy, mGlobalCounters.needsToHalveCounters(), in updateAllProbabilityEntriesForGC()
189 if (mGlobalCounters.needsToHalveCounters()) { in updateAllProbabilityEntriesForGC()
243 const HeaderPolicy *const headerPolicy, const bool needsToHalveCounters,
Dlanguage_model_dict_content.cpp332 const bool needsToHalveCounters, MutableEntryCounters *const outEntryCounters) { in updateAllProbabilityEntriesForGCInner() argument
359 if (needsToHalveCounters) { in updateAllProbabilityEntriesForGCInner()
384 prevWordCount + 1, headerPolicy, needsToHalveCounters, outEntryCounters)) { in updateAllProbabilityEntriesForGCInner()
Dlanguage_model_dict_content_global_counters.h39 bool needsToHalveCounters() const { in needsToHalveCounters() function