Searched defs:NELEM (Results 1 - 7 of 7) sorted by relevance
/frameworks/native/opengl/libs/ |
H A D | hooks.h | 38 #undef NELEM macro 39 #define NELEM(x) (sizeof(x)/sizeof(*(x))) macro
|
/frameworks/webview/chromium/plat_support/ |
H A D | graphics_utils.cpp | 34 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro 122 int res = env->RegisterNatives(clazz, kJniMethods, NELEM(kJniMethods));
|
H A D | draw_gl_functor.cpp | 33 #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 D | loader.cpp | 36 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro 202 env->RegisterNatives(clazz, kJniMethods, NELEM(kJniMethods));
|
/frameworks/native/cmds/atrace/ |
H A D | atrace.cpp | 43 #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 D | egl.cpp | 49 #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 D | android_renderscript_RenderScript.cpp | 34 #define NELEM(m) (sizeof(m) / sizeof((m)[0])) macro 2082 if (env->RegisterNatives(clazz, methods, NELEM(methods)) < 0) {
|
Completed in 194 milliseconds