/packages/inputmethods/LatinIME/native/jni/src/dictionary/header/ |
D | header_policy.cpp | 26 const char *const HeaderPolicy::MULTIPLE_WORDS_DEMOTION_RATE_KEY = "MULTIPLE_WORDS_DEMOTION_RATE"; 27 const char *const HeaderPolicy::REQUIRES_GERMAN_UMLAUT_PROCESSING_KEY = 30 const char *const HeaderPolicy::IS_DECAYING_DICT_KEY = "USES_FORGETTING_CURVE"; 31 const char *const HeaderPolicy::DATE_KEY = "date"; 32 const char *const HeaderPolicy::LAST_DECAYED_TIME_KEY = "LAST_DECAYED_TIME"; 33 const char *const HeaderPolicy::NGRAM_COUNT_KEYS[] = 35 const char *const HeaderPolicy::MAX_NGRAM_COUNT_KEYS[] = 38 const int HeaderPolicy::DEFAULT_MAX_NGRAM_COUNTS[] = {10000, 30000, 30000, 30000}; 39 const char *const HeaderPolicy::EXTENDED_REGION_SIZE_KEY = "EXTENDED_REGION_SIZE"; 42 const char *const HeaderPolicy::HAS_HISTORICAL_INFO_KEY = "HAS_HISTORICAL_INFO"; [all …]
|
D | header_policy.h | 32 class HeaderPolicy : public DictionaryHeaderStructurePolicy { 35 HeaderPolicy(const uint8_t *const dictBuf, const FormatUtils::FORMAT_VERSION formatVersion) in HeaderPolicy() function 60 HeaderPolicy(const FormatUtils::FORMAT_VERSION dictFormatVersion, in HeaderPolicy() function 84 HeaderPolicy(const HeaderPolicy *const headerPolicy) in HeaderPolicy() function 101 HeaderPolicy() in HeaderPolicy() function 109 ~HeaderPolicy() {} in ~HeaderPolicy() 222 DISALLOW_COPY_AND_ASSIGN(HeaderPolicy);
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | language_model_dict_content.h | 36 class HeaderPolicy; variable 154 const bool mustMatchAllPrevWords, const HeaderPolicy *const headerPolicy) const; 180 const HeaderPolicy *const headerPolicy, const int wordId) const; 182 bool updateAllProbabilityEntriesForGC(const HeaderPolicy *const headerPolicy, in updateAllProbabilityEntriesForGC() 197 const HeaderPolicy *const headerPolicy, MutableEntryCounters *const outEntryCounters); 201 const HeaderPolicy *const headerPolicy, 243 const HeaderPolicy *const headerPolicy, const bool needsToHalveCounters, 245 bool turncateEntriesInSpecifiedLevel(const HeaderPolicy *const headerPolicy, 247 bool getEntryInfo(const HeaderPolicy *const headerPolicy, const int targetLevel, 252 const HeaderPolicy *const headerPolicy) const; [all …]
|
D | language_model_dict_content.cpp | 44 const HeaderPolicy *const headerPolicy) const { in getWordAttributes() 161 const HeaderPolicy *const headerPolicy, const int wordId) const { in exportAllNgramEntriesRelatedToWord() 175 const HeaderPolicy *const headerPolicy, const int bitmapEntryIndex, in exportAllNgramEntriesRelatedToWordInner() 199 const EntryCounts &maxEntryCounts, const HeaderPolicy *const headerPolicy, in truncateEntries() 222 const HeaderPolicy *const headerPolicy, MutableEntryCounters *const entryCountersToUpdate) { in updateAllEntriesOnInputWord() 263 const HistoricalInfo historicalInfo, const HeaderPolicy *const headerPolicy) const { in createUpdatedEntryFrom() 331 const int prevWordCount, const HeaderPolicy *const headerPolicy, in updateAllProbabilityEntriesForGCInner() 392 const HeaderPolicy *const headerPolicy, const int maxEntryCount, const int targetLevel, in turncateEntriesInSpecifiedLevel() 420 bool LanguageModelDictContent::getEntryInfo(const HeaderPolicy *const headerPolicy, in getEntryInfo()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | forgetting_curve_utils.h | 28 class HeaderPolicy; variable 34 const HistoricalInfo *const newHistoricalInfo, const HeaderPolicy *const headerPolicy); 38 const HeaderPolicy *const headerPolicy); 41 const HeaderPolicy *const headerPolicy); 44 const HeaderPolicy *const headerPolicy); 47 const HeaderPolicy *const headerPolicy); 108 static int clampToValidCountRange(const int count, const HeaderPolicy *const headerPolicy);
|
D | forgetting_curve_utils.cpp | 48 const HistoricalInfo *const newHistoricalInfo, const HeaderPolicy *const headerPolicy) { in createUpdatedHistoricalInfo() 87 const HistoricalInfo *const historicalInfo, const HeaderPolicy *const headerPolicy) { in decodeProbability() 97 const HeaderPolicy *const headerPolicy) { in needsToKeep() 106 const HeaderPolicy *const headerPolicy) { in createHistoricalInfoToSave() 128 const EntryCounts &entryCounts, const HeaderPolicy *const headerPolicy) { in needsToDecay() 167 const HeaderPolicy *const headerPolicy) { in clampToValidCountRange()
|
D | dict_file_writing_utils.cpp | 69 HeaderPolicy headerPolicy(formatVersion, localeAsCodePointVector, attributeMap); in createEmptyV4DictFile()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_dict_buffers.h | 43 const HeaderPolicy *const headerPolicy, const int maxTrieSize) { in createVer4DictBuffers() 58 AK_FORCE_INLINE const HeaderPolicy *getHeaderPolicy() const { in getHeaderPolicy() 117 Ver4DictBuffers(const HeaderPolicy *const headerPolicy, const int maxTrieSize); 123 const HeaderPolicy mHeaderPolicy;
|
D | ver4_patricia_trie_writing_helper.cpp | 38 const HeaderPolicy *const headerPolicy = mBuffers->getHeaderPolicy(); in writeToDictFile() 58 const HeaderPolicy *const headerPolicy = mBuffers->getHeaderPolicy(); in writeToDictFileWithGC() 76 const HeaderPolicy *const headerPolicy, Ver4DictBuffers *const buffersToWrite, in runGC()
|
D | ver4_patricia_trie_writing_helper.h | 27 class HeaderPolicy; variable 69 bool runGC(const int rootPtNodeArrayPos, const HeaderPolicy *const headerPolicy,
|
D | ver4_patricia_trie_node_reader.h | 27 class HeaderPolicy; variable
|
D | ver4_patricia_trie_node_writer.h | 29 class HeaderPolicy; variable
|
D | ver4_patricia_trie_policy.h | 134 const HeaderPolicy *const mHeaderPolicy;
|
D | ver4_dict_buffers.cpp | 187 Ver4DictBuffers::Ver4DictBuffers(const HeaderPolicy *const headerPolicy, const int maxTrieSize) in Ver4DictBuffers()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_dict_buffers.h | 52 const HeaderPolicy *const headerPolicy, const int maxTrieSize) { in createVer4DictBuffers() 70 AK_FORCE_INLINE const HeaderPolicy *getHeaderPolicy() const { in getHeaderPolicy() 136 Ver4DictBuffers(const HeaderPolicy *const headerPolicy, const int maxTrieSize); 140 const HeaderPolicy mHeaderPolicy;
|
D | ver4_patricia_trie_node_reader.h | 42 class HeaderPolicy; variable 55 const HeaderPolicy *const headerPolicy) in Ver4PatriciaTrieNodeReader() 71 const HeaderPolicy *const mHeaderPolicy;
|
D | ver4_patricia_trie_node_writer.h | 45 class HeaderPolicy; variable 60 Ver4DictBuffers *const buffers, const HeaderPolicy *const headerPolicy, in Ver4PatriciaTrieNodeWriter() 141 const HeaderPolicy *const mHeaderPolicy;
|
D | ver4_patricia_trie_writing_helper.h | 38 class HeaderPolicy; variable 125 bool runGC(const int rootPtNodeArrayPos, const HeaderPolicy *const headerPolicy,
|
D | ver4_patricia_trie_writing_helper.cpp | 47 const HeaderPolicy *const headerPolicy = mBuffers->getHeaderPolicy(); in writeToDictFile() 65 const HeaderPolicy *const headerPolicy = mBuffers->getHeaderPolicy(); in writeToDictFileWithGC() 87 const HeaderPolicy *const headerPolicy, Ver4DictBuffers *const buffersToWrite, in runGC()
|
D | ver4_patricia_trie_policy.h | 156 const HeaderPolicy *const mHeaderPolicy;
|
D | ver4_dict_buffers.cpp | 147 Ver4DictBuffers::Ver4DictBuffers(const HeaderPolicy *const headerPolicy, const int maxTrieSize) in Ver4DictBuffers()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/bigram/ |
D | ver4_bigram_list_policy.h | 44 class HeaderPolicy; variable 53 const HeaderPolicy *const headerPolicy) in Ver4BigramListPolicy() 89 const HeaderPolicy *const mHeaderPolicy;
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
D | patricia_trie_policy.h | 157 const HeaderPolicy mHeaderPolicy;
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/ |
D | dictionary_structure_with_buffer_policy_factory.cpp | 88 HeaderPolicy headerPolicy(formatVersion, locale, attributeMap); in newPolicyForOnMemoryV4Dict()
|