Home
last modified time | relevance | path

Searched refs:hasHistoricalInfo (Results 1 – 15 of 15) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/
Dlanguage_model_dict_content.h66 const bool hasHistoricalInfo) in EntryIterator() argument
67 : mTrieMapIterator(trieMapIterator), mHasHistoricalInfo(hasHistoricalInfo) {} in EntryIterator()
95 EntryRange(const TrieMap::TrieMapRange trieMapRange, const bool hasHistoricalInfo) in EntryRange() argument
96 : mTrieMapRange(trieMapRange), mHasHistoricalInfo(hasHistoricalInfo) {} in EntryRange()
136 const bool hasHistoricalInfo) in LanguageModelDictContent() argument
139 mHasHistoricalInfo(hasHistoricalInfo) {} in LanguageModelDictContent()
141 explicit LanguageModelDictContent(const bool hasHistoricalInfo) in LanguageModelDictContent() argument
142 : mTrieMap(), mGlobalCounters(), mHasHistoricalInfo(hasHistoricalInfo) {} in LanguageModelDictContent()
Dprobability_entry.h68 bool hasHistoricalInfo() const { in hasHistoricalInfo() function
100 uint64_t encode(const bool hasHistoricalInfo) const { in encode() argument
102 if (hasHistoricalInfo) { in encode()
116 static ProbabilityEntry decode(const uint64_t encodedEntry, const bool hasHistoricalInfo) { in decode() argument
117 if (hasHistoricalInfo) { in decode()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
Dprobability_dict_content.h41 ProbabilityDictContent(const char *const dictPath, const bool hasHistoricalInfo, in ProbabilityDictContent() argument
44 mHasHistoricalInfo(hasHistoricalInfo), in ProbabilityDictContent()
47 ProbabilityDictContent(const bool hasHistoricalInfo) in ProbabilityDictContent() argument
48 : mHasHistoricalInfo(hasHistoricalInfo), mSize(0) {} in ProbabilityDictContent()
Dbigram_dict_content.h39 BigramDictContent(const char *const dictPath, const bool hasHistoricalInfo, in BigramDictContent() argument
47 mHasHistoricalInfo(hasHistoricalInfo) {} in BigramDictContent()
49 BigramDictContent(const bool hasHistoricalInfo) in BigramDictContent() argument
52 mHasHistoricalInfo(hasHistoricalInfo) {} in BigramDictContent()
Dprobability_entry.h63 bool hasHistoricalInfo() const { in hasHistoricalInfo() function
Dbigram_entry.h85 bool hasHistoricalInfo() const { in hasHistoricalInfo() function
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
DProbabilityInfo.java59 public boolean hasHistoricalInfo() { in hasHistoricalInfo() method in ProbabilityInfo
65 if (hasHistoricalInfo()) { in hashCode()
81 if (!hasHistoricalInfo() && !p.hasHistoricalInfo()) { in equals()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/bigram/
Dver4_bigram_list_policy.cpp49 if (bigramEntry.hasHistoricalInfo()) { in getNextBigram()
192 } else if (bigramEntry.hasHistoricalInfo()) { in updateAllBigramEntriesAndDeleteUselessEntries()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_writing_helper.cpp217 const int probability = probabilityEntry.hasHistoricalInfo() ? in truncateUnigrams()
264 const int probability = bigramEntry.hasHistoricalInfo() ? in truncateBigrams()
Dver4_patricia_trie_node_reader.cpp76 if (probabilityEntry.hasHistoricalInfo()) { in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
Dver4_patricia_trie_node_writer.cpp172 if (originalProbabilityEntry.hasHistoricalInfo()) { in updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC()
Dver4_patricia_trie_policy.cpp586 const int rawBigramProbability = bigramEntry.hasHistoricalInfo() in getWordProperty()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionary.java261 final boolean hasHistoricalInfo = DictionaryHeader.ATTRIBUTE_VALUE_TRUE.equals( in getHeader()
264 new FormatSpec.FormatOptions(outFormatVersion[0], hasHistoricalInfo)); in getHeader()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DCombinedFormatUtils.java94 if (probabilityInfo.hasHistoricalInfo()) { in formatProbabilityInfo()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_policy.cpp151 if (probabilityEntry.hasHistoricalInfo()) { in iterateNgramEntries()