/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | dynamic_pt_updating_helper.cpp | 34 int parentPos = NOT_A_DICT_POS; in addUnigramWord() local 70 parentPos = ptNodeParams.getHeadPos(); in addUnigramWord() 79 return createAndInsertNodeIntoPtNodeArray(parentPos, in addUnigramWord() 126 bool DynamicPtUpdatingHelper::createAndInsertNodeIntoPtNodeArray(const int parentPos, in createAndInsertNodeIntoPtNodeArray() argument 134 return createNewPtNodeArrayWithAChildPtNode(parentPos, ptNodeCodePoints, unigramProperty); in createAndInsertNodeIntoPtNodeArray() 280 const bool isPossiblyOffensive, const bool isTerminal, const int parentPos, in getUpdatedPtNodeParams() argument 286 return PtNodeParams(originalPtNodeParams, flags, parentPos, codePoints, probability); in getUpdatedPtNodeParams() 290 const bool isPossiblyOffensive, const bool isTerminal, const int parentPos, in getPtNodeParamsForNewPtNode() argument 296 return PtNodeParams(flags, parentPos, codePoints, probability); in getPtNodeParamsForNewPtNode()
|
D | dynamic_pt_updating_helper.h | 68 bool createAndInsertNodeIntoPtNodeArray(const int parentPos, 79 bool createNewPtNodeArrayWithAChildPtNode(const int parentPos, 89 const int parentPos, const CodePointArrayView codePoints, const int probability) const; 92 const bool isPossiblyOffensive, const bool isTerminal, const int parentPos,
|
D | pt_node_params.h | 76 const int parentPos, const int codePointCount, const int *const codePoints, in PtNodeParams() argument 79 : mHeadPos(headPos), mFlags(flags), mHasMovedFlag(true), mParentPos(parentPos), in PtNodeParams() 91 const PatriciaTrieReadingUtils::NodeFlags flags, const int parentPos, in PtNodeParams() argument 94 mParentPos(parentPos), mCodePointCount(codePoints.size()), mCodePoints(), in PtNodeParams() 108 PtNodeParams(const PatriciaTrieReadingUtils::NodeFlags flags, const int parentPos, in PtNodeParams() argument 110 : mHeadPos(NOT_A_DICT_POS), mFlags(flags), mHasMovedFlag(true), mParentPos(parentPos), in PtNodeParams()
|
D | dynamic_pt_writing_utils.cpp | 84 BufferWithExtendableBuffer *const buffer, const int parentPos, const int basePos, in writeParentPosOffsetAndAdvancePosition() argument 86 return writeDictOffset(buffer, parentPos, basePos, parentPosFieldPos); in writeParentPosOffsetAndAdvancePosition()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_node_reader.cpp | 51 const int parentPos = in fetchPtNodeInfoFromBufferAndProcessMovedPtNode() local 83 return fetchPtNodeInfoFromBufferAndProcessMovedPtNode(parentPos, newSiblingNodePos); in fetchPtNodeInfoFromBufferAndProcessMovedPtNode() 85 return PtNodeParams(headPos, flags, parentPos, codePointCount, codePoints, in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
|
D | ver4_patricia_trie_node_writer.cpp | 243 int parentPos = toBeUpdatedPtNodeParams->getParentPos(); in updateAllPositionFields() local 244 if (parentPos != NOT_A_DICT_POS) { in updateAllPositionFields() 246 dictPositionRelocationMap->mPtNodePositionRelocationMap.find(parentPos); in updateAllPositionFields() 248 parentPos = it->second; in updateAllPositionFields() 255 parentPos, toBeUpdatedPtNodeParams->getHeadPos(), &writingPos)) { in updateAllPositionFields()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_node_reader.cpp | 60 const int parentPos = in fetchPtNodeInfoFromBufferAndProcessMovedPtNode() local 100 return fetchPtNodeInfoFromBufferAndProcessMovedPtNode(parentPos, newSiblingNodePos); in fetchPtNodeInfoFromBufferAndProcessMovedPtNode() 102 return PtNodeParams(headPos, flags, parentPos, codePointCount, codePoints, in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
|
D | ver4_patricia_trie_node_writer.cpp | 271 int parentPos = toBeUpdatedPtNodeParams->getParentPos(); in updateAllPositionFields() local 272 if (parentPos != NOT_A_DICT_POS) { in updateAllPositionFields() 274 dictPositionRelocationMap->mPtNodePositionRelocationMap.find(parentPos); in updateAllPositionFields() 276 parentPos = it->second; in updateAllPositionFields() 283 parentPos, toBeUpdatedPtNodeParams->getHeadPos(), &writingPos)) { in updateAllPositionFields()
|