/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
D | probability_dict_content.cpp | 41 int entryPos = getEntryPos(terminalId); in getProbabilityEntry() local 43 Ver4DictConstants::FLAGS_IN_PROBABILITY_FILE_SIZE, &entryPos); in getProbabilityEntry() 45 Ver4DictConstants::PROBABILITY_SIZE, &entryPos); in getProbabilityEntry() 48 Ver4DictConstants::TIME_STAMP_FIELD_SIZE, &entryPos); in getProbabilityEntry() 50 Ver4DictConstants::WORD_LEVEL_FIELD_SIZE, &entryPos); in getProbabilityEntry() 52 Ver4DictConstants::WORD_COUNT_FIELD_SIZE, &entryPos); in getProbabilityEntry() 66 const int entryPos = getEntryPos(terminalId); in setProbabilityEntry() local 71 while (writingPos <= entryPos) { in setProbabilityEntry() 83 return writeEntry(probabilityEntry, entryPos); in setProbabilityEntry() 136 const int entryPos) { in writeEntry() argument [all …]
|
D | shortcut_dict_content.cpp | 169 const int entryPos = readingPos; in findShortcutEntryAndGetPos() local 185 return entryPos; in findShortcutEntryAndGetPos()
|
D | probability_dict_content.h | 66 bool writeEntry(const ProbabilityEntry *const probabilityEntry, const int entryPos);
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/bigram/ |
D | ver4_bigram_list_policy.cpp | 177 const int entryPos = readingPos; in updateAllBigramEntriesAndDeleteUselessEntries() local 189 if (!mBigramDictContent->writeBigramEntry(&updatedBigramEntry, entryPos)) { in updateAllBigramEntriesAndDeleteUselessEntries() 198 if (!mBigramDictContent->writeBigramEntry(&updatedBigramEntry, entryPos)) { in updateAllBigramEntriesAndDeleteUselessEntries() 205 if (!mBigramDictContent->writeBigramEntry(&updatedBigramEntry, entryPos)) { in updateAllBigramEntriesAndDeleteUselessEntries() 245 const int entryPos = readingPos; in getEntryPosToUpdate() local 251 return entryPos; in getEntryPosToUpdate() 254 invalidEntryPos = entryPos; in getEntryPosToUpdate() 258 *outTailEntryPos = entryPos; in getEntryPosToUpdate()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/shortcut/ |
D | ver4_shortcut_list_policy.h | 69 const int entryPos = mShortcutDictContent->findShortcutEntryAndGetPos(shortcutListPos, in addNewShortcut() local 71 if (entryPos == NOT_A_DICT_POS) { in addNewShortcut() 90 0 /* outCodePointCount */ , 0 /* probability */, &hasNext, entryPos); in addNewShortcut() 92 codePointCount, probability, hasNext, entryPos)) { in addNewShortcut() 94 entryPos); in addNewShortcut()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/shortcut/ |
D | ver4_shortcut_list_policy.h | 79 const int entryPos = mShortcutDictContent->findShortcutEntryAndGetPos(shortcutListPos, in addNewShortcut() local 81 if (entryPos == NOT_A_DICT_POS) { in addNewShortcut() 100 0 /* outCodePointCount */ , 0 /* probability */, &hasNext, entryPos); in addNewShortcut() 102 codePointCount, probability, hasNext, entryPos)) { in addNewShortcut() 104 entryPos); in addNewShortcut()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_writing_helper.cpp | 257 const int entryPos = readingPos; in truncateBigrams() local 268 priorityQueue.push(DictProbability(entryPos, probability, in truncateBigrams() 275 const int entryPos = priorityQueue.top().getDictPos(); in truncateBigrams() local 276 const BigramEntry bigramEntry = bigramDictContent->getBigramEntry(entryPos); in truncateBigrams() 278 if (!bigramDictContent->writeBigramEntry(&invalidatedBigramEntry, entryPos)) { in truncateBigrams() 279 AKLOGE("Cannot write bigram entry to remove. pos: %d", entryPos); in truncateBigrams()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | shortcut_dict_content.cpp | 154 const int entryPos = readingPos; in findShortcutEntryAndGetPos() local 170 return entryPos; in findShortcutEntryAndGetPos()
|