Home
last modified time | relevance | path

Searched refs:NELEMS (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/cmds/flatland/
DFlatland.h26 #define NELEMS(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
DMain.cpp396 result = mGLHelper->setUp(shaders, NELEMS(shaders)); in setUp()
696 for (size_t i = 0; i < NELEMS(benchmarks); i++) { in runTests()
710 for (size_t i = 0; i < NELEMS(benchmarks); i++) { in maxBenchmarkNameLen()
DRenderers.cpp34 g_colorIndex = (g_colorIndex + 1) % NELEMS(colors); in genColor()
/frameworks/av/media/img_utils/src/
DDngUtils.cpp334 err = mEndianOut.write(settings1, 0, NELEMS(settings1)); in addGainMap()
342 err = mEndianOut.write(settings2, 0, NELEMS(settings2)); in addGainMap()
490 err = mEndianOut.write(version, 0, NELEMS(version)); in addOpcodePreamble()
/frameworks/av/media/img_utils/include/img_utils/
DDngUtils.h33 #define NELEMS(x) ((int) (sizeof(x) / sizeof((x)[0]))) macro
/frameworks/native/cmds/lshal/
Dtest.cpp34 #define NELEMS(array) static_cast<int>(sizeof(array) / sizeof(array[0])) macro