Home
last modified time | relevance | path

Searched refs:_Generic (Results 1 - 14 of 14) sorted by relevance

/third_party/ltp/tools/sparse/sparse-src/validation/
H A Dgeneric-bad0.c5 _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 Dgeneric-dr481.c1 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 Dgeneric-schar.c1 #define typename(x) _Generic((x) 0, \
H A Dinline-generic.c4 inline unsigned f(void) { return e(_Generic(b, int: c())); } in f()
H A Dgeneric-functions.c5 #define fung(X) _Generic(X, \
H A Dreserved.c50 static int (_Generic); variable
133 reserved.c:50:12: error: Trying to use reserved word '_Generic' as identifier
H A Dgeneric-typename.c1 #define typename(x) _Generic((x) 0, \
/third_party/tzdata/
H A Dprivate.h81 /* _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 Dzdump.c1189 /* 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 Dident-list.h41 IDENT_RESERVED(_Generic); variable
/third_party/FreeBSD/sys/sys/
H A Dcdefs.h303 * 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 Dhedley.hpp1797 #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 Djson_v3_10_5.hpp1976 #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 Djson.hpp2113 #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