Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/
Ddictionary_structure_with_buffer_policy_factory.cpp89 DictBuffersPtr dictBuffers = DictBuffers::createVer4DictBuffers(&headerPolicy, in newPolicyForOnMemoryV4Dict() local
92 dictBuffers->getWritableTrieBuffer(), 0 /* rootPos */)) { in newPolicyForOnMemoryV4Dict()
97 new StructurePolicy(std::move(dictBuffers))); in newPolicyForOnMemoryV4Dict()
156 DictBuffersPtr dictBuffers = in newPolicyForV4Dict() local
158 if (!dictBuffers || !dictBuffers->isValid()) { in newPolicyForV4Dict()
165 new StructurePolicy(std::move(dictBuffers))); in newPolicyForV4Dict()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Ddict_file_writing_utils.cpp70 DictBuffersPtr dictBuffers = DictBuffers::createVer4DictBuffers(&headerPolicy, in createEmptyV4DictFile() local
73 EntryCounts(), 0 /* extendedRegionSize */, dictBuffers->getWritableHeaderBuffer()); in createEmptyV4DictFile()
75 dictBuffers->getWritableTrieBuffer(), 0 /* rootPos */)) { in createEmptyV4DictFile()
79 return dictBuffers->flush(dirPath); in createEmptyV4DictFile()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/
Dver4_patricia_trie_writing_helper.cpp59 Ver4DictBuffers::Ver4DictBuffersPtr dictBuffers( in writeToDictFileWithGC() local
63 if (!runGC(rootPtNodeArrayPos, headerPolicy, dictBuffers.get(), &entryCounters)) { in writeToDictFileWithGC()
72 return dictBuffers->flushHeaderAndDictBuffers(dictDirPath, &headerBuffer); in writeToDictFileWithGC()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_writing_helper.cpp66 Ver4DictBuffers::Ver4DictBuffersPtr dictBuffers( in writeToDictFileWithGC() local
71 if (!runGC(rootPtNodeArrayPos, headerPolicy, dictBuffers.get(), &unigramCount, &bigramCount)) { in writeToDictFileWithGC()
83 return dictBuffers->flushHeaderAndDictBuffers(dictDirPath, &headerBuffer); in writeToDictFileWithGC()