Home
last modified time | relevance | path

Searched refs:MUST_BE_ARRAY (Results 1 – 6 of 6) sorted by relevance

/external/strace/
Dmacros.h36 #define ARRAY_SIZE(a_) (sizeof(a_) / sizeof((a_)[0]) + MUST_BE_ARRAY(a_))
71 is_filled((const char *) (arr_), 0, sizeof(arr_) + MUST_BE_ARRAY(arr_))
Dxstring.h64 xsnprintf((str_), sizeof(str_) + MUST_BE_ARRAY(str_), (fmt_), \
100 (xsnprintf((pos_), sizeof(str_) + MUST_BE_ARRAY(str_) - \
Dgcc_compat.h70 # define MUST_BE_ARRAY(a) FAIL_BUILD_ON_ZERO(!SAME_TYPE((a), &(a)[0])) macro
73 # define MUST_BE_ARRAY(a) 0 macro
Dprint_fields.h156 MUST_BE_ARRAY((where_).field_)); \
171 MUST_BE_ARRAY((where_).field_), \
Ds390.c426 sizeof(ebcdic_) + MUST_BE_ARRAY(ebcdic_))
429 char ascii_str[sizeof(ebcdic_) + MUST_BE_ARRAY(ebcdic_)]; \
455 is_filled(arr_, '\x40', sizeof(arr_) + MUST_BE_ARRAY(arr_))
DChangeLog5788 * print_fields.h (PRINT_FIELD_CSTRING): Add MUST_BE_ARRAY to the size
24016 # define MUST_BE_ARRAY(a) BUILD_BUG_ON_ZERO(!SAME_TYPE((a), &(a)[0]))
24018 defs.h:76:53: note: in expansion of macro 'MUST_BE_ARRAY'
24019 #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]) + MUST_BE_ARRAY(a))
24027 (MUST_BE_ARRAY): Update usage.
24266 (SAME_TYPE, MUST_BE_ARRAY): Likewise.
24267 * defs.h (ARRAY_SIZE): Add MUST_BE_ARRAY for build-time type check.