Home
last modified time | relevance | path

Searched refs:mPrevWordCodePoints (Results 1 – 2 of 2) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dngram_context.cpp30 memmove(mPrevWordCodePoints[i], ngramContext.mPrevWordCodePoints[i], in NgramContext()
31 sizeof(mPrevWordCodePoints[i][0]) * mPrevWordCodePointCount[i]); in NgramContext()
39 : mPrevWordCount(std::min(NELEMS(mPrevWordCodePoints), prevWordCount)) { in NgramContext()
45 memmove(mPrevWordCodePoints[i], prevWordCodePoints[i], in NgramContext()
46 sizeof(mPrevWordCodePoints[i][0]) * prevWordCodePointCount[i]); in NgramContext()
58 memmove(mPrevWordCodePoints[0], prevWordCodePoints, in NgramContext()
59 sizeof(mPrevWordCodePoints[0][0]) * prevWordCodePointCount); in NgramContext()
78 return CodePointArrayView(mPrevWordCodePoints[n - 1], mPrevWordCodePointCount[n - 1]); in getNthPrevWordCodePoints()
118 for (size_t i = 0; i < NELEMS(mPrevWordCodePoints); ++i) { in clear()
Dngram_context.h53 prevWordIdBuffer->at(i) = getWordId(dictStructurePolicy, mPrevWordCodePoints[i], in getPrevWordIds()
73 int mPrevWordCodePoints[MAX_PREV_WORD_COUNT_FOR_N_GRAM][MAX_WORD_LENGTH]; variable