Home
last modified time | relevance | path

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

1234567

/frameworks/webview/chromium/plat_support/
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), in operator ()()
71 for (int i = 0; i < NELEM(aw_info.transform); ++i) { in operator ()()
150 int res = env->RegisterNatives(clazz, kJniMethods, NELEM(kJniMethods)); in RegisterDrawGLFunctor()
Dgraphics_utils.cpp34 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
118 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()
296 for (size_t i=0 ; i<NELEM(searchPaths) ; i++) { in load_driver()
308 for (size_t i=0 ; i<NELEM(searchPaths) ; i++) { in load_driver()
/frameworks/native/cmds/atrace/
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++) { in disableKernelTraceEvents()
568 for (int i = 0; i < NELEM(k_categories); i++) { in setUpTrace()
583 for (int i = 0; i < NELEM(k_categories); i++) { in setUpTrace()
754 for (int i = 0; i < NELEM(k_categories); i++) { in setCategoryEnable()
778 for (int i = 0; i < NELEM(k_categories); i++) { in listSupportedCategories()
/frameworks/base/core/jni/
Dandroid_util_EventLog.cpp265 for (int i = 0; i < NELEM(gClasses); ++i) { in register_android_util_EventLog()
274 for (int i = 0; i < NELEM(gFields); ++i) { in register_android_util_EventLog()
283 for (int i = 0; i < NELEM(gMethods); ++i) { in register_android_util_EventLog()
295 gRegisterMethods, NELEM(gRegisterMethods)); in register_android_util_EventLog()
Dcom_android_internal_util_VirtualRefBasePtr.cpp45 return AndroidRuntime::registerNativeMethods(env, kClassPathName, gMethods, NELEM(gMethods)); in register_com_android_internal_util_VirtualRefBasePtr()
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_database_SQLiteDebug.cpp86 gMethods, NELEM(gMethods)); in register_android_database_SQLiteDebug()
Dandroid_os_SystemClock.cpp139 "android/os/SystemClock", gMethods, NELEM(gMethods)); in register_android_os_SystemClock()
Dandroid_server_NetworkManagementSocketTagger.cpp94 …(env, "com/android/server/NetworkManagementSocketTagger", gQTagUidMethods, NELEM(gQTagUidMethods)); in register_android_server_NetworkManagementSocketTagger()
/frameworks/base/media/jni/
Dandroid_media_MediaProfiles.cpp344 NELEM(gMethodsForEncoderCapabilitiesClass)); in register_android_media_MediaProfiles()
349 NELEM(gMethodsForCamcorderProfileClass)); in register_android_media_MediaProfiles()
354 NELEM(gMethodsForDecoderCapabilitiesClass)); in register_android_media_MediaProfiles()
359 NELEM(gMethodsForCameraProfileClass)); in register_android_media_MediaProfiles()
Dandroid_media_ResampleInputStream.cpp120 kClassPathName, gMethods, NELEM(gMethods)); in register_android_media_ResampleInputStream()
/frameworks/base/services/core/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_PersistentDataBlockService.cpp108 sMethods, NELEM(sMethods)); in register_android_server_PersistentDataBlockService()
/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/core/tests/coretests/apks/install_jni_lib/
Dcom_android_frameworks_coretests_JNITest.cpp32 NELEM(sMethods)); in register_com_android_framework_coretests_JNITests()
/frameworks/base/core/jni/android/graphics/
DCanvasProperty.cpp56 return AndroidRuntime::registerNativeMethods(env, kClassPathName, gMethods, NELEM(gMethods)); in register_android_graphics_CanvasProperty()
/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()
/frameworks/webview/chromium/loader/
Dloader.cpp36 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
197 env->RegisterNatives(clazz, kJniMethods, NELEM(kJniMethods)); in RegisterWebViewFactory()

1234567