Searched refs:_Generic (Results 1 - 14 of 14) sorted by relevance
/third_party/ltp/tools/sparse/sparse-src/validation/ |
H A D | generic-bad0.c | 5 _Generic(n, default: 1, default: 2); in foo() 6 _Generic(n, int[n]:0, default:1); in foo() 7 _Generic(n, struct s:0, default:1); in foo() 8 _Generic(n, void:0, default:1); in foo() 9 _Generic(n, void (void):0, default:1); in foo() 10 _Generic(&n, int:5, signed int:7, default:23); in foo() 11 _Generic(n, void *:5); in foo()
|
H A D | generic-dr481.c | 1 static char const* a = _Generic("bla", char*: "blu"); 2 static char const* b = _Generic("bla", char[4]: "blu"); 3 static char const* c = _Generic((int const){ 0 }, int: "blu"); 4 static char const* d = _Generic((int const){ 0 }, int const: "blu"); 5 static char const* e = _Generic(+(int const){ 0 }, int: "blu"); 6 static char const* f = _Generic(+(int const){ 0 }, int const: "blu");
|
H A D | generic-schar.c | 1 #define typename(x) _Generic((x) 0, \
|
H A D | inline-generic.c | 4 inline unsigned f(void) { return e(_Generic(b, int: c())); } in f()
|
H A D | generic-functions.c | 5 #define fung(X) _Generic(X, \
|
H A D | reserved.c | 50 static int (_Generic); variable 133 reserved.c:50:12: error: Trying to use reserved word '_Generic' as identifier
|
H A D | generic-typename.c | 1 #define typename(x) _Generic((x) 0, \
|
/third_party/tzdata/ |
H A D | private.h | 81 /* _Generic is buggy in pre-4.9 GCC. */ 839 either the compiler lacks support for _Generic or time_t is not one 843 _Generic((time_t) 0, \ 849 ? _Generic((time_t) 0, \ 855 = _Generic((time_t) 0,
|
H A D | zdump.c | 1189 /* C11-style _Generic is more likely to return the correct in tformat() 1192 _Generic(+ (time_t) 0, in tformat() 1199 fmt = _Generic((time_t) 0, in tformat()
|
/third_party/ltp/tools/sparse/sparse-src/ |
H A D | ident-list.h | 41 IDENT_RESERVED(_Generic); variable
|
/third_party/FreeBSD/sys/sys/ |
H A D | cdefs.h | 303 * Emulation of C11 _Generic(). Unlike the previously defined C11 306 * __generic(). Unlike _Generic(), this macro can only distinguish 311 * order to match _Generic(). 317 _Generic(expr, t: yes, default: no)
|
/third_party/json/include/nlohmann/thirdparty/hedley/ |
H A D | hedley.hpp | 1797 #define JSON_HEDLEY_IS_CONSTEXPR_(expr) _Generic((1 ? (void*) ((__INTPTR_TYPE__) ((expr) * 0)) : (int*) 0), int*: 1, void*: 0) 1800 #define JSON_HEDLEY_IS_CONSTEXPR_(expr) _Generic((1 ? (void*) ((intptr_t) * 0) : (int*) 0), int*: 1, void*: 0)
|
/third_party/json/tests/abi/include/nlohmann/ |
H A D | json_v3_10_5.hpp | 1976 #define JSON_HEDLEY_IS_CONSTEXPR_(expr) _Generic((1 ? (void*) ((__INTPTR_TYPE__) ((expr) * 0)) : (int*) 0), int*: 1, void*: 0) 1979 #define JSON_HEDLEY_IS_CONSTEXPR_(expr) _Generic((1 ? (void*) ((intptr_t) * 0) : (int*) 0), int*: 1, void*: 0)
|
/third_party/json/single_include/nlohmann/ |
H A D | json.hpp | 2113 #define JSON_HEDLEY_IS_CONSTEXPR_(expr) _Generic((1 ? (void*) ((__INTPTR_TYPE__) ((expr) * 0)) : (int*) 0), int*: 1, void*: 0) 2116 #define JSON_HEDLEY_IS_CONSTEXPR_(expr) _Generic((1 ? (void*) ((intptr_t) * 0) : (int*) 0), int*: 1, void*: 0)
|
Completed in 60 milliseconds