| /src/tests/usr.bin/xlint/lint1/ |
| msg_345.c | 13 return _Generic(x, default: 3) + x;
|
| c11_generic_expression.c | 28 return _Generic(var, 44 return _Generic(var, 53 * The type of a _Generic expression is the one from the selected association. 60 return _Generic(c, 68 * which looked as if _Generic would accept multiple arguments before the 76 return _Generic(first, second, 91 return _Generic(first = second, 99 return _Generic(0, int: assignment_expression)(0, 0); 103 * The types don't match, therefore the _Generic selection evaluates to NULL, 107 const char *x = _Generic( [all...] |
| gcc_bit_field_types.c | 64 * matches the non-bit-field type 'unsigned' in the _Generic 67 * The _Generic expression prevents the integer promotions from 70 * GCC 11 says: error: '_Generic' selector of type 'unsigned char:3' 79 * in _Generic association list 85 reveal_type(_Generic(s.bits,
|
| /src/tests/usr.bin/indent/ |
| lsym_case_label.c | 7 * Since C11, the keyword 'default' is used in _Generic selections as well. 78 * Since C11, the _Generic selection expression allows a switch on the data 82 const char *type_name = _Generic( 91 const char *type_name = _Generic(
|
| /src/external/gpl3/gcc/dist/libgcc/config/i386/ |
| sfp-machine.h | 94 CMPtype aliasname (__typeof (_Generic (name, ALIAS_SELECTOR)) a, \ 95 __typeof (_Generic (name, ALIAS_SELECTOR)) b) \
|
| /src/external/gpl3/gcc.old/dist/libgcc/config/i386/ |
| sfp-machine.h | 93 CMPtype aliasname (__typeof (_Generic (name, ALIAS_SELECTOR)) a, \ 94 __typeof (_Generic (name, ALIAS_SELECTOR)) b) \
|
| /src/external/gpl3/gcc.old/dist/libgfortran/ieee/ |
| issignaling_fallback.h | 239 _Generic ((X), \ 246 _Generic ((X), \
|
| /src/external/gpl3/gcc/dist/gcc/config/arm/ |
| arm_mve.h | 8070 #define __ARM_mve_typeid(x) _Generic(x, \ 8127 default: _Generic(x, \ 8157 #define __ARM_mve_typeid(x) _Generic(x, \ 8202 default: _Generic(x, \ 8228 _Generic(param, type: param, default: *(type *)__ARM_undef) 8230 _Generic(param, type: param, const type: param, default: _Generic (param, int8_t: param, int16_t: param, int32_t: param, int64_t: param, uint8_t: param, uint16_t: param, uint32_t: param, uint64_t: param, default: *(type *)__ARM_undef)) 8233 _Generic(param, type: param, const type: param, default: _Generic (param, signed char*: param, default: *(type *)__ARM_undef)) 8235 _Generic(param, type: param, const type: param, default: _Generic (param, unsigned char*: param, default: * (…) [all...] |
| /src/external/gpl3/gcc.old/dist/gcc/config/arm/ |
| arm_mve.h | [all...] |
| /src/external/lgpl2/userspace-rcu/dist/include/urcu/ |
| compiler.h | 163 * Use C11 _Generic to express unqualified type from expression. This removes 168 _Generic((x), \
|
| /src/external/bsd/pcc/dist/pcc/cc/ccom/ |
| scan.l | 242 { "_Generic", C_GENERIC, DEFKW },
|
| /src/external/gpl3/gcc.old/dist/gcc/d/dmd/ |
| tokens.d | 265 _Generic, 426 _Generic, 574 TOK._Generic, 612 _Alignas, _Alignof, _Atomic, _Bool, _Complex, _Generic, _Imaginary, _Noreturn, 872 TOK._Generic : "_Generic",
|
| cparse.d | 258 case TOK._Generic: 767 case TOK._Generic: 1485 * _Generic ( assignment-expression, generic-assoc-list ) 4424 case TOK._Generic:
|
| expression.d | 1739 inout(GenericExp) isGenericExp() { return op == EXP._Generic ? cast(typeof(return))this : null; } 7021 super(loc, EXP._Generic, __traits(classInstanceSize, GenericExp));
|
| hdrgen.d | 4053 EXP._Generic : "_Generic",
|
| /src/lib/libc/time/ |
| private.h | 128 /* _Generic is buggy in pre-4.9 GCC. */ 998 either the compiler lacks support for _Generic or time_t is not one 1002 _Generic((time_t) 0, \ 1008 ? _Generic((time_t) 0, \ 1014 = _Generic((time_t) 0,
|
| zdump.c | 1172 /* C11-style _Generic is more likely to return the correct 1175 _Generic(+ (time_t) 0, 1182 fmt = _Generic((time_t) 0,
|
| zic.c | 159 ? _Generic((gid_t) 0, \ 173 ? _Generic((uid_t) 0, \ 789 ? _Generic((mode_t) 0, \
|
| /src/usr.bin/indent/ |
| args.c | 56 _Generic((&opt.name), type *: offsetof(struct options, name))
|
| /src/external/apache2/llvm/dist/clang/lib/Headers/ |
| __clang_hip_math.h | 1230 #define isfinite(__x) _Generic((__x), float : __finitef, double : __finite)(__x) 1231 #define isinf(__x) _Generic((__x), float : __isinff, double : __isinf)(__x) 1232 #define isnan(__x) _Generic((__x), float : __isnanf, double : __isnan)(__x) 1234 _Generic((__x), float : __signbitf, double : __signbit)(__x)
|
| altivec.h | 3163 _Generic((__a), vector int \ 3176 _Generic((__a), vector int \ 3194 _Generic((__a), vector int \ 3204 _Generic((__a), vector signed int \ 3236 _Generic((__a), vector float \ 3248 _Generic((__a), vector float \ 3272 _Generic((__a), vector float \ 3284 _Generic((__a), vector float \ 3304 _Generic((__a), vector float \ 3324 _Generic((__a), vector float [all...] |
| /src/external/gpl3/gcc/dist/libgcc/config/gcn/ |
| amdgcn_veclib.h | 219 (_Generic ((x), int: VECTOR_INIT_AUX ((x), v64si), \
|
| /src/external/bsd/ntp/dist/sntp/libopts/ |
| intprops.h | 361 warnings for _Generic. This matters only for older compilers that 377 (_Generic \
|
| /src/external/gpl3/gdb/dist/gnulib/import/ |
| intprops.h | 425 warnings for _Generic. This matters only for compilers that 438 (_Generic \
|
| /src/external/gpl3/gdb.old/dist/gnulib/import/ |
| intprops.h | 425 warnings for _Generic. This matters only for compilers that 438 (_Generic \
|