Home
last modified time | relevance | path

Searched refs:toBeUpdatedPtNodeParams (Results 1 – 5 of 5) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_node_writer.cpp36 const PtNodeParams *const toBeUpdatedPtNodeParams) { in markPtNodeAsDeleted() argument
37 int pos = toBeUpdatedPtNodeParams->getHeadPos(); in markPtNodeAsDeleted()
49 int writingPos = toBeUpdatedPtNodeParams->getHeadPos(); in markPtNodeAsDeleted()
55 if (toBeUpdatedPtNodeParams->isTerminal()) { in markPtNodeAsDeleted()
58 toBeUpdatedPtNodeParams->getTerminalId(), NOT_A_DICT_POS /* ptNodePos */); in markPtNodeAsDeleted()
66 const PtNodeParams *const toBeUpdatedPtNodeParams, in markPtNodeAsMoved() argument
68 int pos = toBeUpdatedPtNodeParams->getHeadPos(); in markPtNodeAsMoved()
80 int writingPos = toBeUpdatedPtNodeParams->getHeadPos(); in markPtNodeAsMoved()
88 mTrieBuffer, movedPos, toBeUpdatedPtNodeParams->getHeadPos(), &writingPos)) { in markPtNodeAsMoved()
91 if (toBeUpdatedPtNodeParams->hasChildren()) { in markPtNodeAsMoved()
[all …]
Dver4_patricia_trie_node_writer.h49 virtual bool markPtNodeAsDeleted(const PtNodeParams *const toBeUpdatedPtNodeParams);
51 virtual bool markPtNodeAsMoved(const PtNodeParams *const toBeUpdatedPtNodeParams,
55 const PtNodeParams *const toBeUpdatedPtNodeParams);
57 virtual bool updatePtNodeUnigramProperty(const PtNodeParams *const toBeUpdatedPtNodeParams,
61 const PtNodeParams *const toBeUpdatedPtNodeParams, bool *const outNeedsToKeepPtNode);
63 virtual bool updateChildrenPosition(const PtNodeParams *const toBeUpdatedPtNodeParams,
66 bool updateTerminalId(const PtNodeParams *const toBeUpdatedPtNodeParams,
83 virtual bool updateAllPositionFields(const PtNodeParams *const toBeUpdatedPtNodeParams,
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_node_writer.cpp46 const PtNodeParams *const toBeUpdatedPtNodeParams) { in markPtNodeAsDeleted() argument
47 int pos = toBeUpdatedPtNodeParams->getHeadPos(); in markPtNodeAsDeleted()
59 int writingPos = toBeUpdatedPtNodeParams->getHeadPos(); in markPtNodeAsDeleted()
65 if (toBeUpdatedPtNodeParams->isTerminal()) { in markPtNodeAsDeleted()
68 toBeUpdatedPtNodeParams->getTerminalId(), NOT_A_DICT_POS /* ptNodePos */); in markPtNodeAsDeleted()
75 const PtNodeParams *const toBeUpdatedPtNodeParams, in markPtNodeAsMoved() argument
77 int pos = toBeUpdatedPtNodeParams->getHeadPos(); in markPtNodeAsMoved()
89 int writingPos = toBeUpdatedPtNodeParams->getHeadPos(); in markPtNodeAsMoved()
97 mTrieBuffer, movedPos, toBeUpdatedPtNodeParams->getHeadPos(), &writingPos)) { in markPtNodeAsMoved()
100 if (toBeUpdatedPtNodeParams->hasChildren()) { in markPtNodeAsMoved()
[all …]
Dver4_patricia_trie_node_writer.h70 virtual bool markPtNodeAsDeleted(const PtNodeParams *const toBeUpdatedPtNodeParams);
72 virtual bool markPtNodeAsMoved(const PtNodeParams *const toBeUpdatedPtNodeParams,
76 const PtNodeParams *const toBeUpdatedPtNodeParams);
78 virtual bool updatePtNodeUnigramProperty(const PtNodeParams *const toBeUpdatedPtNodeParams,
82 const PtNodeParams *const toBeUpdatedPtNodeParams, bool *const outNeedsToKeepPtNode);
84 virtual bool updateChildrenPosition(const PtNodeParams *const toBeUpdatedPtNodeParams,
87 bool updateTerminalId(const PtNodeParams *const toBeUpdatedPtNodeParams,
104 virtual bool updateAllPositionFields(const PtNodeParams *const toBeUpdatedPtNodeParams,
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Dpt_node_writer.h50 virtual bool markPtNodeAsDeleted(const PtNodeParams *const toBeUpdatedPtNodeParams) = 0;
52 virtual bool markPtNodeAsMoved(const PtNodeParams *const toBeUpdatedPtNodeParams,
56 const PtNodeParams *const toBeUpdatedPtNodeParams) = 0;
58 virtual bool updatePtNodeUnigramProperty(const PtNodeParams *const toBeUpdatedPtNodeParams,
62 const PtNodeParams *const toBeUpdatedPtNodeParams,
65 virtual bool updateChildrenPosition(const PtNodeParams *const toBeUpdatedPtNodeParams,
82 virtual bool updateAllPositionFields(const PtNodeParams *const toBeUpdatedPtNodeParams,