Searched defs:NELEM (Results 1 - 7 of 7) sorted by path

/frameworks/native/cmds/atrace/
H A Datrace.cpp41 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
152 static bool g_categoryEnables[NELEM(k_categories)] = {};
458 for (int i = 0; i < NELEM(k_categories); i++) {
568 for (int i = 0; i < NELEM(k_categories); i++) {
583 for (int i = 0; i < NELEM(k_categories); i++) {
754 for (int i = 0; i < NELEM(k_categories); i++) {
778 for (int i = 0; i < NELEM(k_categories); i++) {
/frameworks/native/opengl/libagl/
H A Degl.cpp49 #undef NELEM macro
50 #define NELEM(x) (sizeof(x)/sizeof(*(x))) macro
1014 { config_0_attribute_list, NELEM(config_0_attribute_list) },
1015 { config_1_attribute_list, NELEM(config_1_attribute_list) },
1016 { config_2_attribute_list, NELEM(config_2_attribute_list) },
1017 { config_3_attribute_list, NELEM(config_3_attribute_list) },
1018 { config_4_attribute_list, NELEM(config_4_attribute_list) },
1019 { config_5_attribute_list, NELEM(config_5_attribute_list) },
1020 { config_6_attribute_list, NELEM(config_6_attribute_list) },
1021 { config_7_attribute_list, NELEM(config_7_attribute_lis
[all...]
/frameworks/native/opengl/libs/
H A Dhooks.h38 #undef NELEM macro
39 #define NELEM(x) (sizeof(x)/sizeof(*(x))) macro
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp33 #define NELEM(m) (sizeof(m) / sizeof((m)[0])) macro
1103 if (env->RegisterNatives(clazz, methods, NELEM(methods)) < 0) {
/frameworks/webview/chromium/loader/
H A Dloader.cpp36 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
197 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
118 int res = env->RegisterNatives(clazz, kJniMethods, NELEM(kJniMethods));

Completed in 105 milliseconds