Home
last modified time | relevance | path

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

/system/core/init/
Dutil.h23 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
Dueventd.c105 for (i = 0; i < ARRAY_SIZE(android_ids); i++) in get_android_id()
Dinit.c669 for (i = 0; i < ARRAY_SIZE(prop_map); i++) { in export_kernel_boot_props()
/system/core/toolbox/
Dmount.c16 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(x[0])) macro
119 for (i = 0, res = 1; i < ARRAY_SIZE(options); i++) { in parse_mount_options()
/system/core/fastboot/
Dengine.c50 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
166 for (i = 0; i < ARRAY_SIZE(generators); i++) { in fb_format_supported()
341 for (i = 0; i < ARRAY_SIZE(generators); i++) { in fb_format()
/system/core/charger/
Dcharger.c58 #define ARRAY_SIZE(x) (sizeof(x)/sizeof(x[0])) macro
177 .num_frames = ARRAY_SIZE(batt_anim_frames),
/system/core/adb/
Dadb.c33 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro
295 static const int num_cnxn_props = ARRAY_SIZE(cnxn_props); in fill_connect_data()