OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:wordPos
(Results
1 - 6
of
6
) sorted by null
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
Ver4DictUpdater.java
43
final int
wordPos
= getTerminalPosition(word);
44
if (
wordPos
!= FormatSpec.NOT_VALID_WORD) {
45
mDictBuffer.position(
wordPos
);
47
mDictBuffer.position(
wordPos
);
Ver3DictUpdater.java
61
final int
wordPos
= getTerminalPosition(word);
62
if (
wordPos
!= FormatSpec.NOT_VALID_WORD) {
63
mDictBuffer.position(
wordPos
);
65
mDictBuffer.position(
wordPos
);
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
, wordLen)
[
all
...]
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/
patricia_trie_policy.cpp
75
int
wordPos
= 0;
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;
243
if (
wordPos
>= length) return NOT_A_DICT_POS;
247
? CharUtils::toLowerCase(inWord[
wordPos
]) : inWord[wordPos]
[
all
...]
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
dic_node_utils.cpp
90
const int
wordPos
= node->getPos();
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 182 milliseconds