Home
last modified time | relevance | path

Searched refs:mPtNodeWriter (Results 1 – 8 of 8) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/
Ddynamic_pt_updating_helper.cpp99 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 …]
Ddynamic_pt_gc_event_listeners.h41 : 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
Ddynamic_pt_gc_event_listeners.cpp34 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()
Ddynamic_pt_updating_helper.h37 : mBuffer(buffer), mPtNodeReader(ptNodeReader), mPtNodeWriter(ptNodeWriter) {} in DynamicPtUpdatingHelper()
66 PtNodeWriter *const mPtNodeWriter; variable
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_writing_helper.h52 : mPtNodeWriter(ptNodeWriter), mTerminalIdMap(terminalIdMap) {} in TraversePolicyToUpdateAllPtNodeFlagsAndTerminalIds()
65 Ver4PatriciaTrieNodeWriter *const mPtNodeWriter; variable
Dver4_patricia_trie_writing_helper.cpp178 if (!mPtNodeWriter->updateTerminalId(ptNodeParams, it->second)) { in onVisitingPtNode()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_writing_helper.h65 : mPtNodeWriter(ptNodeWriter), mTerminalIdMap(terminalIdMap) {} in TraversePolicyToUpdateAllPtNodeFlagsAndTerminalIds()
78 Ver4PatriciaTrieNodeWriter *const mPtNodeWriter; variable
Dver4_patricia_trie_writing_helper.cpp299 if (!mPtNodeWriter->updateTerminalId(ptNodeParams, it->second)) { in onVisitingPtNode()
302 return mPtNodeWriter->updatePtNodeHasBigramsAndShortcutTargetsFlags(ptNodeParams); in onVisitingPtNode()