Searched refs:prevWordCodePointCount (Results 1 – 4 of 4) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/ |
D | ngram_context.cpp | 37 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()
|
D | ngram_context.h | 37 const int *const prevWordCodePointCount, const bool *const isBeginningOfSentence, 40 NgramContext(const int *const prevWordCodePoints, const int prevWordCodePointCount,
|
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.h | 105 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/ |
D | dic_node_state.h | 57 const int prevWordCodePointCount) { in initAsRootWithPreviousWord() argument
|