|
#define | __GNUC_PREREQ__(x, y) 0 |
|
#define | __has_feature(_x) 0 |
|
#define | _JOIN(x, y) x ## y |
| Join two values without stringifying. More...
|
|
#define | _VA_NARG(...) VA_ARG_N(__VA_ARGS__) |
|
#define | BLANK_FORMAT " " /* GCC_LINT whines about empty formats */ |
|
#define | CC_ACQUIRE_HANDLE(_tag) |
|
#define | CC_NO_SANITIZE_UNDEFINED(_what) |
|
#define | CC_NO_UBSAN(_sanitize) |
|
#define | CC_RELEASE_HANDLE(_tag) |
|
#define | CC_USE_HANDLE(_tag) |
|
#define | CMP(_a, _b) CMP_PREFER_SMALLER(_a, _b) |
| Same as CMP_PREFER_SMALLER use when you don't really care about ordering, you just want an ordering. More...
|
|
#define | CMP_PREFER_LARGER(_a, _b) (((_a) < (_b)) - ((_a) > (_b))) |
| Evaluates to -1 for a > b, and +1 for a < b. More...
|
|
#define | CMP_PREFER_SMALLER(_a, _b) (((_a) > (_b)) - ((_a) < (_b))) |
| Evaluates to +1 for a > b, and -1 for a < b. More...
|
|
#define | CMP_RETURN(_a, _b, _field) |
| Return if the comparison is not 0 (is unequal) More...
|
|
#define | define likely(_x) _x |
|
#define | DIAG_OFF(_x) |
|
#define | DIAG_ON(_x) |
|
#define | DIAG_POP() |
|
#define | DIAG_PUSH() |
|
#define | DIAG_UNKNOWN_PRAGMAS |
|
#define | endforeach } |
|
#define | F1(_idx, _val) [_idx] = _val |
| Fill macros for array initialisation. More...
|
|
#define | F128(_idx, _val) F64(_idx, _val), F64(_idx + 64, _val) |
|
#define | F16(_idx, _val) F8(_idx, _val), F8(_idx + 8, _val) |
|
#define | F2(_idx, _val) F1(_idx, _val), F1(_idx + 1, _val) |
|
#define | F256(_idx, _val) F128(_idx, _val), F128(_idx + 128, _val) |
|
#define | F32(_idx, _val) F16(_idx, _val), F16(_idx + 16, _val) |
|
#define | F4(_idx, _val) F2(_idx, _val), F2(_idx + 2, _val) |
|
#define | F64(_idx, _val) F32(_idx, _val), F32(_idx + 32, _val) |
|
#define | F8(_idx, _val) F4(_idx, _val), F4(_idx + 4, _val) |
|
#define | FALL_THROUGH ((void)0) |
| clang 10 doesn't recognised the FALL-THROUGH comment anymore More...
|
|
#define | HEXIFY(b1) XHEXIFY(b1) |
|
#define | HEXIFY2(b1, b2) XHEXIFY2(b1, b2) |
|
#define | HEXIFY3(b1, b2, b3) XHEXIFY3(b1, b2, b3) |
|
#define | HEXIFY4(b1, b2, b3, b4) XHEXIFY4(b1, b2, b3, b4) |
|
#define | HIDDEN ) |
|
#define | IGNORE(_expr, _type) |
|
#define | IS_COMPATIBLE(_x, _t) _Generic(_x, _t:1, default: 0) |
| Check if two types are compatible (the C11 way) More...
|
|
#define | IS_CONST(_type, _var) |
| Check if a given variable is the _const or not. More...
|
|
#define | IS_FIELD_COMPATIBLE(_s, _f, _t) _Generic(((_s *)0)->_f, _t:1, default: 0) |
| Check if a field in a struct is compatible (the C11 way) More...
|
|
#define | IS_TYPE(_type, _var) |
| Check if a given variable is the const or unconst version of a type. More...
|
|
#define | JOIN(x, y) _JOIN(x,y) |
|
#define | JOINSTR(x, y) XSTRINGIFY(x ## y) |
|
#define | L(_str) { _str, sizeof(_str) - 1 } |
| Helper for initialising arrays of string literals. More...
|
|
#define | MEMCMP_RETURN(_a, _b, _field, _len_field) |
| Return if the contents of the specified field is not identical between the specified structures. More...
|
|
#define | NDEBUG_LOCATION_ARGS char const *file, int line, |
| Pass caller information to the function. More...
|
|
#define | NDEBUG_LOCATION_EXP __FILE__, __LINE__, |
|
#define | NDEBUG_LOCATION_NONNULL(_num) ((_num) + 2) |
|
#define | NDEBUG_LOCATION_VALS file, line, |
|
#define | NDEBUG_UNUSED |
|
#define | NEVER_RETURNS _Noreturn |
| Should be placed before the function return type. More...
|
|
#define | NUM_ELEMENTS(_t) (sizeof((_t)) / sizeof((_t)[0])) |
|
#define | NUM_PTR_ELEMENTS(_t) (sizeof((_t)) / sizeof(void *)) |
|
#define | PAD(_x, _y) (_y - ((_x) % _y)) |
| Pad _x to the next multiple of _y. More...
|
|
#define | PRAGMA(_x) _Pragma(#_x) |
|
#define | RCSID(id) |
|
#define | RCSIDH(h, id) |
|
#define | SIZEOF_MEMBER(_t, _m) sizeof(((_t *)0)->_m) |
|
#define | static_assert _Static_assert |
| For systems with an old version libc, define static_assert. More...
|
|
#define | STRINGIFY(x) XSTRINGIFY(x) |
|
#define | typeof_field(_type, _field) __typeof__(((_type *)NULL)->_field) |
| Typeof field. More...
|
|
#define | UNCONST(_type, _ptr) ((_type)((uintptr_t)(_ptr))) |
| Remove const qualification from a pointer. More...
|
|
#define | unlikely(_x) _x |
|
#define | unpredictable(_x) _x |
|
#define | UNUSED |
|
#define | UNUSED_VAR(_x) ((void)_x) |
|
#define | USES_APPLE_DEPRECATED_API |
|
#define | USES_APPLE_RST |
|
#define | VA_ARG_N(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, N, ...) N |
| Variadic macro framework. More...
|
|
#define | VA_NARG(...) _VA_NARG(__VA_ARGS__, VA_RSEQ_N()) |
| Return the number of variadic arguments up to 64. More...
|
|
#define | VA_RSEQ_N() |
|
#define | XHEXIFY(b1) (0x ## b1) |
|
#define | XHEXIFY2(b1, b2) (0x ## b1 ## b2) |
|
#define | XHEXIFY3(b1, b2, b3) (0x ## b1 ## b2 ## b3) |
|
#define | XHEXIFY4(b1, b2, b3, b4) (0x ## b1 ## b2 ## b3 ## b4) |
| HEX concatenation macros. More...
|
|
#define | XSTRINGIFY(x) #x |
| The ubiquitous stringify macros. More...
|
|
Source control functions.
- Id
- 52c460c5cddf37d57cbd8ce89e0f4bffb3239e6d
- Copyright
- 2013 The FreeRADIUS server project
Definition in file build.h.