Searched refs:wordPos (Results 1 - 6 of 6) sorted by relevance
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/ |
H A D | Ver4DictUpdater.java | 43 final int wordPos = getTerminalPosition(word); 44 if (wordPos != FormatSpec.NOT_VALID_WORD) { 45 mDictBuffer.position(wordPos); 47 mDictBuffer.position(wordPos);
|
H A D | Ver3DictUpdater.java | 61 final int wordPos = getTerminalPosition(word); 62 if (wordPos != FormatSpec.NOT_VALID_WORD) { 63 mDictBuffer.position(wordPos); 65 mDictBuffer.position(wordPos);
|
H A D | DynamicBinaryDictIOUtils.java | 273 int wordPos = 0, address = dictBuffer.position(), nodeOriginAddress = dictBuffer.position(); 278 if (wordPos >= wordLen) break; 295 if (wordPos + p >= wordLen) { 327 } else if (codePoints[wordPos + p] != currentInfo.mCharacters[p]) { 378 final int[] newCharacters = Arrays.copyOfRange(codePoints, wordPos + p, 398 if (wordPos + currentInfo.mCharacters.length == wordLen) { 414 wordPos += currentInfo.mCharacters.length; 432 final boolean hasMultipleChars = (wordLen - wordPos) > 1; 436 final int[] characters = Arrays.copyOfRange(codePoints, wordPos, wordLen); 477 final int[] characters = Arrays.copyOfRange(codePoints, wordPos, wordLe [all...] |
H A D | BinaryDictIOUtils.java | 178 int wordPos = 0; 181 if (wordPos >= wordLen) return FormatSpec.NOT_VALID_WORD; 196 for (int p = 0, j = word.offsetByCodePoints(0, wordPos); 199 if (wordPos + p >= wordLen 208 if (wordPos + currentInfo.mCharacters.length == wordLen) { 216 wordPos += currentInfo.mCharacters.length;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/ |
H A D | patricia_trie_policy.cpp | 75 int wordPos = 0; local 96 outCodePoints[wordPos] = character; 104 outCodePoints[++wordPos] = nextChar; 112 return ++wordPos; 168 outCodePoints[wordPos] = lastChar; 174 outCodePoints[++wordPos] = nextChar; 179 ++wordPos; 238 int wordPos = 0; local 243 if (wordPos >= length) return NOT_A_DICT_POS; 247 ? CharUtils::toLowerCase(inWord[wordPos]) [all...] |
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/ |
H A D | dic_node_utils.cpp | 90 const int wordPos = node->getPos(); local 92 if (NOT_A_DICT_POS == wordPos || NOT_A_DICT_POS == prevWordPos) { 93 // Note: Normally wordPos comes from the dictionary and should never equal 100 wordPos, unigramProbability);
|
Completed in 94 milliseconds