Searched refs:shortcutFlags (Results 1 – 3 of 3) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v4/content/ |
D | shortcut_dict_content.cpp | 40 const int shortcutFlags = shortcutListBuffer->readUintAndAdvancePosition( in getShortcutEntryAndAdvancePosition() local 43 *outProbability = shortcutFlags & Ver4DictConstants::SHORTCUT_PROBABILITY_MASK; in getShortcutEntryAndAdvancePosition() 46 *outhasNext = shortcutFlags & Ver4DictConstants::SHORTCUT_HAS_NEXT_MASK; in getShortcutEntryAndAdvancePosition() 121 const int shortcutFlags = shortcutListBuffer->readUint( in setProbability() local 123 const bool hasNext = shortcutFlags & Ver4DictConstants::SHORTCUT_HAS_NEXT_MASK; in setProbability() 133 const int shortcutFlags = createAndGetShortcutFlags(probability, hasNext); in writeShortcutEntryAndAdvancePosition() local 134 if (!shortcutListBuffer->writeUintAndAdvancePosition(shortcutFlags, in writeShortcutEntryAndAdvancePosition() 136 AKLOGE("Cannot write shortcut flags. flags; %x, pos: %d", shortcutFlags, *shortcutEntryPos); in writeShortcutEntryAndAdvancePosition()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/backward/v402/content/ |
D | shortcut_dict_content.cpp | 49 const int shortcutFlags = shortcutListBuffer->readUintAndAdvancePosition( in getShortcutEntryAndAdvancePosition() local 52 *outProbability = shortcutFlags & Ver4DictConstants::SHORTCUT_PROBABILITY_MASK; in getShortcutEntryAndAdvancePosition() 55 *outhasNext = shortcutFlags & Ver4DictConstants::SHORTCUT_HAS_NEXT_MASK; in getShortcutEntryAndAdvancePosition() 136 const int shortcutFlags = shortcutListBuffer->readUint( in setProbability() local 138 const bool hasNext = shortcutFlags & Ver4DictConstants::SHORTCUT_HAS_NEXT_MASK; in setProbability() 148 const int shortcutFlags = createAndGetShortcutFlags(probability, hasNext); in writeShortcutEntryAndAdvancePosition() local 149 if (!shortcutListBuffer->writeUintAndAdvancePosition(shortcutFlags, in writeShortcutEntryAndAdvancePosition() 151 AKLOGE("Cannot write shortcut flags. flags; %x, pos: %d", shortcutFlags, *shortcutEntryPos); in writeShortcutEntryAndAdvancePosition()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/structure/v2/ |
D | patricia_trie_policy.cpp | 466 const ShortcutListReadingUtils::ShortcutFlags shortcutFlags = in getWordProperty() local 468 hasNext = ShortcutListReadingUtils::hasNext(shortcutFlags); in getWordProperty() 472 ShortcutListReadingUtils::getProbabilityFromFlags(shortcutFlags); in getWordProperty()
|