Searched refs:NELEMS (Results 1 – 12 of 12) sorted by relevance
/packages/inputmethods/LatinIME/native/jni/src/utils/ |
D | jni_data_utils.cpp | 41 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()
|
D | char_utils.cpp | 1063 NELEMS(SORTED_CHAR_MAP), sizeof(SORTED_CHAR_MAP[0]), compare_pair_capital)); in latin_tolower()
|
/packages/inputmethods/LatinIME/native/jni/tests/ |
D | defines_test.cpp | 29 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/ |
D | defines.h | 46 #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/ |
D | digraph_utils.cpp | 81 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/ |
D | ngram_context.cpp | 39 : 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/ |
D | dic_node.h | 35 INTS_TO_CHARS(getOutputWordBuf(), getNodeCodePointCount(), charBuf, NELEMS(charBuf)); \ 46 charBuf, NELEMS(charBuf)); \
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
D | additional_proximity_chars.h | 44 const int NCHARS = NELEMS(LOCALE_EN_US); in isEnLocale()
|
/packages/inputmethods/LatinIME/native/jni/ |
D | com_android_inputmethod_latin_DicTraverseSession.cpp | 78 return registerNativeMethods(env, kClassPathName, sMethods, NELEMS(sMethods)); in register_DicTraverseSession()
|
D | com_android_inputmethod_keyboard_ProximityInfo.cpp | 61 return registerNativeMethods(env, kClassPathName, sMethods, NELEMS(sMethods)); in register_ProximityInfo()
|
D | com_android_inputmethod_latin_BinaryDictionaryUtils.cpp | 103 return registerNativeMethods(env, kClassPathName, sMethods, NELEMS(sMethods)); in register_BinaryDictionaryUtils()
|
D | com_android_inputmethod_latin_BinaryDictionary.cpp | 742 return registerNativeMethods(env, kClassPathName, sMethods, NELEMS(sMethods)); in register_BinaryDictionary()
|