/system/netd/netutils_wrappers/ |
H A D | NetUtilsWrapper.h | 17 #define ARRAY_SIZE(x) (sizeof((x)) / (sizeof(((x)[0])))) macro
|
/system/vold/ |
H A D | VoldUtil.h | 25 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro
|
/system/extras/tests/pagingtest/ |
H A D | pagingtest.h | 8 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro
|
/system/chre/util/include/chre/util/ |
H A D | macros.h | 23 #define ARRAY_SIZE(array) (sizeof(array) / sizeof((array)[0])) macro 24 #define ARRAY_END(array) (array + ARRAY_SIZE(array))
|
/system/bt/osi/include/ |
H A D | osi.h | 25 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
|
/system/media/alsa_utils/ |
H A D | alsa_format.c | 24 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 88 int num_slots = ARRAY_SIZE(mask->bits); 91 int table_size = ARRAY_SIZE(pcm_format_value_map);
|
H A D | alsa_logging.c | 26 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 33 const size_t num_slots = ARRAY_SIZE(mask->bits);
|
H A D | alsa_device_proxy.c | 34 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 106 if (config->format >= 0 && (size_t)config->format < ARRAY_SIZE(format_byte_size_map)) {
|
H A D | alsa_device_profile.c | 33 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 241 for (index = 0; index < ARRAY_SIZE(std_sample_rates) && 242 num_entries < ARRAY_SIZE(profile->sample_rates) - 1; 255 const int num_slots = ARRAY_SIZE(mask->bits); 258 const int table_size = ARRAY_SIZE(pcm_format_value_map); 274 if (num_written == ARRAY_SIZE(profile->formats) - 1) { 299 for (index = 0; index < ARRAY_SIZE(std_channel_counts) && 300 num_counts < ARRAY_SIZE(profile->channel_counts) - 1; 430 size_t buffSize = ARRAY_SIZE(buffer); 463 size_t buffSize = ARRAY_SIZE(buffe [all...] |
/system/netd/client/ |
H A D | FwmarkClient.cpp | 28 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro 97 message.msg_iovlen = ARRAY_SIZE(iov);
|
/system/netd/server/ |
H A D | NetdConstants.h | 53 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro
|
/system/core/storaged/include/ |
H A D | storaged.h | 37 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
|
/system/extras/puncture_fs/ |
H A D | puncture_fs.c | 31 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 193 if (android_fork_execvp_ext(ARRAY_SIZE(rm_bin_argv), rm_bin_argv,
|
/system/extras/tests/fstest/ |
H A D | recovery_test.cpp | 39 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 219 return android_fork_execvp_ext(ARRAY_SIZE(umount_argv), umount_argv, 232 return android_fork_execvp_ext(ARRAY_SIZE(mountall_argv), mountall_argv,
|
/system/media/camera/tests/ |
H A D | camera_metadata_tests.cpp | 35 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 269 colorCorrectionGains, ARRAY_SIZE(colorCorrectionGains)); 273 ARRAY_SIZE(colorCorrectionGains)); 288 colorTransform, ARRAY_SIZE(colorTransform)); 292 ARRAY_SIZE(colorTransform)); 338 EXPECT_EQ(ARRAY_SIZE(colorCorrectionGains), entry.count); 350 EXPECT_EQ(ARRAY_SIZE(colorTransform), entry.count); 979 colorTransform, ARRAY_SIZE(colorTransform));
|
/system/core/trusty/storage/tests/ |
H A D | main.cpp | 25 #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) macro 543 for (uint i = 0; i < ARRAY_SIZE(handles); ++i) { 551 for (uint i = 0; i < ARRAY_SIZE(handles)-1; i++) { 552 for (uint j = i+1; j < ARRAY_SIZE(handles); j++) { 558 for (uint i = 0; i < ARRAY_SIZE(handles); ++i) { 563 for (uint i = 0; i < ARRAY_SIZE(handles); ++i) { 570 for (uint i = 0; i < ARRAY_SIZE(handles)-1; i++) { 571 for (uint j = i+1; j < ARRAY_SIZE(handles); j++) { 577 for (uint i = 0; i < ARRAY_SIZE(handles); ++i) {
|
/system/extras/ioshark/ |
H A D | compile_ioshark.c | 40 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0])) macro 480 ARRAY_SIZE(open_flags_map)); 486 ARRAY_SIZE(open_flags_map)); 499 ARRAY_SIZE(lseek_action_map)); 505 ARRAY_SIZE(lseek_action_map)); 513 ARRAY_SIZE(fileop_map));
|
/system/core/healthd/ |
H A D | healthd_mode_charger.cpp | 67 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro 588 battery_animation.num_frames = ARRAY_SIZE(default_animation_frames);
|
/system/core/logwrapper/ |
H A D | logwrap.c | 35 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) macro 350 if (TEMP_FAILURE_RETRY(poll(poll_fds, ARRAY_SIZE(poll_fds), -1)) < 0) {
|
/system/media/audio_utils/tests/ |
H A D | primitives_tests.cpp | 30 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 134 for (size_t i = 0; i < ARRAY_SIZE(testArray); ++i) { 137 for (size_t i = 0; i < ARRAY_SIZE(testArray); ++i) { 140 for (size_t i = 0; i < ARRAY_SIZE(testArray); ++i) {
|
/system/core/fs_mgr/ |
H A D | fs_mgr.cpp | 77 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro 207 ARRAY_SIZE(e2fsck_forced_argv), const_cast<char**>(e2fsck_forced_argv), &status, 211 ARRAY_SIZE(e2fsck_argv), const_cast<char**>(e2fsck_argv), &status, true, 232 ret = android_fork_execvp_ext(ARRAY_SIZE(f2fs_fsck_argv), 335 if (!run_tune2fs(argv, ARRAY_SIZE(argv))) { 376 if (!run_tune2fs(argv, ARRAY_SIZE(argv))) { 402 if (!run_tune2fs(argv, ARRAY_SIZE(argv))) { 1242 err = android_fork_execvp_ext(ARRAY_SIZE(mkswap_argv),
|
/system/core/lmkd/ |
H A D | lmkd.c | 76 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) macro 531 if (ntargets > (int)ARRAY_SIZE(lowmem_adj)) 621 if (nargs & 0x1 || targets > (int)ARRAY_SIZE(lowmem_adj))
|