Searched refs:mBigramDictContent (Results 1 – 4 of 4) sorted by relevance
42 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 …]
54 : mBigramDictContent(bigramDictContent), in Ver4BigramListPolicy()87 BigramDictContent *const mBigramDictContent; variable
59 && 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
105 if (!mBigramDictContent.flushToFile(dictPath)) { in flushHeaderAndDictBuffers()143 mBigramDictContent(dictPath, mHeaderPolicy.hasHistoricalInfoOfWords(), isUpdatable), in Ver4DictBuffers()152 mBigramDictContent(headerPolicy->hasHistoricalInfoOfWords()), mShortcutDictContent(), in Ver4DictBuffers()