Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/bigram/
Dver4_bigram_list_policy.cpp72 const int bigramListPos = mBigramDictContent->getBigramListHeadPos(terminalId); in addNewEntry() local
73 if (bigramListPos == NOT_A_DICT_POS) { in addNewEntry()
95 const int entryPosToUpdate = getEntryPosToUpdate(newTargetTerminalId, bigramListPos, in addNewEntry()
107 if (!mBigramDictContent->copyBigramList(bigramListPos, destPos, &tailEntryPos)) { in addNewEntry()
146 const int bigramListPos = mBigramDictContent->getBigramListHeadPos(terminalId); in removeEntry() local
147 if (bigramListPos == NOT_A_DICT_POS) { in removeEntry()
151 const int entryPosToUpdate = getEntryPosToUpdate(targetTerminalId, bigramListPos, in removeEntry()
169 const int bigramListPos = mBigramDictContent->getBigramListHeadPos(terminalId); in updateAllBigramEntriesAndDeleteUselessEntries() local
170 if (bigramListPos == NOT_A_DICT_POS) { in updateAllBigramEntriesAndDeleteUselessEntries()
175 int readingPos = bigramListPos; in updateAllBigramEntriesAndDeleteUselessEntries()
[all …]
Dver4_bigram_list_policy.h79 int getEntryPosToUpdate(const int targetTerminalIdToFind, const int bigramListPos,
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/
Dbigram_dict_content.cpp127 bool BigramDictContent::copyBigramList(const int bigramListPos, const int toPos, in copyBigramList() argument
129 int readingPos = bigramListPos; in copyBigramList()
157 const int bigramListPos = getContentBuffer()->getTailPosition(); in runGC() local
160 if (!runGCBigramList(originalBigramListPos, originalBigramDictContent, bigramListPos, in runGC()
163 originalBigramListPos, bigramListPos); in runGC()
172 if (!getUpdatableAddressLookupTable()->set(it->second, bigramListPos)) { in runGC()
174 it->second, bigramListPos); in runGC()
182 bool BigramDictContent::runGCBigramList(const int bigramListPos, in runGCBigramList() argument
187 int readingPos = bigramListPos; in runGCBigramList()
Dbigram_dict_content.h84 const int bigramListPos = getContentBuffer()->getTailPosition(); in createNewBigramList() local
85 return getUpdatableAddressLookupTable()->set(terminalId, bigramListPos); in createNewBigramList()
88 bool copyBigramList(const int bigramListPos, const int toPos, int *const outTailEntryPos);
125 bool runGCBigramList(const int bigramListPos,
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/pt_common/bigram/
Dbigram_list_read_write_utils.cpp62 int *const bigramListPos) { in skipExistingBigrams() argument
66 bigramListPos)) { in skipExistingBigrams()
Dbigram_list_read_write_utils.h47 static bool skipExistingBigrams(const ReadOnlyByteArrayView buffer, int *const bigramListPos);
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/
Dver4_patricia_trie_writing_helper.cpp250 const int bigramListPos = bigramDictContent->getBigramListHeadPos(i); in truncateBigrams() local
251 if (bigramListPos == NOT_A_DICT_POS) { in truncateBigrams()
255 int readingPos = bigramListPos; in truncateBigrams()
Dver4_patricia_trie_policy.cpp564 const int bigramListPos = getBigramsPositionOfPtNode(ptNodePos); in getWordProperty() local
565 if (bigramListPos != NOT_A_DICT_POS) { in getWordProperty()
571 int readingPos = bigramListPos; in getWordProperty()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/
Dpatricia_trie_policy.cpp438 const int bigramListPos = getBigramsPositionOfPtNode(ptNodePos); in getWordProperty() local
440 BinaryDictionaryBigramsIterator bigramsIt(&mBigramListPolicy, bigramListPos); in getWordProperty()