Searched defs:NELEM (Results 1 - 12 of 12) sorted by last modified time

/frameworks/webview/chromium/loader/
H A Dloader.cpp37 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
213 env->RegisterNatives(clazz, kJniMethods, NELEM(kJniMethods));
/frameworks/webview/chromium/plat_support/
H A Ddraw_gl_functor.cpp33 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
69 COMPILE_ASSERT(NELEM(aw_info.transform) == NELEM(gl_info->transform),
71 for (int i = 0; i < NELEM(aw_info.transform); ++i) {
150 int res = env->RegisterNatives(clazz, kJniMethods, NELEM(kJniMethods));
H A Dgraphics_utils.cpp34 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
108 int res = env->RegisterNatives(clazz, kJniMethods, NELEM(kJniMethods));
/frameworks/rs/cpp/
H A DScriptIntrinsicBLAS.cpp21 #define NELEM(m) (sizeof(m) / sizeof((m)[0])) macro
115 tryDispatch(mRS, RS::dispatch->ScriptForEachMulti(con, id, 0, in_allocs, NELEM(in_allocs), nullptr,
129 tryDispatch(mRS, RS::dispatch->ScriptForEachMulti(con, id, 0, in_allocs, NELEM(in_allocs), nullptr,
142 tryDispatch(mRS, RS::dispatch->ScriptForEachMulti(con, id, 0, in_allocs, NELEM(in_allocs), nullptr,
155 tryDispatch(mRS, RS::dispatch->ScriptForEachMulti(con, id, 0, in_allocs, NELEM(in_allocs), nullptr,
176 tryDispatch(mRS, RS::dispatch->ScriptForEachMulti(con, id, 0, in_allocs, NELEM(in_allocs), nullptr,
/frameworks/rs/rsov/driver/
H A DrsovCore.h38 #define NELEM(x) (sizeof(x) / sizeof((x)[0])) macro
/frameworks/rs/support/jni/
H A Dandroid_renderscript_RenderScript.cpp36 #define NELEM(m) (sizeof(m) / sizeof((m)[0])) macro
613 in_allocs, NELEM(in_allocs), nullptr,
617 in_allocs, NELEM(in_allocs), nullptr,
653 in_allocs, NELEM(in_allocs), nullptr,
657 in_allocs, NELEM(in_allocs), nullptr,
696 in_allocs, NELEM(in_allocs), nullptr,
700 in_allocs, NELEM(in_allocs), nullptr,
739 in_allocs, NELEM(in_allocs), nullptr,
743 in_allocs, NELEM(in_allocs), nullptr,
772 in_allocs, NELEM(in_alloc
[all...]
/frameworks/native/cmds/atrace/
H A Datrace.cpp54 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
209 static bool g_categoryEnables[NELEM(k_categories)] = {};
631 for (int i = 0; i < NELEM(k_categories); i++) {
719 for (int i = 0; i < NELEM(k_categories); i++) {
781 for (int i = 0; i < NELEM(k_categories); i++) {
790 for (int i = 0; i < NELEM(k_categories); i++) {
814 for (int i = 0; i < NELEM(k_categories); i++) {
1011 for (int i = 0; i < NELEM(k_categories); i++) {
/frameworks/native/opengl/libagl/
H A Degl.cpp51 #undef NELEM macro
52 #define NELEM(x) (sizeof(x)/sizeof(*(x))) macro
1046 { config_0_attribute_list, NELEM(config_0_attribute_list) },
1047 { config_1_attribute_list, NELEM(config_1_attribute_list) },
1048 { config_2_attribute_list, NELEM(config_2_attribute_list) },
1049 { config_3_attribute_list, NELEM(config_3_attribute_list) },
1050 { config_4_attribute_list, NELEM(config_4_attribute_list) },
1051 { config_5_attribute_list, NELEM(config_5_attribute_list) },
1052 { config_6_attribute_list, NELEM(config_6_attribute_list) },
1053 { config_7_attribute_list, NELEM(config_7_attribute_lis
[all...]
/frameworks/native/opengl/libs/
H A Dhooks.h39 #undef NELEM macro
40 #define NELEM(x) (sizeof(x)/sizeof(*(x))) macro
/frameworks/minikin/tests/unittest/
H A DHyphenatorTest.cpp23 #ifndef NELEM
24 #define NELEM(x) ((sizeof(x) / sizeof((x)[0]))) macro
57 hyphenator->hyphenate(&result, word, NELEM(word), usLocale);
71 hyphenator->hyphenate(&result, word, NELEM(word), catalanLocale);
85 hyphenator->hyphenate(&result, word, NELEM(word), catalanLocale);
97 hyphenator->hyphenate(&result, word, NELEM(word), polishLocale);
109 hyphenator->hyphenate(&result, word, NELEM(word), polishLocale);
122 hyphenator->hyphenate(&result, word, NELEM(word), polishLocale);
134 hyphenator->hyphenate(&result, word, NELEM(word), usLocale);
146 hyphenator->hyphenate(&result, word, NELEM(wor
[all...]
H A DWordBreakerTests.cpp29 #ifndef NELEM
30 #define NELEM(x) ((sizeof(x) / sizeof((x)[0]))) macro
43 breaker.setText(buf, NELEM(buf));
50 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end
61 breaker.setText(buf, NELEM(buf));
67 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end
78 breaker.setText(buf, NELEM(buf));
80 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next());
82 EXPECT_EQ((ssize_t)NELEM(buf), breaker.wordEnd());
90 breaker.setText(buf, NELEM(bu
[all...]
/frameworks/base/apct-tests/perftests/core/jni/
H A DSystemPerfTest.cpp19 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
77 sMethods, NELEM(sMethods)) == -1) {

Completed in 2103 milliseconds