Searched refs:bigramListPos (Results 1 – 9 of 9) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/bigram/ |
D | ver4_bigram_list_policy.cpp | 72 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 …]
|
D | ver4_bigram_list_policy.h | 79 int getEntryPosToUpdate(const int targetTerminalIdToFind, const int bigramListPos,
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
D | bigram_dict_content.cpp | 127 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()
|
D | bigram_dict_content.h | 84 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/ |
D | bigram_list_read_write_utils.cpp | 62 int *const bigramListPos) { in skipExistingBigrams() argument 66 bigramListPos)) { in skipExistingBigrams()
|
D | bigram_list_read_write_utils.h | 47 static bool skipExistingBigrams(const ReadOnlyByteArrayView buffer, int *const bigramListPos);
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_writing_helper.cpp | 250 const int bigramListPos = bigramDictContent->getBigramListHeadPos(i); in truncateBigrams() local 251 if (bigramListPos == NOT_A_DICT_POS) { in truncateBigrams() 255 int readingPos = bigramListPos; in truncateBigrams()
|
D | ver4_patricia_trie_policy.cpp | 564 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/ |
D | patricia_trie_policy.cpp | 438 const int bigramListPos = getBigramsPositionOfPtNode(ptNodePos); in getWordProperty() local 440 BinaryDictionaryBigramsIterator bigramsIt(&mBigramListPolicy, bigramListPos); in getWordProperty()
|