Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/bigram/
Dver4_bigram_list_policy.cpp42 mBigramDictContent->getBigramEntryAndAdvancePosition(bigramEntryPos); in getNextBigram()
72 const int bigramListPos = mBigramDictContent->getBigramListHeadPos(terminalId); in addNewEntry()
76 if (!mBigramDictContent->createNewBigramList(terminalId)) { in addNewEntry()
84 const int writingPos = mBigramDictContent->getBigramListHeadPos(terminalId); in addNewEntry()
85 if (!mBigramDictContent->writeBigramEntry(&bigramEntryToWrite, writingPos)) { in addNewEntry()
102 if (!mBigramDictContent->createNewBigramList(terminalId)) { in addNewEntry()
105 const int destPos = mBigramDictContent->getBigramListHeadPos(terminalId); in addNewEntry()
107 if (!mBigramDictContent->copyBigramList(bigramListPos, destPos, &tailEntryPos)) { in addNewEntry()
116 if (!mBigramDictContent->writeBigramEntryAtTail(&bigramEntryToWrite)) { in addNewEntry()
130 const BigramEntry originalBigramEntry = mBigramDictContent->getBigramEntry(entryPosToUpdate); in addNewEntry()
[all …]
Dver4_bigram_list_policy.h54 : mBigramDictContent(bigramDictContent), in Ver4BigramListPolicy()
87 BigramDictContent *const mBigramDictContent; variable
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_dict_buffers.h59 && mBigramDictContent.isValid() && mShortcutDictContent.isValid(); in isValid()
66 || mBigramDictContent.isNearSizeLimit() in isNearSizeLimit()
103 return &mBigramDictContent; in getMutableBigramDictContent()
107 return &mBigramDictContent; in getBigramDictContent()
145 BigramDictContent mBigramDictContent; variable
Dver4_dict_buffers.cpp105 if (!mBigramDictContent.flushToFile(dictPath)) { in flushHeaderAndDictBuffers()
143 mBigramDictContent(dictPath, mHeaderPolicy.hasHistoricalInfoOfWords(), isUpdatable), in Ver4DictBuffers()
152 mBigramDictContent(headerPolicy->hasHistoricalInfoOfWords()), mShortcutDictContent(), in Ver4DictBuffers()