Home
last modified time | relevance | path

Searched refs:hasBigrams (Results 1 – 7 of 7) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_node_writer.cpp245 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()
Dver4_patricia_trie_node_writer.h134 const bool isTerminal, const bool hasShortcutTargets, const bool hasBigrams,
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Dpatricia_trie_reading_utils.h73 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()
Dpt_node_params.h155 AK_FORCE_INLINE bool hasBigrams() const { in hasBigrams() function
156 return PatriciaTrieReadingUtils::hasBigrams(mFlags); in hasBigrams()
Dpatricia_trie_reading_utils.cpp157 if (hasBigrams(flags)) { in readPtNodeInfo()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp238 if (PatriciaTrieReadingUtils::hasBigrams(flags)) { in getCodePointsAndProbabilityAndReturnCodePointCount()
261 if (PatriciaTrieReadingUtils::hasBigrams(flags)) { in getCodePointsAndProbabilityAndReturnCodePointCount()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
DBinaryDictEncoderUtils.java517 final int childrenAddressSize, final boolean hasBigrams, in makePtNodeFlags() argument
538 if (hasBigrams) flags |= FormatSpec.FLAG_HAS_BIGRAMS; in makePtNodeFlags()