Home
last modified time | relevance | path

Searched refs:prevWordCodePoints (Results 1 – 4 of 4) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dngram_context.cpp36 NgramContext::NgramContext(const int prevWordCodePoints[][MAX_WORD_LENGTH], in NgramContext()
45 memmove(mPrevWordCodePoints[i], prevWordCodePoints[i], in NgramContext()
52 NgramContext::NgramContext(const int *const prevWordCodePoints, const int prevWordCodePointCount, in NgramContext() argument
55 if (prevWordCodePointCount > MAX_WORD_LENGTH || !prevWordCodePoints) { in NgramContext()
58 memmove(mPrevWordCodePoints[0], prevWordCodePoints, in NgramContext()
Dngram_context.h36 NgramContext(const int prevWordCodePoints[][MAX_WORD_LENGTH],
40 NgramContext(const int *const prevWordCodePoints, const int prevWordCodePointCount,
/packages/inputmethods/LatinIME/native/jni/src/utils/
Djni_data_utils.cpp63 jintArray prevWordCodePoints = env->NewIntArray(codePoints.size()); in outputWordProperty() local
64 JniDataUtils::outputCodePoints(env, prevWordCodePoints, 0 /* start */, in outputWordProperty()
67 env->SetObjectArrayElement(prevWordWordCodePointsArray, i, prevWordCodePoints); in outputWordProperty()
68 env->DeleteLocalRef(prevWordCodePoints); in outputWordProperty()
Djni_data_utils.h104 int prevWordCodePoints[MAX_PREV_WORD_COUNT_FOR_N_GRAM][MAX_WORD_LENGTH]; in constructNgramContext() local
118 env->GetIntArrayRegion(prevWord, 0, prevWordLength, prevWordCodePoints[i]); in constructNgramContext()
126 return NgramContext(prevWordCodePoints, prevWordCodePointCount, isBeginningOfSentence, in constructNgramContext()