Home
last modified time | relevance | path

Searched refs:buffersToWrite (Results 1 – 4 of 4) sorted by relevance

/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
H A Dver4_patricia_trie_writing_helper.cpp76 const HeaderPolicy *const headerPolicy, Ver4DictBuffers *const buffersToWrite, in runGC() argument
115 buffersToWrite, &ptNodeReader, &ptNodeArrayReader, &shortcutPolicy); in runGC()
118 buffersToWrite->getWritableTrieBuffer(), &dictPositionRelocationMap); in runGC()
125 Ver4PatriciaTrieNodeReader newPtNodeReader(buffersToWrite->getTrieBuffer()); in runGC()
126 Ver4PtNodeArrayReader newPtNodeArrayreader(buffersToWrite->getTrieBuffer()); in runGC()
128 buffersToWrite->getTerminalPositionLookupTable()); in runGC()
129 Ver4PatriciaTrieNodeWriter newPtNodeWriter(buffersToWrite->getWritableTrieBuffer(), in runGC()
130 buffersToWrite, &newPtNodeReader, &newPtNodeArrayreader, in runGC()
134 if(!buffersToWrite->getMutableTerminalPositionLookupTable()->runGCTerminalIds( in runGC()
139 if (!buffersToWrite->getMutableLanguageModelDictContent()->runGC(&terminalIdMap, in runGC()
[all …]
H A Dver4_patricia_trie_writing_helper.h70 Ver4DictBuffers *const buffersToWrite, MutableEntryCounters *const outEntryCounters);
/aosp12/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
H A Dver4_patricia_trie_writing_helper.cpp87 const HeaderPolicy *const headerPolicy, Ver4DictBuffers *const buffersToWrite, in runGC() argument
152 Ver4PatriciaTrieNodeReader newPtNodeReader(buffersToWrite->getTrieBuffer(), in runGC()
153 buffersToWrite->getProbabilityDictContent(), headerPolicy); in runGC()
154 Ver4PtNodeArrayReader newPtNodeArrayreader(buffersToWrite->getTrieBuffer()); in runGC()
155 Ver4BigramListPolicy newBigramPolicy(buffersToWrite->getMutableBigramDictContent(), in runGC()
156 buffersToWrite->getTerminalPositionLookupTable(), headerPolicy); in runGC()
158 buffersToWrite->getTerminalPositionLookupTable()); in runGC()
164 if(!buffersToWrite->getMutableTerminalPositionLookupTable()->runGCTerminalIds( in runGC()
169 if (!buffersToWrite->getMutableProbabilityDictContent()->runGC(&terminalIdMap, in runGC()
174 if(!buffersToWrite->getMutableBigramDictContent()->runGC(&terminalIdMap, in runGC()
[all …]
H A Dver4_patricia_trie_writing_helper.h126 Ver4DictBuffers *const buffersToWrite, int *const outUnigramCount,