Home
last modified time | relevance | path

Searched refs:wordCodePoints (Results 1 – 5 of 5) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_BinaryDictionary.cpp283 int wordCodePoints[wordLength]; in latinime_BinaryDictionary_getNgramProbability() local
284 env->GetIntArrayRegion(word, 0, wordLength, wordCodePoints); in latinime_BinaryDictionary_getNgramProbability()
287 return dictionary->getNgramProbability(&prevWordsInfo, wordCodePoints, wordLength); in latinime_BinaryDictionary_getNgramProbability()
303 int wordCodePoints[codePointBufSize]; in latinime_BinaryDictionary_getNextWord() local
305 const int nextToken = dictionary->getNextWordAndNextToken(token, wordCodePoints, in latinime_BinaryDictionary_getNextWord()
308 MAX_WORD_LENGTH /* maxLength */, wordCodePoints, wordCodePointCount, in latinime_BinaryDictionary_getNextWord()
311 if (wordCodePointCount > 0 && wordCodePoints[0] == CODE_POINT_BEGINNING_OF_SENTENCE) { in latinime_BinaryDictionary_getNextWord()
331 int wordCodePoints[MAX_WORD_LENGTH]; in latinime_BinaryDictionary_getWordProperty() local
332 env->GetIntArrayRegion(word, 0, wordLength, wordCodePoints); in latinime_BinaryDictionary_getWordProperty()
336 wordCodePoints, wordLength, MAX_WORD_LENGTH); in latinime_BinaryDictionary_getWordProperty()
[all …]
/packages/inputmethods/LatinIME/native/jni/src/suggest/policyimpl/dictionary/structure/pt_common/
Ddynamic_pt_updating_helper.cpp33 const int *const wordCodePoints, const int codePointCount, in addUnigramWord() argument
43 wordCodePoints[matchedCodePointCount])) { in addUnigramWord()
54 wordCodePoints[matchedCodePointCount + j])) { in addUnigramWord()
57 wordCodePoints + matchedCodePointCount, in addUnigramWord()
68 wordCodePoints + readingHelper->getTotalCodePointCount(ptNodeParams), in addUnigramWord()
82 wordCodePoints + readingHelper->getPrevTotalCodePointCount(), in addUnigramWord()
Ddynamic_pt_updating_helper.h43 const int *const wordCodePoints, const int codePointCount,
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DBinaryDictionary.java368 final int[] wordCodePoints = StringUtils.toCodePointArray(word); in getNgramProbability() local
370 isBeginningOfSentenceArray, wordCodePoints); in getNgramProbability()
465 final int[] wordCodePoints = StringUtils.toCodePointArray(word); in addNgramEntry() local
467 isBeginningOfSentenceArray, wordCodePoints, probability, timestamp)) { in addNgramEntry()
483 final int[] wordCodePoints = StringUtils.toCodePointArray(word); in removeNgramEntry() local
485 isBeginningOfSentenceArray, wordCodePoints)) { in removeNgramEntry()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/session/
Dprev_words_info.h122 const int *const wordCodePoints, const int wordCodePointCount, in getTerminalPtNodePosOfWord() argument
124 if (!dictStructurePolicy || !wordCodePoints || wordCodePointCount > MAX_WORD_LENGTH) { in getTerminalPtNodePosOfWord()
129 memmove(codePoints, wordCodePoints, sizeof(int) * codePointCount); in getTerminalPtNodePosOfWord()