Searched refs:prevWordCodePoints (Results 1 – 4 of 4) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
D | ngram_context.cpp | 36 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()
|
D | ngram_context.h | 36 NgramContext(const int prevWordCodePoints[][MAX_WORD_LENGTH], 40 NgramContext(const int *const prevWordCodePoints, const int prevWordCodePointCount,
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.cpp | 63 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()
|
D | jni_data_utils.h | 104 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()
|