Searched defs:ARRAY_SIZE (Results 1 - 5 of 5) sorted by relevance

/system/core/init/
H A Dutil.h23 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
/system/core/toolbox/
H A Dmount.c16 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) macro
119 for (i = 0, res = 1; i < ARRAY_SIZE(options); i++) {
/system/core/fastboot/
H A Dengine.c50 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
166 for (i = 0; i < ARRAY_SIZE(generators); i++) {
341 for (i = 0; i < ARRAY_SIZE(generators); i++) {
/system/core/adb/
H A Dadb.c33 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
295 static const int num_cnxn_props = ARRAY_SIZE(cnxn_props);
/system/core/charger/
H A Dcharger.c58 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
177 .num_frames = ARRAY_SIZE(batt_anim_frames),

Completed in 1781 milliseconds