Lines Matching +full:- +full:- +full:short
4 * See the COPYING file in the top-level directory.
45 const typeof(((type *) 0)->member) *__mptr = (ptr); \
46 (type *) ((char *) __mptr - offsetof(type, member));})
49 #define sizeof_field(type, field) sizeof(((type *)0)->field)
61 -offsetof(type, field)]; \
64 #define typeof_field(type, field) typeof(((type *)0)->field)
65 #define type_check(t1,t2) ((t1*)0 - (t2*)0)
69 int:(x) ? -1 : 1; \
76 #define QEMU_BUILD_BUG_ON_ZERO(x) (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 */
142 * with functions that expect NUL-terminated strings, and to avoid warnings
155 * so disable it for a non-optimizing build.
165 * switch-case statements, but sometimes the compiler has problems
176 * If CFI is enabled, use an attribute to disable cfi-icall on the following
179 #define QEMU_DISABLE_CFI __attribute__((no_sanitize("cfi-icall")))
190 * See https://gitlab.com/qemu-project/qemu/-/issues/1631
191 * and https://gitlab.com/qemu-project/qemu/-/issues/1659 for details.
211 * Disable -ftrivial-auto-var-init on a local variable.
217 * attribute, to pre-emptively eliminate any potential overhead from the
221 * to flag variables, it is important that the code is double-checked to
233 * TSA is available since clang 3.6-ish.
238 # define TSA(x) /* No TSA, make TSA attributes no-ops. */
268 * More than one mutex may be specified, comma-separated.
280 * More than one mutex may be specified, comma-separated.
291 * More than one mutex may be specified, comma-separated.
302 * More than one mutex may be specified, comma-separated.
321 * More than one mutex may be specified, comma-separated.
344 * the variable that receives the old value of an atomically-accessed
345 * variable must be non-qualified, because atomic builtins return values
346 * through a pointer-type argument as in __atomic_load(&var, &old, MODEL).
350 * converted to a non-qualified type just by applying a binary operator.
373 __builtin_types_compatible_p(typeof(expr), signed short) || \
374 __builtin_types_compatible_p(typeof(expr), const signed short) || \
375 __builtin_types_compatible_p(typeof(expr), volatile signed short) || \
376 __builtin_types_compatible_p(typeof(expr), const volatile signed short), \
377 (signed short)1, \
379 __builtin_types_compatible_p(typeof(expr), unsigned short) || \
380 __builtin_types_compatible_p(typeof(expr), const unsigned short) || \
381 __builtin_types_compatible_p(typeof(expr), volatile unsigned short) || \
382 __builtin_types_compatible_p(typeof(expr), const volatile unsigned short), \
383 (unsigned short)1, \