Home
last modified time | relevance | path

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

12345678910>>...12

/frameworks/minikin/tests/unittest/
DWordBreakerTests.cpp27 #ifndef NELEM
28 #define NELEM(x) ((sizeof(x) / sizeof((x)[0]))) macro
38 breaker.setText(buf, NELEM(buf)); in TEST()
46 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST()
58 breaker.setText(buf, NELEM(buf)); in TEST()
65 EXPECT_EQ((ssize_t)NELEM(buf), breaker.next()); // end in TEST()
77 breaker.setText(buf, NELEM(buf)); in TEST()
79 EXPECT_EQ((ssize_t)NELEM(buf), in TEST()
82 EXPECT_EQ((ssize_t)NELEM(buf), breaker.wordEnd()); in TEST()
91 breaker.setText(buf, NELEM(buf)); in TEST()
[all …]
/frameworks/base/libs/hwui/jni/
DColorFilter.cpp76 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()
DPathEffect.cpp102 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()
DMaskFilter.cpp81 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()
DPaintFilter.cpp69 NELEM(drawfilter_methods)); in register_android_graphics_DrawFilter()
71 NELEM(paintflags_methods)); in register_android_graphics_DrawFilter()
DShader.cpp437 NELEM(gColorMethods)); in register_android_graphics_Shader()
439 NELEM(gShaderMethods)); in register_android_graphics_Shader()
441 NELEM(gBitmapShaderMethods)); in register_android_graphics_Shader()
443 NELEM(gLinearGradientMethods)); in register_android_graphics_Shader()
445 NELEM(gRadialGradientMethods)); in register_android_graphics_Shader()
447 NELEM(gSweepGradientMethods)); in register_android_graphics_Shader()
449 NELEM(gComposeShaderMethods)); in register_android_graphics_Shader()
451 NELEM(gRuntimeShaderMethods)); in register_android_graphics_Shader()
DCanvasProperty.cpp47 NELEM(gMethods)); in register_android_graphics_CanvasProperty()
/frameworks/base/native/webview/plat_support/
Ddraw_gl_functor.cpp31 #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()
Ddraw_functor.cpp23 #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()
316 int res = env->RegisterNatives(clazz, kJniMethods, NELEM(kJniMethods)); in RegisterDrawFunctor()
Dgraphics_utils.cpp32 #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/
Dcom_android_server_tv_TvUinputBridge.cpp68 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 …]
Dcom_android_server_location_GnssLocationProvider.cpp1134 sAntennaInfoMethods, NELEM(sAntennaInfoMethods)); in register_android_server_location_GnssLocationProvider()
1138 sBatchingMethods, NELEM(sBatchingMethods)); in register_android_server_location_GnssLocationProvider()
1142 sGeofenceMethods, NELEM(sGeofenceMethods)); in register_android_server_location_GnssLocationProvider()
1146 sMeasurementMethods, NELEM(sMeasurementMethods)); in register_android_server_location_GnssLocationProvider()
1151 NELEM(sMeasurementCorrectionsMethods)); in register_android_server_location_GnssLocationProvider()
1155 sNavigationMessageMethods, NELEM(sNavigationMessageMethods)); in register_android_server_location_GnssLocationProvider()
1161 sNetworkConnectivityMethods, NELEM(sNetworkConnectivityMethods)); in register_android_server_location_GnssLocationProvider()
1165 sConfigurationMethods, NELEM(sConfigurationMethods)); in register_android_server_location_GnssLocationProvider()
1169 sVisibilityControlMethods, NELEM(sVisibilityControlMethods)); in register_android_server_location_GnssLocationProvider()
1173 sPowerIndicationMethods, NELEM(sPowerIndicationMethods)); in register_android_server_location_GnssLocationProvider()
[all …]
Dcom_android_server_devicepolicy_CryptoTestHelper.cpp39 env, "com/android/server/devicepolicy/CryptoTestHelper", methods, NELEM(methods)); in register_android_server_devicepolicy_CryptoTestHelper()
Dcom_android_server_app_GameManagerService.cpp41 NELEM(gMethods)); in register_android_server_app_GameManagerService()
/frameworks/native/opengl/libs/
Dhooks.h39 #undef NELEM
40 #define NELEM(x) (sizeof(x)/sizeof(*(x))) macro
/frameworks/base/apct-tests/perftests/core/jni/
DSystemPerfTest.cpp19 #define NELEM(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
77 sMethods, NELEM(sMethods)) == -1) { in JNI_OnLoad()
/frameworks/base/core/jni/
Dcom_android_internal_os_KernelCpuUidBpfMapReader.cpp168 {"KernelCpuUidFreqTimeBpfMapReader", gFreqTimeMethods, NELEM(gFreqTimeMethods)},
169 {"KernelCpuUidActiveTimeBpfMapReader", gActiveTimeMethods, NELEM(gActiveTimeMethods)},
170 {"KernelCpuUidClusterTimeBpfMapReader", gClusterTimeMethods, NELEM(gClusterTimeMethods)},
Dandroid_os_HidlSupport.cpp35 …return RegisterMethodsOrDie(env, kHidlSupportPathName, gHidlSupportMethods, NELEM(gHidlSupportMeth… in register_android_os_HidlSupport()
Dandroid_app_ActivityThread.cpp46 gActivityThreadMethods, NELEM(gActivityThreadMethods)); in register_android_app_ActivityThread()
Dandroid_hardware_display_DisplayManagerGlobal.cpp54 return RegisterMethodsOrDie(env, kClassPathName, gMethods, NELEM(gMethods)); in register_android_hardware_display_DisplayManagerGlobal()
Dandroid_app_Activity.cpp48 return RegisterMethodsOrDie(env, kActivityPathName, g_methods, NELEM(g_methods)); in register_android_app_Activity()
Dcom_android_internal_util_VirtualRefBasePtr.cpp45 return RegisterMethodsOrDie(env, kClassPathName, gMethods, NELEM(gMethods)); in register_com_android_internal_util_VirtualRefBasePtr()
Dcom_android_internal_os_ZygoteInit.cpp79 gMethods, NELEM(gMethods)); in register_com_android_internal_os_ZygoteInit()
Dcom_android_internal_os_ClassLoaderFactory.cpp53 return RegisterMethodsOrDie(env, kClassLoaderFactoryPathName, g_methods, NELEM(g_methods)); in register_com_android_internal_os_ClassLoaderFactory()
/frameworks/base/libs/hwui/jni/fonts/
DFontFamily.cpp134 gFontFamilyBuilderMethods, NELEM(gFontFamilyBuilderMethods)) + in register_android_graphics_fonts_FontFamily()
136 NELEM(gFontFamilyMethods)); in register_android_graphics_fonts_FontFamily()

12345678910>>...12