Home
last modified time | relevance | path

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

/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dngram_context.cpp37 const int *const prevWordCodePointCount, const bool *const isBeginningOfSentence, in NgramContext() argument
42 if (prevWordCodePointCount[i] < 0 || prevWordCodePointCount[i] > MAX_WORD_LENGTH) { in NgramContext()
46 sizeof(mPrevWordCodePoints[i][0]) * prevWordCodePointCount[i]); in NgramContext()
47 mPrevWordCodePointCount[i] = prevWordCodePointCount[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()
59 sizeof(mPrevWordCodePoints[0][0]) * prevWordCodePointCount); in NgramContext()
60 mPrevWordCodePointCount[0] = prevWordCodePointCount; in NgramContext()
Dngram_context.h37 const int *const prevWordCodePointCount, const bool *const isBeginningOfSentence,
40 NgramContext(const int *const prevWordCodePoints, const int prevWordCodePointCount,
/packages/inputmethods/LatinIME/native/jni/src/utils/
Djni_data_utils.h105 int prevWordCodePointCount[MAX_PREV_WORD_COUNT_FOR_N_GRAM]; in constructNgramContext() local
108 prevWordCodePointCount[i] = 0; in constructNgramContext()
120 prevWordCodePointCount[i] = prevWordLength; in constructNgramContext()
126 return NgramContext(prevWordCodePoints, prevWordCodePointCount, isBeginningOfSentence, in constructNgramContext()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/internal/
Ddic_node_state.h57 const int prevWordCodePointCount) { in initAsRootWithPreviousWord() argument