Home
last modified time | relevance | path

Searched refs:NELEM (Results 1 – 25 of 143) sorted by relevance

123456

/frameworks/webview/chromium/plat_support/
Ddraw_gl_functor.cpp33 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
67 COMPILE_ASSERT(NELEM(aw_info.transform) == NELEM(gl_info->transform), in operator ()()
69 for (int i = 0; i < NELEM(aw_info.transform); ++i) { in operator ()()
154 int res = env->RegisterNatives(clazz, kJniMethods, NELEM(kJniMethods)); in RegisterDrawGLFunctor()
Dgraphics_utils.cpp34 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
144 int res = env->RegisterNatives(clazz, kJniMethods, NELEM(kJniMethods)); in RegisterGraphicsUtils()
/frameworks/native/opengl/libs/
Dhooks.h38 #undef NELEM
39 #define NELEM(x) (sizeof(x)/sizeof(*(x))) macro
/frameworks/native/opengl/libs/EGL/
DLoader.cpp122 for (size_t i=1 ; i<NELEM(dso) ; i++) in driver_t()
128 for (size_t i=0 ; i<NELEM(dso) ; i++) { in ~driver_t()
281 for (size_t i=0 ; i<NELEM(searchPaths) ; i++) { in load_driver()
293 for (size_t i=0 ; i<NELEM(searchPaths) ; i++) { in load_driver()
/frameworks/native/cmds/atrace/
Datrace.cpp40 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
132 static bool g_categoryEnables[NELEM(k_categories)] = {};
393 for (int i = 0; i < NELEM(k_categories); i++) { in disableKernelTraceEvents()
503 for (int i = 0; i < NELEM(k_categories); i++) { in setUpTrace()
518 for (int i = 0; i < NELEM(k_categories); i++) { in setUpTrace()
689 for (int i = 0; i < NELEM(k_categories); i++) { in setCategoryEnable()
713 for (int i = 0; i < NELEM(k_categories); i++) { in listSupportedCategories()
/frameworks/base/media/jni/
Dandroid_media_MediaProfiles.cpp420 NELEM(gMethodsForEncoderCapabilitiesClass)); in register_android_media_MediaProfiles()
425 NELEM(gMethodsForCamcorderProfileClass)); in register_android_media_MediaProfiles()
430 NELEM(gMethodsForDecoderCapabilitiesClass)); in register_android_media_MediaProfiles()
435 NELEM(gMethodsForCameraProfileClass)); in register_android_media_MediaProfiles()
440 NELEM(gMethodsForVideoEditorProfileClass)); in register_android_media_MediaProfiles()
Dandroid_media_ResampleInputStream.cpp120 kClassPathName, gMethods, NELEM(gMethods)); in register_android_media_ResampleInputStream()
/frameworks/base/core/jni/
Dandroid_util_EventLog.cpp267 for (int i = 0; i < NELEM(gClasses); ++i) { in register_android_util_EventLog()
276 for (int i = 0; i < NELEM(gFields); ++i) { in register_android_util_EventLog()
285 for (int i = 0; i < NELEM(gMethods); ++i) { in register_android_util_EventLog()
297 gRegisterMethods, NELEM(gRegisterMethods)); in register_android_util_EventLog()
Dandroid_hardware_UsbDevice.cpp58 method_table, NELEM(method_table)); in register_android_hardware_UsbDevice()
Dandroid_database_SQLiteGlobal.cpp86 sMethods, NELEM(sMethods)); in register_android_database_SQLiteGlobal()
Dandroid_view_SurfaceSession.cpp71 gMethods, NELEM(gMethods)); in register_android_view_SurfaceSession()
Dandroid_text_AndroidBidi.cpp67 gMethods, NELEM(gMethods)); in register_android_text_AndroidBidi()
Dandroid_debug_JNITest.cpp106 gMethods, NELEM(gMethods)); in register_android_debug_JNITest()
Dandroid_database_SQLiteDebug.cpp86 gMethods, NELEM(gMethods)); in register_android_database_SQLiteDebug()
Dandroid_animation_PropertyValuesHolder.cpp76 kClassPathName, gMethods, NELEM(gMethods)); in register_android_animation_PropertyValuesHolder()
Dandroid_server_NetworkManagementSocketTagger.cpp94 …(env, "com/android/server/NetworkManagementSocketTagger", gQTagUidMethods, NELEM(gQTagUidMethods)); in register_android_server_NetworkManagementSocketTagger()
Dandroid_backup_BackupDataOutput.cpp111 g_methods, NELEM(g_methods)); in register_android_backup_BackupDataOutput()
Dandroid_ddm_DdmHandleNativeHeap.cpp99 …::registerNativeMethods(env, "android/ddm/DdmHandleNativeHeap", method_table, NELEM(method_table)); in register_android_ddm_DdmHandleNativeHeap()
/frameworks/base/services/jni/
Dcom_android_server_SystemServer.cpp48 gMethods, NELEM(gMethods)); in register_android_server_SystemServer()
Dcom_android_server_VibratorService.cpp58 method_table, NELEM(method_table)); in register_android_server_VibratorService()
Dcom_android_server_SerialService.cpp79 method_table, NELEM(method_table)); in register_android_server_SerialService()
Dcom_android_server_AlarmManagerService.cpp111 sMethods, NELEM(sMethods)); in register_android_server_AlarmManagerService()
/frameworks/base/core/tests/coretests/apks/install_jni_lib/
Dcom_android_frameworks_coretests_JNITest.cpp32 NELEM(sMethods)); in register_com_android_framework_coretests_JNITests()
/frameworks/native/opengl/libagl/
Degl.cpp49 #undef NELEM
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_list) },
[all …]
/frameworks/base/packages/DefaultContainerService/jni/
Dcom_android_defcontainer_MeasurementUtils.cpp59 env, "com/android/defcontainer/MeasurementUtils", g_methods, NELEM(g_methods)) < 0) { in register_com_android_defcontainer()

123456