Searched refs:BigramEntry (Results 1 – 7 of 7) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
D | bigram_entry.h | 35 class BigramEntry { 37 BigramEntry(const BigramEntry& bigramEntry) in BigramEntry() function 42 BigramEntry(const bool hasNext, const int probability, const int targetTerminalId) in BigramEntry() function 47 BigramEntry(const bool hasNext, const int probability, in BigramEntry() function 52 const BigramEntry getInvalidatedEntry() const { in getInvalidatedEntry() 56 const BigramEntry updateHasNextAndGetEntry(const bool hasNext) const { in updateHasNextAndGetEntry() 57 return BigramEntry(hasNext, mProbability, &mHistoricalInfo, mTargetTerminalId); in updateHasNextAndGetEntry() 60 const BigramEntry updateTargetTerminalIdAndGetEntry(const int newTargetTerminalId) const { in updateTargetTerminalIdAndGetEntry() 61 return BigramEntry(mHasNext, mProbability, &mHistoricalInfo, newTargetTerminalId); in updateTargetTerminalIdAndGetEntry() 64 const BigramEntry updateProbabilityAndGetEntry(const int probability) const { in updateProbabilityAndGetEntry() [all …]
|
D | bigram_dict_content.cpp | 32 const BigramEntry BigramDictContent::getBigramEntryAndAdvancePosition( in getBigramEntryAndAdvancePosition() 41 return BigramEntry(false /* hasNext */, NOT_A_PROBABILITY, in getBigramEntryAndAdvancePosition() 71 return BigramEntry(hasNext, probability, &historicalInfo, targetTerminalId); in getBigramEntryAndAdvancePosition() 73 return BigramEntry(hasNext, probability, targetTerminalId); in getBigramEntryAndAdvancePosition() 78 const BigramEntry *const bigramEntryToWrite, int *const entryWritingPos) { in writeBigramEntryAndAdvancePosition() 133 const BigramEntry bigramEntry = getBigramEntryAndAdvancePosition(&readingPos); in copyBigramList() 191 const BigramEntry originalBigramEntry = in runGCBigramList() 204 const BigramEntry updatedBigramEntry = in runGCBigramList() 214 const BigramEntry bigramEntry = getBigramEntry(lastEntryPos).updateHasNextAndGetEntry( in runGCBigramList()
|
D | bigram_dict_content.h | 54 const BigramEntry getBigramEntry(const int bigramEntryPos) const { in getBigramEntry() 59 const BigramEntry getBigramEntryAndAdvancePosition(int *const bigramEntryPos) const; 70 bool writeBigramEntryAtTail(const BigramEntry *const bigramEntryToWrite) { in writeBigramEntryAtTail() 75 bool writeBigramEntry(const BigramEntry *const bigramEntryToWrite, const int entryWritingPos) { in writeBigramEntry() 80 bool writeBigramEntryAndAdvancePosition(const BigramEntry *const bigramEntryToWrite,
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/bigram/ |
D | ver4_bigram_list_policy.cpp | 41 const BigramEntry bigramEntry = in getNextBigram() 79 const BigramEntry newBigramEntry(false /* hasNext */, NOT_A_PROBABILITY, in addNewEntry() 81 const BigramEntry bigramEntryToWrite = createUpdatedBigramEntryFrom(&newBigramEntry, in addNewEntry() 112 const BigramEntry newBigramEntry(false /* hasNext */, NOT_A_PROBABILITY, in addNewEntry() 114 const BigramEntry bigramEntryToWrite = createUpdatedBigramEntryFrom( in addNewEntry() 130 const BigramEntry originalBigramEntry = mBigramDictContent->getBigramEntry(entryPosToUpdate); in addNewEntry() 138 const BigramEntry updatedBigramEntry = in addNewEntry() 140 const BigramEntry bigramEntryToWrite = createUpdatedBigramEntryFrom( in addNewEntry() 157 const BigramEntry bigramEntry = mBigramDictContent->getBigramEntry(entryPosToUpdate); in removeEntry() 163 const BigramEntry updatedBigramEntry = bigramEntry.getInvalidatedEntry(); in removeEntry() [all …]
|
D | ver4_bigram_list_policy.h | 82 const BigramEntry createUpdatedBigramEntryFrom(const BigramEntry *const originalBigramEntry,
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_writing_helper.cpp | 258 const BigramEntry bigramEntry = in truncateBigrams() 276 const BigramEntry bigramEntry = bigramDictContent->getBigramEntry(entryPos); in truncateBigrams() 277 const BigramEntry invalidatedBigramEntry = bigramEntry.getInvalidatedEntry(); in truncateBigrams()
|
D | ver4_patricia_trie_policy.cpp | 573 const BigramEntry bigramEntry = in getWordProperty()
|