Lines Matching defs:x
29 #define xglue(x, y) x ## y
30 #define glue(x, y) xglue(x, y)
39 #define likely(x) __builtin_expect(!!(x), 1)
40 #define unlikely(x) __builtin_expect(!!(x), 0)
67 #define QEMU_BUILD_BUG_ON_STRUCT(x) \
69 int:(x) ? -1 : 1; \
72 #define QEMU_BUILD_BUG_MSG(x, msg) _Static_assert(!(x), msg)
74 #define QEMU_BUILD_BUG_ON(x) QEMU_BUILD_BUG_MSG(x, "not expecting: " #x)
76 #define QEMU_BUILD_BUG_ON_ZERO(x) (sizeof(QEMU_BUILD_BUG_ON_STRUCT(x)) - \
77 sizeof(QEMU_BUILD_BUG_ON_STRUCT(x)))
88 #define __has_warning(x) 0 /* compatibility with non-clang compilers */
92 #define __has_feature(x) 0 /* compatibility with non-clang compilers */
96 #define __has_builtin(x) 0 /* compatibility with non-clang compilers */
104 #define __has_attribute(x) 0 /* compatibility with older GCC */
199 #define QEMU_ANNOTATE(x) __attribute__((annotate(x)))
201 #define QEMU_ANNOTATE(x)
216 # define TSA(x) __attribute__((x))
218 # define TSA(x) /* No TSA, make TSA attributes no-ops. */
226 #define TSA_CAPABILITY(x) TSA(capability(x))
234 #define TSA_GUARDED_BY(x) TSA(guarded_by(x))
242 #define TSA_PT_GUARDED_BY(x) TSA(pt_guarded_by(x))
312 #define IS_ENABLED(x) IS_EMPTY(x)