Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/shortcut/
Dver4_shortcut_list_policy.h32 : 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/
Dver4_shortcut_list_policy.h42 : 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/
Dver4_dict_buffers.h59 && 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
Dver4_dict_buffers.cpp109 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/
Dver4_dict_buffers.h55 || mShortcutDictContent.isNearSizeLimit(); in isNearSizeLimit()
91 return &mShortcutDictContent; in getMutableShortcutDictContent()
95 return &mShortcutDictContent; in getShortcutDictContent()
128 ShortcutDictContent mShortcutDictContent; variable
Dver4_dict_buffers.cpp163 if (!mShortcutDictContent.flushToFile(file)) { in flushDictBuffers()
184 mShortcutDictContent(&contentBuffers[Ver4DictConstants::SHORTCUT_BUFFERS_INDEX]), in Ver4DictBuffers()
192 mShortcutDictContent(), mIsUpdatable(true) {} in Ver4DictBuffers()