Searched refs:hasBigrams (Results 1 – 7 of 7) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_node_writer.cpp | 245 if (!sourcePtNodeParams.hasBigrams()) { in addNgramEntry() 321 ptNodeParams->hasBigrams(), in addShortcutTarget() 329 const bool hasBigrams = mBuffers->getBigramDictContent()->getBigramListHeadPos( in updatePtNodeHasBigramsAndShortcutTargetsFlags() local 335 hasBigrams, ptNodeParams->getCodePointCount() > 1 /* hasMultipleChars */); in updatePtNodeHasBigramsAndShortcutTargetsFlags() 391 ptNodeParams->hasBigrams(), in writePtNodeAndGetTerminalIdAndAdvancePosition() 415 const bool hasShortcutTargets, const bool hasBigrams, const bool hasMultipleChars) { in updatePtNodeFlags() argument 419 hasShortcutTargets, hasBigrams, hasMultipleChars, in updatePtNodeFlags()
|
D | ver4_patricia_trie_node_writer.h | 134 const bool isTerminal, const bool hasShortcutTargets, const bool hasBigrams,
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | patricia_trie_reading_utils.h | 73 static AK_FORCE_INLINE bool hasBigrams(const NodeFlags flags) { in hasBigrams() function 87 const bool hasBigrams, const bool hasMultipleChars, in createAndGetFlags() argument 94 nodeFlags = hasBigrams ? (nodeFlags | FLAG_HAS_BIGRAMS) : nodeFlags; in createAndGetFlags()
|
D | pt_node_params.h | 155 AK_FORCE_INLINE bool hasBigrams() const { in hasBigrams() function 156 return PatriciaTrieReadingUtils::hasBigrams(mFlags); in hasBigrams()
|
D | patricia_trie_reading_utils.cpp | 157 if (hasBigrams(flags)) { in readPtNodeInfo()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
D | patricia_trie_policy.cpp | 238 if (PatriciaTrieReadingUtils::hasBigrams(flags)) { in getCodePointsAndProbabilityAndReturnCodePointCount() 261 if (PatriciaTrieReadingUtils::hasBigrams(flags)) { in getCodePointsAndProbabilityAndReturnCodePointCount()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
D | BinaryDictEncoderUtils.java | 517 final int childrenAddressSize, final boolean hasBigrams, in makePtNodeFlags() argument 538 if (hasBigrams) flags |= FormatSpec.FLAG_HAS_BIGRAMS; in makePtNodeFlags()
|