Searched refs:NodeFlags (Results 1 – 14 of 14) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | patricia_trie_reading_utils.h | 31 typedef uint8_t NodeFlags; typedef 35 static NodeFlags getFlagsAndAdvancePosition(const uint8_t *const buffer, int *const pos); 41 static int getCharsAndAdvancePosition(const uint8_t *const buffer, const NodeFlags flags, 46 static int skipCharacters(const uint8_t *const buffer, const NodeFlags flags, 52 const NodeFlags flags, int *const pos); 57 static AK_FORCE_INLINE bool isPossiblyOffensive(const NodeFlags flags) { in isPossiblyOffensive() 61 static AK_FORCE_INLINE bool isNotAWord(const NodeFlags flags) { in isNotAWord() 65 static AK_FORCE_INLINE bool isTerminal(const NodeFlags flags) { in isTerminal() 69 static AK_FORCE_INLINE bool hasShortcutTargets(const NodeFlags flags) { in hasShortcutTargets() 73 static AK_FORCE_INLINE bool hasBigrams(const NodeFlags flags) { in hasBigrams() [all …]
|
D | patricia_trie_reading_utils.cpp | 28 const PtReadingUtils::NodeFlags PtReadingUtils::MASK_CHILDREN_POSITION_TYPE = 0xC0; 29 const PtReadingUtils::NodeFlags PtReadingUtils::FLAG_CHILDREN_POSITION_TYPE_NOPOSITION = 0x00; 30 const PtReadingUtils::NodeFlags PtReadingUtils::FLAG_CHILDREN_POSITION_TYPE_ONEBYTE = 0x40; 31 const PtReadingUtils::NodeFlags PtReadingUtils::FLAG_CHILDREN_POSITION_TYPE_TWOBYTES = 0x80; 32 const PtReadingUtils::NodeFlags PtReadingUtils::FLAG_CHILDREN_POSITION_TYPE_THREEBYTES = 0xC0; 35 const PtReadingUtils::NodeFlags PtReadingUtils::FLAG_HAS_MULTIPLE_CHARS = 0x20; 37 const PtReadingUtils::NodeFlags PtReadingUtils::FLAG_IS_TERMINAL = 0x10; 39 const PtReadingUtils::NodeFlags PtReadingUtils::FLAG_HAS_SHORTCUT_TARGETS = 0x08; 41 const PtReadingUtils::NodeFlags PtReadingUtils::FLAG_HAS_BIGRAMS = 0x04; 43 const PtReadingUtils::NodeFlags PtReadingUtils::FLAG_IS_NOT_A_WORD = 0x02; [all …]
|
D | dynamic_pt_reading_utils.h | 28 typedef uint8_t NodeFlags; typedef 49 static AK_FORCE_INLINE bool isMoved(const NodeFlags flags) { in isMoved() 53 static AK_FORCE_INLINE bool isDeleted(const NodeFlags flags) { in isDeleted() 57 static AK_FORCE_INLINE bool willBecomeNonTerminal(const NodeFlags flags) { in willBecomeNonTerminal() 61 static AK_FORCE_INLINE NodeFlags updateAndGetFlags(const NodeFlags originalFlags, in updateAndGetFlags() 63 NodeFlags flags = originalFlags; in updateAndGetFlags() 76 static const NodeFlags MASK_MOVED; 77 static const NodeFlags FLAG_IS_NOT_MOVED; 78 static const NodeFlags FLAG_IS_MOVED; 79 static const NodeFlags FLAG_IS_DELETED; [all …]
|
D | dynamic_pt_reading_utils.cpp | 24 const DynamicPtReadingUtils::NodeFlags DynamicPtReadingUtils::MASK_MOVED = 0xC0; 25 const DynamicPtReadingUtils::NodeFlags DynamicPtReadingUtils::FLAG_IS_NOT_MOVED = 0xC0; 26 const DynamicPtReadingUtils::NodeFlags DynamicPtReadingUtils::FLAG_IS_MOVED = 0x40; 27 const DynamicPtReadingUtils::NodeFlags DynamicPtReadingUtils::FLAG_IS_DELETED = 0x80; 28 const DynamicPtReadingUtils::NodeFlags DynamicPtReadingUtils::FLAG_WILL_BECOME_NON_TERMINAL = 0x00;
|
D | pt_node_params.h | 60 PtNodeParams(const int headPos, const PatriciaTrieReadingUtils::NodeFlags flags, in PtNodeParams() 75 PtNodeParams(const int headPos, const PatriciaTrieReadingUtils::NodeFlags flags, in PtNodeParams() 91 const PatriciaTrieReadingUtils::NodeFlags flags, const int parentPos, in PtNodeParams() 108 PtNodeParams(const PatriciaTrieReadingUtils::NodeFlags flags, const int parentPos, in PtNodeParams() 245 const PatriciaTrieReadingUtils::NodeFlags mFlags;
|
D | dynamic_pt_writing_utils.h | 43 const DynamicPtReadingUtils::NodeFlags nodeFlags, in writeFlags() 50 const DynamicPtReadingUtils::NodeFlags nodeFlags,
|
D | dynamic_pt_updating_helper.cpp | 282 const PatriciaTrieReadingUtils::NodeFlags flags = PatriciaTrieReadingUtils::createAndGetFlags( in getUpdatedPtNodeParams() 292 const PatriciaTrieReadingUtils::NodeFlags flags = PatriciaTrieReadingUtils::createAndGetFlags( in getPtNodeParamsForNewPtNode()
|
D | dynamic_pt_writing_utils.cpp | 78 const DynamicPtReadingUtils::NodeFlags nodeFlags, int *const nodeFlagsFieldPos) { in writeFlagsAndAdvancePosition()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_node_writer.cpp | 44 const PatriciaTrieReadingUtils::NodeFlags originalFlags = in markPtNodeAsDeleted() 46 const PatriciaTrieReadingUtils::NodeFlags updatedFlags = in markPtNodeAsDeleted() 75 const PatriciaTrieReadingUtils::NodeFlags originalFlags = in markPtNodeAsMoved() 77 const PatriciaTrieReadingUtils::NodeFlags updatedFlags = in markPtNodeAsMoved() 120 const PatriciaTrieReadingUtils::NodeFlags originalFlags = in markPtNodeAsWillBecomeNonTerminal() 122 const PatriciaTrieReadingUtils::NodeFlags updatedFlags = in markPtNodeAsWillBecomeNonTerminal() 343 PatriciaTrieReadingUtils::NodeFlags nodeFlags = in updatePtNodeFlags()
|
D | ver4_patricia_trie_node_reader.cpp | 46 const PatriciaTrieReadingUtils::NodeFlags flags = in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_node_writer.cpp | 54 const PatriciaTrieReadingUtils::NodeFlags originalFlags = in markPtNodeAsDeleted() 56 const PatriciaTrieReadingUtils::NodeFlags updatedFlags = in markPtNodeAsDeleted() 84 const PatriciaTrieReadingUtils::NodeFlags originalFlags = in markPtNodeAsMoved() 86 const PatriciaTrieReadingUtils::NodeFlags updatedFlags = in markPtNodeAsMoved() 129 const PatriciaTrieReadingUtils::NodeFlags originalFlags = in markPtNodeAsWillBecomeNonTerminal() 131 const PatriciaTrieReadingUtils::NodeFlags updatedFlags = in markPtNodeAsWillBecomeNonTerminal() 417 PatriciaTrieReadingUtils::NodeFlags nodeFlags = in updatePtNodeFlags()
|
D | ver4_patricia_trie_node_reader.cpp | 55 const PatriciaTrieReadingUtils::NodeFlags flags = in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
D | patricia_trie_policy.cpp | 118 const PatriciaTrieReadingUtils::NodeFlags flags = in getCodePointsAndProbabilityAndReturnCodePointCount() 196 const PatriciaTrieReadingUtils::NodeFlags lastFlags = in getCodePointsAndProbabilityAndReturnCodePointCount() 404 PatriciaTrieReadingUtils::NodeFlags flags; in createAndGetLeavingChildNode()
|
D | ver2_patricia_trie_node_reader.cpp | 32 PatriciaTrieReadingUtils::NodeFlags flags; in fetchPtNodeParamsInBufferFromPtNodePos()
|