Searched refs:nodeFlags (Results 1 – 5 of 5) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | patricia_trie_reading_utils.h | 89 NodeFlags nodeFlags = 0; in createAndGetFlags() local 90 nodeFlags = isPossiblyOffensive ? (nodeFlags | FLAG_IS_POSSIBLY_OFFENSIVE) : nodeFlags; in createAndGetFlags() 91 nodeFlags = isNotAWord ? (nodeFlags | FLAG_IS_NOT_A_WORD) : nodeFlags; in createAndGetFlags() 92 nodeFlags = isTerminal ? (nodeFlags | FLAG_IS_TERMINAL) : nodeFlags; in createAndGetFlags() 93 nodeFlags = hasShortcutTargets ? (nodeFlags | FLAG_HAS_SHORTCUT_TARGETS) : nodeFlags; in createAndGetFlags() 94 nodeFlags = hasBigrams ? (nodeFlags | FLAG_HAS_BIGRAMS) : nodeFlags; in createAndGetFlags() 95 nodeFlags = hasMultipleChars ? (nodeFlags | FLAG_HAS_MULTIPLE_CHARS) : nodeFlags; in createAndGetFlags() 97 nodeFlags |= FLAG_CHILDREN_POSITION_TYPE_ONEBYTE; in createAndGetFlags() 99 nodeFlags |= FLAG_CHILDREN_POSITION_TYPE_TWOBYTES; in createAndGetFlags() 101 nodeFlags |= FLAG_CHILDREN_POSITION_TYPE_THREEBYTES; in createAndGetFlags() [all …]
|
D | dynamic_pt_writing_utils.h | 43 const DynamicPtReadingUtils::NodeFlags nodeFlags, in writeFlags() argument 46 return writeFlagsAndAdvancePosition(buffer, nodeFlags, &writingPos); in writeFlags() 50 const DynamicPtReadingUtils::NodeFlags nodeFlags,
|
D | dynamic_pt_writing_utils.cpp | 78 const DynamicPtReadingUtils::NodeFlags nodeFlags, int *const nodeFlagsFieldPos) { in writeFlagsAndAdvancePosition() argument 79 return buffer->writeUintAndAdvancePosition(nodeFlags, NODE_FLAG_FIELD_SIZE, nodeFlagsFieldPos); in writeFlagsAndAdvancePosition()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_node_writer.cpp | 343 PatriciaTrieReadingUtils::NodeFlags nodeFlags = in updatePtNodeFlags() local 347 if (!DynamicPtWritingUtils::writeFlags(mTrieBuffer, nodeFlags, ptNodePos)) { in updatePtNodeFlags() 348 AKLOGE("Cannot write PtNode flags. flags: %x, pos: %d", nodeFlags, ptNodePos); in updatePtNodeFlags()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_node_writer.cpp | 417 PatriciaTrieReadingUtils::NodeFlags nodeFlags = in updatePtNodeFlags() local 421 if (!DynamicPtWritingUtils::writeFlags(mTrieBuffer, nodeFlags, ptNodePos)) { in updatePtNodeFlags() 422 AKLOGE("Cannot write PtNode flags. flags: %x, pos: %d", nodeFlags, ptNodePos); in updatePtNodeFlags()
|