Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/bigram/
Dver4_bigram_list_policy.cpp95 const int entryPosToUpdate = getEntryPosToUpdate(newTargetTerminalId, bigramListPos, in addNewEntry() local
97 if (tailEntryPos != NOT_A_DICT_POS || entryPosToUpdate == NOT_A_DICT_POS) { in addNewEntry()
130 const BigramEntry originalBigramEntry = mBigramDictContent->getBigramEntry(entryPosToUpdate); in addNewEntry()
142 return mBigramDictContent->writeBigramEntry(&bigramEntryToWrite, entryPosToUpdate); in addNewEntry()
151 const int entryPosToUpdate = getEntryPosToUpdate(targetTerminalId, bigramListPos, in removeEntry() local
153 if (entryPosToUpdate == NOT_A_DICT_POS) { in removeEntry()
157 const BigramEntry bigramEntry = mBigramDictContent->getBigramEntry(entryPosToUpdate); in removeEntry()
164 return mBigramDictContent->writeBigramEntry(&updatedBigramEntry, entryPosToUpdate); in removeEntry()