Searched refs:ARRAY_SIZE (Results 1 - 7 of 7) sorted by relevance

/system/core/init/
H A Dutil.h23 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
H A Dueventd.c105 for (i = 0; i < ARRAY_SIZE(android_ids); i++)
H A Dinit.c669 for (i = 0; i < ARRAY_SIZE(prop_map); i++) {
/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/charger/
H A Dcharger.c54 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
173 .num_frames = ARRAY_SIZE(batt_anim_frames),
/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);

Completed in 93 milliseconds