Home
last modified time | relevance | path

Searched refs:NELEMS (Results 1 – 12 of 12) sorted by relevance

/packages/inputmethods/LatinIME/native/jni/src/utils/
Djni_data_utils.cpp41 env->SetBooleanArrayRegion(outFlags, 0 /* start */, NELEMS(flags), flags); in outputWordProperty()
45 env->SetIntArrayRegion(outProbabilityInfo, 0 /* start */, NELEMS(probabilityInfo), in outputWordProperty()
90 jintArray bigramProbabilityInfoArray = env->NewIntArray(NELEMS(bigramProbabilityInfo)); in outputWordProperty()
92 NELEMS(bigramProbabilityInfo), bigramProbabilityInfo); in outputWordProperty()
Dchar_utils.cpp1063 NELEMS(SORTED_CHAR_MAP), sizeof(SORTED_CHAR_MAP[0]), compare_pair_capital)); in latin_tolower()
/packages/inputmethods/LatinIME/native/jni/tests/
Ddefines_test.cpp29 EXPECT_EQ(SMALL_ARRAY_SIZE, NELEMS(smallArray)); in TEST()
30 EXPECT_EQ(LARGE_ARRAY_SIZE, NELEMS(largeArray)); in TEST()
/packages/inputmethods/LatinIME/native/jni/src/
Ddefines.h46 #define NELEMS(x) (sizeof(ArraySizeHelper(x))) macro
123 const int N = intArrayToCharArray(word, length, charBuf, NELEMS(charBuf)); in dumpWordInfo()
131 const int N = intArrayToCharArray(word, length, charBuf, NELEMS(charBuf)); in dumpWord()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddigraph_utils.cpp81 return NELEMS(GERMAN_UMLAUT_DIGRAPHS); in getAllDigraphsForDigraphTypeAndReturnSize()
92 for (size_t i = 0; i < NELEMS(USED_DIGRAPH_TYPES); i++) { in getDigraphForCodePoint()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/property/
Dngram_context.cpp39 : mPrevWordCount(std::min(NELEMS(mPrevWordCodePoints), prevWordCount)) { in NgramContext()
118 for (size_t i = 0; i < NELEMS(mPrevWordCodePoints); ++i) { in clear()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
Ddic_node.h35 INTS_TO_CHARS(getOutputWordBuf(), getNodeCodePointCount(), charBuf, NELEMS(charBuf)); \
46 charBuf, NELEMS(charBuf)); \
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/
Dadditional_proximity_chars.h44 const int NCHARS = NELEMS(LOCALE_EN_US); in isEnLocale()
/packages/inputmethods/LatinIME/native/jni/
Dcom_android_inputmethod_latin_DicTraverseSession.cpp78 return registerNativeMethods(env, kClassPathName, sMethods, NELEMS(sMethods)); in register_DicTraverseSession()
Dcom_android_inputmethod_keyboard_ProximityInfo.cpp61 return registerNativeMethods(env, kClassPathName, sMethods, NELEMS(sMethods)); in register_ProximityInfo()
Dcom_android_inputmethod_latin_BinaryDictionaryUtils.cpp103 return registerNativeMethods(env, kClassPathName, sMethods, NELEMS(sMethods)); in register_BinaryDictionaryUtils()
Dcom_android_inputmethod_latin_BinaryDictionary.cpp742 return registerNativeMethods(env, kClassPathName, sMethods, NELEMS(sMethods)); in register_BinaryDictionary()