/frameworks/minikin/tests/unittest/ |
D | WordBreakerTests.cpp | 25 #ifndef NELEM 26 #define NELEM(x) ((sizeof(x) / sizeof((x)[0]))) macro 36 breaker.setText(buf, NELEM(buf)); in TEST() 44 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST() 56 breaker.setText(buf, NELEM(buf)); in TEST() 63 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST() 75 breaker.setText(buf, NELEM(buf)); in TEST() 77 EXPECT_EQ((ssize_t)NELEM(buf), in TEST() 80 EXPECT_EQ((ssize_t)NELEM(buf), breaker.wordEnd()); in TEST() 89 breaker.setText(buf, NELEM(buf)); in TEST() [all …]
|
/frameworks/base/libs/hwui/jni/ |
D | PathEffect.cpp | 98 NELEM(gPathEffectMethods)); in register_android_graphics_PathEffect() 100 gComposePathEffectMethods, NELEM(gComposePathEffectMethods)); in register_android_graphics_PathEffect() 102 NELEM(gSumPathEffectMethods)); in register_android_graphics_PathEffect() 104 NELEM(gDashPathEffectMethods)); in register_android_graphics_PathEffect() 106 gPathDashPathEffectMethods, NELEM(gPathDashPathEffectMethods)); in register_android_graphics_PathEffect() 108 gCornerPathEffectMethods, NELEM(gCornerPathEffectMethods)); in register_android_graphics_PathEffect() 110 gDiscretePathEffectMethods, NELEM(gDiscretePathEffectMethods)); in register_android_graphics_PathEffect()
|
D | ColorFilter.cpp | 112 NELEM(colorfilter_methods)); in register_android_graphics_ColorFilter() 114 NELEM(blendmode_methods)); in register_android_graphics_ColorFilter() 116 NELEM(blendmode_methods)); in register_android_graphics_ColorFilter() 118 NELEM(lighting_methods)); in register_android_graphics_ColorFilter() 120 colormatrix_methods, NELEM(colormatrix_methods)); in register_android_graphics_ColorFilter()
|
D | MaskFilter.cpp | 88 NELEM(gMaskFilterMethods)); in register_android_graphics_MaskFilter() 90 NELEM(gBlurMaskFilterMethods)); in register_android_graphics_MaskFilter() 92 gEmbossMaskFilterMethods, NELEM(gEmbossMaskFilterMethods)); in register_android_graphics_MaskFilter() 94 NELEM(gTableMaskFilterMethods)); in register_android_graphics_MaskFilter()
|
D | PaintFilter.cpp | 69 NELEM(drawfilter_methods)); in register_android_graphics_DrawFilter() 71 NELEM(paintflags_methods)); in register_android_graphics_DrawFilter()
|
D | Shader.cpp | 436 NELEM(gShaderMethods)); in register_android_graphics_Shader() 438 NELEM(gBitmapShaderMethods)); in register_android_graphics_Shader() 440 NELEM(gLinearGradientMethods)); in register_android_graphics_Shader() 442 NELEM(gRadialGradientMethods)); in register_android_graphics_Shader() 444 NELEM(gSweepGradientMethods)); in register_android_graphics_Shader() 446 NELEM(gComposeShaderMethods)); in register_android_graphics_Shader() 448 NELEM(gRuntimeShaderMethods)); in register_android_graphics_Shader()
|
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 112 COMPILE_ASSERT(NELEM(params.transform) == NELEM(draw_gl_params.transform), in draw_gl() 114 for (int i = 0; i < NELEM(params.transform); ++i) { in draw_gl() 213 COMPILE_ASSERT(NELEM(params.transform) == NELEM(draw_vk_params.transform), in drawVk() 215 for (int i = 0; i < NELEM(params.transform); ++i) { in drawVk() 321 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_location_GnssLocationProvider.cpp | 1080 sAntennaInfoMethods, NELEM(sAntennaInfoMethods)); in register_android_server_location_GnssLocationProvider() 1084 sBatchingMethods, NELEM(sBatchingMethods)); in register_android_server_location_GnssLocationProvider() 1088 sGeofenceMethods, NELEM(sGeofenceMethods)); in register_android_server_location_GnssLocationProvider() 1092 sMeasurementMethods, NELEM(sMeasurementMethods)); in register_android_server_location_GnssLocationProvider() 1097 NELEM(sMeasurementCorrectionsMethods)); in register_android_server_location_GnssLocationProvider() 1101 sNavigationMessageMethods, NELEM(sNavigationMessageMethods)); in register_android_server_location_GnssLocationProvider() 1107 sNetworkConnectivityMethods, NELEM(sNetworkConnectivityMethods)); in register_android_server_location_GnssLocationProvider() 1111 sConfigurationMethods, NELEM(sConfigurationMethods)); in register_android_server_location_GnssLocationProvider() 1115 sVisibilityControlMethods, NELEM(sVisibilityControlMethods)); in register_android_server_location_GnssLocationProvider() 1119 sPowerIndicationMethods, NELEM(sPowerIndicationMethods)); in register_android_server_location_GnssLocationProvider() [all …]
|
D | com_android_server_devicepolicy_CryptoTestHelper.cpp | 39 env, "com/android/server/devicepolicy/CryptoTestHelper", methods, NELEM(methods)); in register_android_server_devicepolicy_CryptoTestHelper()
|
/frameworks/native/opengl/libs/ |
D | hooks.h | 39 #undef NELEM 40 #define NELEM(x) (sizeof(x)/sizeof(*(x))) macro
|
/frameworks/base/ravenwood/bivalenttest/jni/ |
D | ravenwood_core_test_jni.cpp | 97 sMethods_JniTest, NELEM(sMethods_JniTest)); in JNI_OnLoad() 103 sMethods_NarTestData, NELEM(sMethods_NarTestData)); in JNI_OnLoad()
|
/frameworks/base/apct-tests/perftests/core/jni/ |
D | SystemPerfTest.cpp | 22 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro 107 sMethods, NELEM(sMethods)) == -1) { in JNI_OnLoad()
|
/frameworks/base/cmds/gpu_counter_producer/ |
D | main.cpp | 37 #define NELEM(x) (sizeof(x) / sizeof(x[0])) macro 149 for (int i = 0; startFunc == nullptr && i < NELEM(kProducerPaths); i++) { in main()
|
/frameworks/base/core/jni/ |
D | com_android_internal_os_KernelCpuUidBpfMapReader.cpp | 168 {"KernelCpuUidFreqTimeBpfMapReader", gFreqTimeMethods, NELEM(gFreqTimeMethods)}, 169 {"KernelCpuUidActiveTimeBpfMapReader", gActiveTimeMethods, NELEM(gActiveTimeMethods)}, 170 {"KernelCpuUidClusterTimeBpfMapReader", gClusterTimeMethods, NELEM(gClusterTimeMethods)},
|
D | com_android_internal_os_ZygoteInit.cpp | 49 gMethods, NELEM(gMethods)); in register_com_android_internal_os_ZygoteInit()
|
D | android_app_ActivityThread.cpp | 46 gActivityThreadMethods, NELEM(gActivityThreadMethods)); in register_android_app_ActivityThread()
|
D | android_os_HidlSupport.cpp | 41 …return RegisterMethodsOrDie(env, kHidlSupportPathName, gHidlSupportMethods, NELEM(gHidlSupportMeth… in register_android_os_HidlSupport()
|
D | android_hardware_display_DisplayManagerGlobal.cpp | 54 return RegisterMethodsOrDie(env, kClassPathName, gMethods, NELEM(gMethods)); in register_android_hardware_display_DisplayManagerGlobal()
|
D | android_tracing_PerfettoProducer.cpp | 52 NELEM(gMethods)); in register_android_tracing_PerfettoProducer()
|
D | com_android_internal_util_VirtualRefBasePtr.cpp | 45 return RegisterMethodsOrDie(env, kClassPathName, gMethods, NELEM(gMethods)); in register_com_android_internal_util_VirtualRefBasePtr()
|
/frameworks/base/libs/hwui/jni/fonts/ |
D | FontFamily.cpp | 135 gFontFamilyBuilderMethods, NELEM(gFontFamilyBuilderMethods)) + in register_android_graphics_fonts_FontFamily() 137 NELEM(gFontFamilyMethods)); in register_android_graphics_fonts_FontFamily()
|