/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/ |
D | ver4_patricia_trie_policy.cpp | 197 if (length > MAX_WORD_LENGTH) { in addUnigramEntry() 202 if (shortcut.getTargetCodePoints()->size() > MAX_WORD_LENGTH) { in addUnigramEntry() 211 int codePointsToAdd[MAX_WORD_LENGTH]; in addUnigramEntry() 216 codePointCountToAdd, MAX_WORD_LENGTH); in addUnigramEntry() 287 if (bigramProperty->getTargetCodePoints()->size() > MAX_WORD_LENGTH) { in addNgramEntry() 350 if (length > MAX_WORD_LENGTH) { in removeNgramEntry() 464 int bigramWord1CodePoints[MAX_WORD_LENGTH]; in getWordProperty() 483 word1TerminalPtNodePos, MAX_WORD_LENGTH, bigramWord1CodePoints, in getWordProperty() 501 int shortcutTarget[MAX_WORD_LENGTH]; in getWordProperty() 508 shortcutDictContent->getShortcutEntryAndAdvancePosition(MAX_WORD_LENGTH, shortcutTarget, in getWordProperty() [all …]
|
D | ver4_patricia_trie_node_reader.cpp | 52 int codePoints[MAX_WORD_LENGTH]; in fetchPtNodeInfoFromBufferAndProcessMovedPtNode() 54 dictBuf, flags, MAX_WORD_LENGTH, codePoints, &pos); in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/ |
D | ver4_patricia_trie_policy.cpp | 207 if (length > MAX_WORD_LENGTH) { in addUnigramEntry() 212 if (shortcut.getTargetCodePoints()->size() > MAX_WORD_LENGTH) { in addUnigramEntry() 221 int codePointsToAdd[MAX_WORD_LENGTH]; in addUnigramEntry() 226 codePointCountToAdd, MAX_WORD_LENGTH); in addUnigramEntry() 276 if (bigramProperty->getTargetCodePoints()->size() > MAX_WORD_LENGTH) { in addNgramEntry() 338 if (length > MAX_WORD_LENGTH) { in removeNgramEntry() 452 int bigramWord1CodePoints[MAX_WORD_LENGTH]; in getWordProperty() 471 word1TerminalPtNodePos, MAX_WORD_LENGTH, bigramWord1CodePoints, in getWordProperty() 489 int shortcutTarget[MAX_WORD_LENGTH]; in getWordProperty() 496 shortcutDictContent->getShortcutEntryAndAdvancePosition(MAX_WORD_LENGTH, shortcutTarget, in getWordProperty() [all …]
|
D | ver4_patricia_trie_node_reader.cpp | 61 int codePoints[MAX_WORD_LENGTH]; in fetchPtNodeInfoFromBufferAndProcessMovedPtNode() 63 dictBuf, flags, MAX_WORD_LENGTH, codePoints, &pos); in fetchPtNodeInfoFromBufferAndProcessMovedPtNode()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/ |
D | prev_words_info.h | 45 PrevWordsInfo(const int prevWordCodePoints[][MAX_WORD_LENGTH], in PrevWordsInfo() argument 50 if (prevWordCodePointCount[i] < 0 || prevWordCodePointCount[i] > MAX_WORD_LENGTH) { in PrevWordsInfo() 64 if (prevWordCodePointCount > MAX_WORD_LENGTH || !prevWordCodePoints) { in PrevWordsInfo() 124 if (!dictStructurePolicy || !wordCodePoints || wordCodePointCount > MAX_WORD_LENGTH) { in getTerminalPtNodePosOfWord() 127 int codePoints[MAX_WORD_LENGTH]; in getTerminalPtNodePosOfWord() 132 codePointCount, MAX_WORD_LENGTH); in getTerminalPtNodePosOfWord() 157 int mPrevWordCodePoints[MAX_PREV_WORD_COUNT_FOR_N_GRAM][MAX_WORD_LENGTH];
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v2/ |
D | patricia_trie_policy.cpp | 139 PatriciaTrieReadingUtils::skipCharacters(mDictRoot, flags, MAX_WORD_LENGTH, &pos); in getCodePointsAndProbabilityAndReturnCodePointCount() 359 int mergedNodeCodePoints[MAX_WORD_LENGTH]; in createAndGetLeavingChildNode() 395 int bigramWord1CodePoints[MAX_WORD_LENGTH]; in getWordProperty() 404 bigramsIt.getBigramPos(), MAX_WORD_LENGTH, bigramWord1CodePoints, in getWordProperty() 417 int shortcutTargetCodePoints[MAX_WORD_LENGTH]; in getWordProperty() 425 mDictRoot, MAX_WORD_LENGTH, shortcutTargetCodePoints, &shortcutPos); in getWordProperty() 460 MAX_WORD_LENGTH, outCodePoints, &unigramProbability); in getNextWordAndNextToken()
|
D | ver2_patricia_trie_node_reader.cpp | 34 int mergedNodeCodePoints[MAX_WORD_LENGTH]; in fetchPtNodeParamsInBufferFromPtNodePos()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 218 if (outputCodePointsLength != (MAX_WORD_LENGTH * MAX_RESULTS)) { in latinime_BinaryDictionary_getSuggestions() 298 if (codePointBufSize != MAX_WORD_LENGTH) { in latinime_BinaryDictionary_getNextWord() 308 MAX_WORD_LENGTH /* maxLength */, wordCodePoints, wordCodePointCount, in latinime_BinaryDictionary_getNextWord() 327 if (wordLength > MAX_WORD_LENGTH) { in latinime_BinaryDictionary_getWordProperty() 331 int wordCodePoints[MAX_WORD_LENGTH]; in latinime_BinaryDictionary_getWordProperty() 336 wordCodePoints, wordLength, MAX_WORD_LENGTH); in latinime_BinaryDictionary_getWordProperty() 564 int wordCodePoints[MAX_WORD_LENGTH]; in latinime_BinaryDictionary_migrateNative()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/ |
D | dic_node_state_output.h | 67 if (mOutputtedCodePointCount < MAX_WORD_LENGTH) { in initByCopy() 82 MAX_WORD_LENGTH - mOutputtedCodePointCount); in addMergedNodeCodePoints() 87 if (mOutputtedCodePointCount < MAX_WORD_LENGTH) { in addMergedNodeCodePoints() 139 int mOutputCodePoints[MAX_WORD_LENGTH];
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/content/ |
D | shortcut_dict_content.cpp | 104 int codePoints[MAX_WORD_LENGTH]; in copyShortcutListFromDictContent() 108 sourceShortcutDictContent->getShortcutEntryAndAdvancePosition(MAX_WORD_LENGTH, in copyShortcutListFromDictContent() 152 int targetCodePoints[MAX_WORD_LENGTH]; in findShortcutEntryAndGetPos() 157 getShortcutEntryAndAdvancePosition(MAX_WORD_LENGTH, targetCodePoints, &targetCodePointCount, in findShortcutEntryAndGetPos()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/content/ |
D | shortcut_dict_content.cpp | 119 int codePoints[MAX_WORD_LENGTH]; in copyShortcutListFromDictContent() 123 sourceShortcutDictContent->getShortcutEntryAndAdvancePosition(MAX_WORD_LENGTH, in copyShortcutListFromDictContent() 167 int targetCodePoints[MAX_WORD_LENGTH]; in findShortcutEntryAndGetPos() 172 getShortcutEntryAndAdvancePosition(MAX_WORD_LENGTH, targetCodePoints, &targetCodePointCount, in findShortcutEntryAndGetPos()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/result/ |
D | suggestion_results.cpp | 31 const int start = outputIndex * MAX_WORD_LENGTH; in outputSuggestions() 33 MAX_WORD_LENGTH /* maxLength */, suggestedWord.getCodePoint(), in outputSuggestions() 63 if (codePointCount <= 0 || codePointCount > MAX_WORD_LENGTH) { in addSuggestion()
|
D | suggestions_output_utils.cpp | 126 int codePoints[MAX_WORD_LENGTH]; in outputSuggestionsOfDicNode() 206 int shortcutTarget[MAX_WORD_LENGTH]; in outputShortcuts() 210 shortcutIt->nextShortcutTarget(MAX_WORD_LENGTH, shortcutTarget, in outputShortcuts()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | proximity_info_state.h | 226 int mInputProximities[MAX_PROXIMITY_CHARS_SIZE * MAX_WORD_LENGTH]; 228 int mPrimaryInputWord[MAX_WORD_LENGTH]; 230 int mMostProbableString[MAX_WORD_LENGTH];
|
D | proximity_info_state_utils.cpp | 151 memset(primaryInputWord, 0, sizeof(primaryInputWord[0]) * MAX_WORD_LENGTH); in initPrimaryInputWord() 939 memset(codePointBuf, 0, sizeof(codePointBuf[0]) * MAX_WORD_LENGTH); in getMostProbableString() 943 for (int i = 0; i < sampledInputSize && index < MAX_WORD_LENGTH - 1; ++i) { in getMostProbableString()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | WordComposer.java | 34 private static final int MAX_WORD_LENGTH = Constants.DICTIONARY_MAX_WORD_LENGTH; field in WordComposer 50 private final InputPointers mInputPointers = new InputPointers(MAX_WORD_LENGTH); 215 if (newIndex < MAX_WORD_LENGTH) { in applyProcessedEvent()
|
D | UserBinaryDictionary.java | 256 if (word.length() <= MAX_WORD_LENGTH) { in addWordsLocked() 261 if (null != shortcut && shortcut.length() <= MAX_WORD_LENGTH) { in addWordsLocked()
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.h | 101 int prevWordCodePoints[MAX_PREV_WORD_COUNT_FOR_N_GRAM][MAX_WORD_LENGTH]; in constructPrevWordsInfo() 116 if (prevWordLength > MAX_WORD_LENGTH) { in constructPrevWordsInfo()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/ |
D | dictionary.cpp | 77 int targetWordCodePoints[MAX_WORD_LENGTH]; in onVisitEntry() 81 MAX_WORD_LENGTH, targetWordCodePoints, &unigramProbability); in onVisitEntry()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/backward/v402/shortcut/ |
D | ver4_shortcut_list_policy.h | 99 mShortcutDictContent->getShortcutEntry(MAX_WORD_LENGTH, 0 /* outCodePoint */, in addNewShortcut()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/v4/shortcut/ |
D | ver4_shortcut_list_policy.h | 89 mShortcutDictContent->getShortcutEntry(MAX_WORD_LENGTH, 0 /* outCodePoint */, in addNewShortcut()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
D | FormatSpec.java | 203 static final int MAX_WORD_LENGTH = Constants.DICTIONARY_MAX_WORD_LENGTH; field in FormatSpec
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/property/ |
D | word_property.cpp | 28 MAX_WORD_LENGTH /* maxLength */, mCodePoints.data(), mCodePoints.size(), in outputProperties()
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/pt_common/ |
D | patricia_trie_reading_utils.cpp | 145 dictBuf, flags, MAX_WORD_LENGTH, outCodePoint, &readingPos); in readPtNodeInfo()
|
D | dynamic_pt_reading_helper.cpp | 27 const size_t DynamicPtReadingHelper::MAX_READING_STATE_STACK_SIZE = MAX_WORD_LENGTH;
|