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

/frameworks/native/opengl/libs/
H A Dhooks.h38 #undef NELEM macro
39 #define NELEM(x) (sizeof(x)/sizeof(*(x))) macro
/frameworks/webview/chromium/plat_support/
H A Dgraphics_utils.cpp34 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
122 int res = env->RegisterNatives(clazz, kJniMethods, NELEM(kJniMethods));
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));
/frameworks/webview/chromium/loader/
H A Dloader.cpp36 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
202 env->RegisterNatives(clazz, kJniMethods, NELEM(kJniMethods));
/frameworks/native/cmds/atrace/
H A Datrace.cpp43 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
157 static bool g_categoryEnables[NELEM(k_categories)] = {};
474 for (int i = 0; i < NELEM(k_categories); i++) {
584 for (int i = 0; i < NELEM(k_categories); i++) {
599 for (int i = 0; i < NELEM(k_categories); i++) {
771 for (int i = 0; i < NELEM(k_categories); i++) {
795 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
1041 { config_0_attribute_list, NELEM(config_0_attribute_list) },
1042 { config_1_attribute_list, NELEM(config_1_attribute_list) },
1043 { config_2_attribute_list, NELEM(config_2_attribute_list) },
1044 { config_3_attribute_list, NELEM(config_3_attribute_list) },
1045 { config_4_attribute_list, NELEM(config_4_attribute_list) },
1046 { config_5_attribute_list, NELEM(config_5_attribute_list) },
1047 { config_6_attribute_list, NELEM(config_6_attribute_list) },
1048 { config_7_attribute_list, NELEM(config_7_attribute_lis
[all...]
/frameworks/support/v8/renderscript/jni/
H A Dandroid_renderscript_RenderScript.cpp34 #define NELEM(m) (sizeof(m) / sizeof((m)[0])) macro
2082 if (env->RegisterNatives(clazz, methods, NELEM(methods)) < 0) {

Completed in 4546 milliseconds