/frameworks/minikin/tests/unittest/ |
D | WordBreakerTests.cpp | 27 #ifndef NELEM 28 #define NELEM(x) ((sizeof(x) / sizeof((x)[0]))) macro 38 breaker.setText(buf, NELEM(buf)); in TEST() 45 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST() 55 breaker.setText(buf, NELEM(buf)); in TEST() 62 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST() 72 breaker.setText(buf, NELEM(buf)); in TEST() 74 EXPECT_EQ((ssize_t)NELEM(buf), breaker.followingWithLocale(Locale("en-US"), 0)); in TEST() 76 EXPECT_EQ((ssize_t)NELEM(buf), breaker.wordEnd()); in TEST() 83 breaker.setText(buf, NELEM(buf)); in TEST() [all …]
|
/frameworks/base/libs/hwui/jni/ |
D | ColorFilter.cpp | 76 NELEM(colorfilter_methods)); in register_android_graphics_ColorFilter() 78 NELEM(blendmode_methods)); in register_android_graphics_ColorFilter() 80 NELEM(blendmode_methods)); in register_android_graphics_ColorFilter() 82 NELEM(lighting_methods)); in register_android_graphics_ColorFilter() 84 colormatrix_methods, NELEM(colormatrix_methods)); in register_android_graphics_ColorFilter()
|
D | PathEffect.cpp | 102 NELEM(gPathEffectMethods)); in register_android_graphics_PathEffect() 104 gComposePathEffectMethods, NELEM(gComposePathEffectMethods)); in register_android_graphics_PathEffect() 106 NELEM(gSumPathEffectMethods)); in register_android_graphics_PathEffect() 108 NELEM(gDashPathEffectMethods)); in register_android_graphics_PathEffect() 110 gPathDashPathEffectMethods, NELEM(gPathDashPathEffectMethods)); in register_android_graphics_PathEffect() 112 gCornerPathEffectMethods, NELEM(gCornerPathEffectMethods)); in register_android_graphics_PathEffect() 114 gDiscretePathEffectMethods, NELEM(gDiscretePathEffectMethods)); in register_android_graphics_PathEffect()
|
D | MaskFilter.cpp | 81 NELEM(gMaskFilterMethods)); in register_android_graphics_MaskFilter() 83 NELEM(gBlurMaskFilterMethods)); in register_android_graphics_MaskFilter() 85 gEmbossMaskFilterMethods, NELEM(gEmbossMaskFilterMethods)); in register_android_graphics_MaskFilter() 87 NELEM(gTableMaskFilterMethods)); in register_android_graphics_MaskFilter()
|
D | Shader.cpp | 288 NELEM(gColorMethods)); in register_android_graphics_Shader() 290 NELEM(gShaderMethods)); in register_android_graphics_Shader() 292 NELEM(gBitmapShaderMethods)); in register_android_graphics_Shader() 294 NELEM(gLinearGradientMethods)); in register_android_graphics_Shader() 296 NELEM(gRadialGradientMethods)); in register_android_graphics_Shader() 298 NELEM(gSweepGradientMethods)); in register_android_graphics_Shader() 300 NELEM(gComposeShaderMethods)); in register_android_graphics_Shader() 302 NELEM(gRuntimeShaderMethods)); in register_android_graphics_Shader()
|
D | PaintFilter.cpp | 73 NELEM(drawfilter_methods)); in register_android_graphics_DrawFilter() 75 NELEM(paintflags_methods)); in register_android_graphics_DrawFilter()
|
D | CanvasProperty.cpp | 47 NELEM(gMethods)); in register_android_graphics_CanvasProperty()
|
/frameworks/base/native/webview/plat_support/ |
D | draw_gl_functor.cpp | 31 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro 68 COMPILE_ASSERT(NELEM(aw_info.transform) == NELEM(gl_info->transform), in operator ()() 70 for (int i = 0; i < NELEM(aw_info.transform); ++i) { in operator ()() 128 int res = env->RegisterNatives(clazz, kJniMethods, NELEM(kJniMethods)); in RegisterDrawGLFunctor()
|
D | draw_functor.cpp | 23 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro 77 COMPILE_ASSERT(NELEM(params.transform) == NELEM(draw_gl_params.transform), in draw_gl() 79 for (int i = 0; i < NELEM(params.transform); ++i) { in draw_gl() 150 COMPILE_ASSERT(NELEM(params.transform) == NELEM(draw_vk_params.transform), in drawVk() 152 for (int i = 0; i < NELEM(params.transform); ++i) { in drawVk() 230 int res = env->RegisterNatives(clazz, kJniMethods, NELEM(kJniMethods)); in RegisterDrawFunctor()
|
D | graphics_utils.cpp | 32 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro 106 int res = env->RegisterNatives(clazz, kJniMethods, NELEM(kJniMethods)); in RegisterGraphicsUtils()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_tv_TvUinputBridge.cpp | 68 for (size_t i = 0; i < NELEM(KEYS); i++) { in initKeysMap() 76 for (size_t i = 0; i < NELEM(GAMEPAD_KEYS); i++) { in initGamepadKeyMap() 83 for (size_t i = 0; i < NELEM(GAMEPAD_AXES); i++) { in initGamepadKeyMap() 226 if ((axis < 0) || (axis >= NELEM(mUinputDescriptor.absmin))) { in EnableAxis() 312 for (size_t i = 0; i < NELEM(KEYS); i++) { in open() 334 for (size_t i = 0; i < NELEM(GAMEPAD_KEYS); i++) { in openGamepad() 340 for (size_t i = 0; i < NELEM(GAMEPAD_AXES); i++) { in openGamepad() 497 for (size_t i = 0; i < NELEM(KEYS); i++) { in nativeClear() 511 for (size_t i = 0; i < NELEM(GAMEPAD_KEYS); i++) { in nativeClear() 515 for (size_t i = 0; i < NELEM(GAMEPAD_AXES); i++) { in nativeClear() [all …]
|
D | com_android_server_devicepolicy_CryptoTestHelper.cpp | 39 env, "com/android/server/devicepolicy/CryptoTestHelper", methods, NELEM(methods)); in register_android_server_devicepolicy_CryptoTestHelper()
|
D | com_android_server_locksettings_SyntheticPasswordManager.cpp | 54 sMethods, NELEM(sMethods)); in register_android_server_SyntheticPasswordManager()
|
/frameworks/native/opengl/libs/ |
D | hooks.h | 39 #undef NELEM 40 #define NELEM(x) (sizeof(x)/sizeof(*(x))) macro
|
/frameworks/base/apct-tests/perftests/core/jni/ |
D | SystemPerfTest.cpp | 19 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro 77 sMethods, NELEM(sMethods)) == -1) { in JNI_OnLoad()
|
/frameworks/base/media/jni/ |
D | android_media_MediaProfiles.cpp | 353 NELEM(gMethodsForEncoderCapabilitiesClass)); in register_android_media_MediaProfiles() 358 NELEM(gMethodsForCamcorderProfileClass)); in register_android_media_MediaProfiles() 363 NELEM(gMethodsForDecoderCapabilitiesClass)); in register_android_media_MediaProfiles() 368 NELEM(gMethodsForCameraProfileClass)); in register_android_media_MediaProfiles()
|
/frameworks/base/core/jni/ |
D | android_os_HidlSupport.cpp | 35 …return RegisterMethodsOrDie(env, kHidlSupportPathName, gHidlSupportMethods, NELEM(gHidlSupportMeth… in register_android_os_HidlSupport()
|
D | com_android_internal_os_KernelCpuUidBpfMapReader.cpp | 184 {"KernelCpuUidFreqTimeBpfMapReader", gFreqTimeMethods, NELEM(gFreqTimeMethods)}, 185 {"KernelCpuUidActiveTimeBpfMapReader", gActiveTimeMethods, NELEM(gActiveTimeMethods)}, 186 {"KernelCpuUidClusterTimeBpfMapReader", gClusterTimeMethods, NELEM(gClusterTimeMethods)},
|
D | android_hardware_display_DisplayManagerGlobal.cpp | 54 return RegisterMethodsOrDie(env, kClassPathName, gMethods, NELEM(gMethods)); in register_android_hardware_display_DisplayManagerGlobal()
|
D | com_android_internal_util_VirtualRefBasePtr.cpp | 45 return RegisterMethodsOrDie(env, kClassPathName, gMethods, NELEM(gMethods)); in register_com_android_internal_util_VirtualRefBasePtr()
|
D | android_app_Activity.cpp | 48 return RegisterMethodsOrDie(env, kActivityPathName, g_methods, NELEM(g_methods)); in register_android_app_Activity()
|
D | android_app_ActivityThread.cpp | 55 gActivityThreadMethods, NELEM(gActivityThreadMethods)); in register_android_app_ActivityThread()
|
D | com_android_internal_os_ZygoteInit.cpp | 79 gMethods, NELEM(gMethods)); in register_com_android_internal_os_ZygoteInit()
|
D | com_android_internal_os_ClassLoaderFactory.cpp | 50 return RegisterMethodsOrDie(env, kClassLoaderFactoryPathName, g_methods, NELEM(g_methods)); in register_com_android_internal_os_ClassLoaderFactory()
|
/frameworks/av/media/libstagefright/foundation/ |
D | ADebug.cpp | 108 for (size_t i = 0; i < NELEM(terms) && debugName != NULL; i++) { in GetDebugName() 162 for (size_t i = 0; i < NELEM(serial) && serial[i] != '\0'; ++i) { in getExperimentFlag()
|