/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/core/jni/android/graphics/ |
D | ColorFilter.cpp | 78 NELEM(colorfilter_methods)); in register_android_graphics_ColorFilter() 80 NELEM(blendmode_methods)); in register_android_graphics_ColorFilter() 82 NELEM(blendmode_methods)); in register_android_graphics_ColorFilter() 84 NELEM(lighting_methods)); in register_android_graphics_ColorFilter() 86 colormatrix_methods, NELEM(colormatrix_methods)); in register_android_graphics_ColorFilter()
|
D | PathEffect.cpp | 105 NELEM(gPathEffectMethods)); in register_android_graphics_PathEffect() 107 gComposePathEffectMethods, NELEM(gComposePathEffectMethods)); in register_android_graphics_PathEffect() 109 NELEM(gSumPathEffectMethods)); in register_android_graphics_PathEffect() 111 NELEM(gDashPathEffectMethods)); in register_android_graphics_PathEffect() 113 gPathDashPathEffectMethods, NELEM(gPathDashPathEffectMethods)); in register_android_graphics_PathEffect() 115 gCornerPathEffectMethods, NELEM(gCornerPathEffectMethods)); in register_android_graphics_PathEffect() 117 gDiscretePathEffectMethods, NELEM(gDiscretePathEffectMethods)); in register_android_graphics_PathEffect()
|
D | MaskFilter.cpp | 85 NELEM(gMaskFilterMethods)); in register_android_graphics_MaskFilter() 87 NELEM(gBlurMaskFilterMethods)); in register_android_graphics_MaskFilter() 89 gEmbossMaskFilterMethods, NELEM(gEmbossMaskFilterMethods)); in register_android_graphics_MaskFilter() 91 NELEM(gTableMaskFilterMethods)); in register_android_graphics_MaskFilter()
|
D | Shader.cpp | 247 NELEM(gColorMethods)); in register_android_graphics_Shader() 249 NELEM(gShaderMethods)); in register_android_graphics_Shader() 251 NELEM(gBitmapShaderMethods)); in register_android_graphics_Shader() 253 NELEM(gLinearGradientMethods)); in register_android_graphics_Shader() 255 NELEM(gRadialGradientMethods)); in register_android_graphics_Shader() 257 NELEM(gSweepGradientMethods)); in register_android_graphics_Shader() 259 NELEM(gComposeShaderMethods)); in register_android_graphics_Shader()
|
D | PaintFilter.cpp | 77 NELEM(drawfilter_methods)); in register_android_graphics_DrawFilter() 79 NELEM(paintflags_methods)); in register_android_graphics_DrawFilter()
|
D | CanvasProperty.cpp | 49 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 | 34 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro 108 int res = env->RegisterNatives(clazz, kJniMethods, NELEM(kJniMethods)); in RegisterGraphicsUtils()
|
/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/services/core/jni/ |
D | com_android_server_tv_TvUinputBridge.cpp | 60 for (size_t i = 0; i < NELEM(KEYS); i++) { in initKeysMap() 152 for (size_t i = 0; i < NELEM(KEYS); i++) { in open() 257 for (size_t i = 0; i < NELEM(KEYS); i++) { in nativeClear() 300 gUinputBridgeMethods, NELEM(gUinputBridgeMethods)); in register_android_server_tv_TvUinputBridge()
|
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/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/native/opengl/libagl/ |
D | egl.cpp | 51 #undef NELEM 52 #define NELEM(x) (sizeof(x)/sizeof(*(x))) macro 1066 { config_0_attribute_list, NELEM(config_0_attribute_list) }, 1067 { config_1_attribute_list, NELEM(config_1_attribute_list) }, 1068 { config_2_attribute_list, NELEM(config_2_attribute_list) }, 1069 { config_3_attribute_list, NELEM(config_3_attribute_list) }, 1070 { config_4_attribute_list, NELEM(config_4_attribute_list) }, 1071 { config_5_attribute_list, NELEM(config_5_attribute_list) }, 1072 { config_6_attribute_list, NELEM(config_6_attribute_list) }, 1073 { config_7_attribute_list, NELEM(config_7_attribute_list) }, [all …]
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_KernelCpuUidBpfMapReader.cpp | 184 {"KernelCpuUidFreqTimeBpfMapReader", gFreqTimeMethods, NELEM(gFreqTimeMethods)}, 185 {"KernelCpuUidActiveTimeBpfMapReader", gActiveTimeMethods, NELEM(gActiveTimeMethods)}, 186 {"KernelCpuUidClusterTimeBpfMapReader", gClusterTimeMethods, NELEM(gClusterTimeMethods)},
|
D | android_os_HidlSupport.cpp | 35 …return RegisterMethodsOrDie(env, kHidlSupportPathName, gHidlSupportMethods, NELEM(gHidlSupportMeth… in register_android_os_HidlSupport()
|
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 | eventlog_helper.h | 60 for (size_t i = 0; i < NELEM(gClasses); ++i) { in Init() 64 for (size_t i = 0; i < NELEM(gFields); ++i) { in Init() 69 for (size_t i = 0; i < NELEM(gMethods); ++i) { in Init()
|
D | com_android_internal_os_ClassLoaderFactory.cpp | 53 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()
|
/frameworks/base/core/jni/android/graphics/text/ |
D | MeasuredText.cpp | 163 gMTMethods, NELEM(gMTMethods)) in register_android_graphics_text_MeasuredText() 165 gMTBuilderMethods, NELEM(gMTBuilderMethods)); in register_android_graphics_text_MeasuredText()
|