Searched refs:NELEMS (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/cmds/lshal/ |
D | test.cpp | 32 #define NELEMS(array) static_cast<int>(sizeof(array) / sizeof(array[0])) macro 138 .main({NELEMS(args), const_cast<char **>(args)})); in TEST_F() 148 .main({NELEMS(args), const_cast<char **>(args)})); in TEST_F() 158 .main({NELEMS(args), const_cast<char **>(args)})); in TEST_F()
|
/frameworks/native/cmds/flatland/ |
D | Flatland.h | 26 #define NELEMS(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
|
D | Main.cpp | 400 result = mGLHelper->setUp(shaders, NELEMS(shaders)); in setUp() 701 for (size_t i = 0; i < NELEMS(benchmarks); i++) { in runTests() 715 for (size_t i = 0; i < NELEMS(benchmarks); i++) { in maxBenchmarkNameLen()
|
D | Renderers.cpp | 34 g_colorIndex = (g_colorIndex + 1) % NELEMS(colors); in genColor()
|
/frameworks/av/media/img_utils/src/ |
D | DngUtils.cpp | 265 err = mEndianOut.write(settings1, 0, NELEMS(settings1)); in addGainMap() 273 err = mEndianOut.write(settings2, 0, NELEMS(settings2)); in addGainMap() 436 err = mEndianOut.write(version, 0, NELEMS(version)); in addOpcodePreamble()
|
/frameworks/av/media/img_utils/include/img_utils/ |
D | DngUtils.h | 33 #define NELEMS(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
|