Searched refs:mShortcutDictContent (Results 1 – 6 of 6) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/shortcut/ |
D | ver4_shortcut_list_policy.h | 32 : mShortcutDictContent(shortcutDictContent) {} in Ver4ShortcutListPolicy() 45 mShortcutDictContent->getShortcutEntryAndAdvancePosition(maxCodePointCount, in getNextShortcut() 58 const int shortcutListPos = mShortcutDictContent->getShortcutListHeadPos(terminalId); in addNewShortcut() 61 if (!mShortcutDictContent->createNewShortcutList(terminalId)) { in addNewShortcut() 65 const int writingPos = mShortcutDictContent->getShortcutListHeadPos(terminalId); in addNewShortcut() 66 return mShortcutDictContent->writeShortcutEntry(codePoints, codePointCount, probability, in addNewShortcut() 69 const int entryPos = mShortcutDictContent->findShortcutEntryAndGetPos(shortcutListPos, in addNewShortcut() 74 if (!mShortcutDictContent->createNewShortcutList(terminalId)) { in addNewShortcut() 78 int writingPos = mShortcutDictContent->getShortcutListHeadPos(terminalId); in addNewShortcut() 79 if (!mShortcutDictContent->writeShortcutEntryAndAdvancePosition(codePoints, in addNewShortcut() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/shortcut/ |
D | ver4_shortcut_list_policy.h | 42 : mShortcutDictContent(shortcutDictContent) {} in Ver4ShortcutListPolicy() 55 mShortcutDictContent->getShortcutEntryAndAdvancePosition(maxCodePointCount, in getNextShortcut() 68 const int shortcutListPos = mShortcutDictContent->getShortcutListHeadPos(terminalId); in addNewShortcut() 71 if (!mShortcutDictContent->createNewShortcutList(terminalId)) { in addNewShortcut() 75 const int writingPos = mShortcutDictContent->getShortcutListHeadPos(terminalId); in addNewShortcut() 76 return mShortcutDictContent->writeShortcutEntry(codePoints, codePointCount, probability, in addNewShortcut() 79 const int entryPos = mShortcutDictContent->findShortcutEntryAndGetPos(shortcutListPos, in addNewShortcut() 84 if (!mShortcutDictContent->createNewShortcutList(terminalId)) { in addNewShortcut() 88 int writingPos = mShortcutDictContent->getShortcutListHeadPos(terminalId); in addNewShortcut() 89 if (!mShortcutDictContent->writeShortcutEntryAndAdvancePosition(codePoints, in addNewShortcut() [all …]
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/ |
D | ver4_dict_buffers.h | 59 && mBigramDictContent.isValid() && mShortcutDictContent.isValid(); in isValid() 67 || mShortcutDictContent.isNearSizeLimit(); in isNearSizeLimit() 111 return &mShortcutDictContent; in getMutableShortcutDictContent() 115 return &mShortcutDictContent; in getShortcutDictContent() 146 ShortcutDictContent mShortcutDictContent; variable
|
D | ver4_dict_buffers.cpp | 109 if (!mShortcutDictContent.flushToFile(dictPath)) { in flushHeaderAndDictBuffers() 144 mShortcutDictContent(dictPath, isUpdatable), in Ver4DictBuffers() 152 mBigramDictContent(headerPolicy->hasHistoricalInfoOfWords()), mShortcutDictContent(), in Ver4DictBuffers()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/ |
D | ver4_dict_buffers.h | 55 || mShortcutDictContent.isNearSizeLimit(); in isNearSizeLimit() 91 return &mShortcutDictContent; in getMutableShortcutDictContent() 95 return &mShortcutDictContent; in getShortcutDictContent() 128 ShortcutDictContent mShortcutDictContent; variable
|
D | ver4_dict_buffers.cpp | 163 if (!mShortcutDictContent.flushToFile(file)) { in flushDictBuffers() 184 mShortcutDictContent(&contentBuffers[Ver4DictConstants::SHORTCUT_BUFFERS_INDEX]), in Ver4DictBuffers() 192 mShortcutDictContent(), mIsUpdatable(true) {} in Ver4DictBuffers()
|