Searched defs:wordPos (Results 1 - 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
H A Ddic_node_utils.cpp209 const int wordPos = node->getPos(); local
211 if (NOT_VALID_WORD == wordPos || NOT_VALID_WORD == prevWordPos) {
212 // Note: Normally wordPos comes from the dictionary and should never equal NOT_VALID_WORD.
217 dicRoot, prevWordPos, wordPos, unigramProbability);
219 return BinaryFormat::getBigramProbability(dicRoot, prevWordPos, wordPos, unigramProbability);
/packages/inputmethods/LatinIME/native/jni/src/
H A Dbinary_format.h469 int wordPos = 0; local
474 if (wordPos >= length) return NOT_VALID_WORD;
476 const int wChar = forceLowerCaseSearch ? toLowerCase(inWord[wordPos]) : inWord[wordPos];
492 ++wordPos;
497 if (wordPos >= length) return NOT_VALID_WORD;
498 if (inWord[wordPos] != character) return NOT_VALID_WORD;
506 ++wordPos;
508 if (wordPos == length) {
555 int wordPos local
[all...]

Completed in 138 milliseconds