Searched refs:mPtNodeWriter (Results 1 – 8 of 8) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/ |
D | dynamic_pt_updating_helper.cpp | 99 return mPtNodeWriter->addNgramEntry(prevWordIds, wordId, ngramProperty, outAddedNewEntry); in addNgramEntry() 116 return mPtNodeWriter->removeNgramEntry(prevWordIds, wordId); in removeNgramEntry() 122 return mPtNodeWriter->addShortcutTarget(&ptNodeParams, targetCodePoints.data(), in addShortcutTarget() 142 return mPtNodeWriter->updatePtNodeUnigramProperty(originalPtNodeParams, unigramProperty); in setPtNodeProbability() 152 if (!mPtNodeWriter->writeNewTerminalPtNodeAndAdvancePosition(&ptNodeParamsToWrite, in setPtNodeProbability() 156 if (!mPtNodeWriter->markPtNodeAsMoved(originalPtNodeParams, movedPos, movedPos)) { in setPtNodeProbability() 167 if (!mPtNodeWriter->updateChildrenPosition(parentPtNodeParams, newPtNodeArrayPos)) { in createChildrenPtNodeArrayAndAChildPtNode() 186 if (!mPtNodeWriter->writeNewTerminalPtNodeAndAdvancePosition(&ptNodeParamsToWrite, in createNewPtNodeArrayWithAChildPtNode() 221 if (!mPtNodeWriter->writePtNodeAndAdvancePosition(&ptNodeParamsToWrite, &writingPos)) { in reallocatePtNodeAndAddNewPtNodes() 229 if (!mPtNodeWriter->writeNewTerminalPtNodeAndAdvancePosition(&ptNodeParamsToWrite, in reallocatePtNodeAndAddNewPtNodes() [all …]
|
D | dynamic_pt_gc_event_listeners.h | 41 : mPtNodeWriter(ptNodeWriter), mValueStack(), mChildrenValue(0), in TraversePolicyToUpdateUnigramProbabilityAndMarkUselessPtNodesAsDeleted() 73 PtNodeWriter *const mPtNodeWriter; variable 86 : mPtNodeWriter(ptNodeWriter), mValidBigramEntryCount(0) {} in TraversePolicyToUpdateBigramProbability() 103 PtNodeWriter *const mPtNodeWriter; variable 113 : mPtNodeWriter(ptNodeWriter), mBufferToWrite(bufferToWrite), in TraversePolicyToPlaceAndWriteValidPtNodesToBuffer() 128 PtNodeWriter *const mPtNodeWriter; variable 140 : mPtNodeWriter(ptNodeWriter), in TraversePolicyToUpdateAllPositionFields() 163 PtNodeWriter *const mPtNodeWriter; variable
|
D | dynamic_pt_gc_event_listeners.cpp | 34 if (!mPtNodeWriter->updatePtNodeProbabilityAndGetNeedsToKeepPtNodeAfterGC( in onVisitingPtNode() 47 if (!mPtNodeWriter->updateChildrenPosition(ptNodeParams, in onVisitingPtNode() 54 if (!mPtNodeWriter->markPtNodeAsDeleted(ptNodeParams)) { in onVisitingPtNode() 70 if (!mPtNodeWriter->updateAllBigramEntriesAndDeleteUselessEntries(ptNodeParams, in onVisitingPtNode() 126 return mPtNodeWriter->writePtNodeAndAdvancePosition(ptNodeParams, &writingPos); in onVisitingPtNode() 133 if (!mPtNodeWriter->updateAllPositionFields(ptNodeParams, mDictPositionRelocationMap, in onVisitingPtNode()
|
D | dynamic_pt_updating_helper.h | 37 : mBuffer(buffer), mPtNodeReader(ptNodeReader), mPtNodeWriter(ptNodeWriter) {} in DynamicPtUpdatingHelper() 66 PtNodeWriter *const mPtNodeWriter; variable
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_patricia_trie_writing_helper.h | 52 : mPtNodeWriter(ptNodeWriter), mTerminalIdMap(terminalIdMap) {} in TraversePolicyToUpdateAllPtNodeFlagsAndTerminalIds() 65 Ver4PatriciaTrieNodeWriter *const mPtNodeWriter; variable
|
D | ver4_patricia_trie_writing_helper.cpp | 178 if (!mPtNodeWriter->updateTerminalId(ptNodeParams, it->second)) { in onVisitingPtNode()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_writing_helper.h | 65 : mPtNodeWriter(ptNodeWriter), mTerminalIdMap(terminalIdMap) {} in TraversePolicyToUpdateAllPtNodeFlagsAndTerminalIds() 78 Ver4PatriciaTrieNodeWriter *const mPtNodeWriter; variable
|
D | ver4_patricia_trie_writing_helper.cpp | 299 if (!mPtNodeWriter->updateTerminalId(ptNodeParams, it->second)) { in onVisitingPtNode() 302 return mPtNodeWriter->updatePtNodeHasBigramsAndShortcutTargetsFlags(ptNodeParams); in onVisitingPtNode()
|