/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 | 22 #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
|
/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; 429 size_t buffSize = ARRAY_SIZE(buffer); 462 size_t buffSize = ARRAY_SIZE(buffe [all...] |
/system/netd/client/ |
H A D | FwmarkClient.cpp | 29 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro 86 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/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 220 return android_fork_execvp_ext(ARRAY_SIZE(umount_argv), umount_argv, 234 return android_fork_execvp_ext(ARRAY_SIZE(mountall_argv), mountall_argv,
|
/system/media/audio_utils/tests/ |
H A D | primitives_tests.cpp | 30 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) macro 125 for (size_t i = 0; i < ARRAY_SIZE(testArray); ++i) { 128 for (size_t i = 0; i < ARRAY_SIZE(testArray); ++i) { 131 for (size_t i = 0; i < ARRAY_SIZE(testArray); ++i) {
|
/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 | 26 #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0])) macro 544 for (uint i = 0; i < ARRAY_SIZE(handles); ++i) { 552 for (uint i = 0; i < ARRAY_SIZE(handles)-1; i++) { 553 for (uint j = i+1; j < ARRAY_SIZE(handles); j++) { 559 for (uint i = 0; i < ARRAY_SIZE(handles); ++i) { 564 for (uint i = 0; i < ARRAY_SIZE(handles); ++i) { 571 for (uint i = 0; i < ARRAY_SIZE(handles)-1; i++) { 572 for (uint j = i+1; j < ARRAY_SIZE(handles); j++) { 578 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 | 36 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) macro 351 if (TEMP_FAILURE_RETRY(poll(poll_fds, ARRAY_SIZE(poll_fds), -1)) < 0) {
|
/system/core/fs_mgr/ |
H A D | fs_mgr.cpp | 73 #define ARRAY_SIZE(a) (sizeof(a) / sizeof(*(a))) macro 203 ARRAY_SIZE(e2fsck_forced_argv), const_cast<char**>(e2fsck_forced_argv), &status, 207 ARRAY_SIZE(e2fsck_argv), const_cast<char**>(e2fsck_argv), &status, true, 228 ret = android_fork_execvp_ext(ARRAY_SIZE(f2fs_fsck_argv), 325 if (!run_tune2fs(argv, ARRAY_SIZE(argv))) { 365 if (!run_tune2fs(argv, ARRAY_SIZE(argv))) { 391 if (!run_tune2fs(argv, ARRAY_SIZE(argv))) { 1228 err = android_fork_execvp_ext(ARRAY_SIZE(mkswap_argv),
|
/system/core/lmkd/ |
H A D | lmkd.c | 55 #define ARRAY_SIZE(x) (sizeof(x) / sizeof(*(x))) macro 328 if (ntargets > (int)ARRAY_SIZE(lowmem_adj)) 406 if (nargs & 0x1 || targets > (int)ARRAY_SIZE(lowmem_adj))
|
/system/core/storaged/include/ |
H A D | storaged.h | 49 #define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0])) macro
|