Home
last modified time | relevance | path

Searched refs:_Generic (Results 1 – 18 of 18) sorted by relevance

/third_party/ltp/tools/sparse/sparse-src/validation/
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()
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");
Dinline-generic.c4 inline unsigned f(void) { return e(_Generic(b, int: c())); } in f()
Dgeneric-schar.c1 #define typename(x) _Generic((x) 0, \
Dgeneric-functions.c5 #define fung(X) _Generic(X, \
Dreserved.c50 static int (_Generic); variable
Dgeneric-typename.c1 #define typename(x) _Generic((x) 0, \
/third_party/ltp/tools/sparse/sparse-src/Documentation/release-notes/
Dv0.6.3.rst5 * fix missing inlining of _Generic expression
10 * teach dissect about _Generic
Dv0.6.2.rst10 * add support for _Generic
/third_party/tzdata/
Dprivate.h840 _Generic((time_t) 0, \
846 ? _Generic((time_t) 0, \
852 = _Generic((time_t) 0,
Dzdump.c1192 _Generic(+ (time_t) 0, in tformat()
1199 fmt = _Generic((time_t) 0, in tformat()
DNEWS124 The C code now uses _Generic only if __STDC_VERSION__ says the
/third_party/ltp/tools/sparse/sparse-src/
Dident-list.h41 IDENT_RESERVED(_Generic);
/third_party/FreeBSD/sys/sys/
Dcdefs.h336 _Generic(expr, t: yes, default: no)
/third_party/json/include/nlohmann/thirdparty/hedley/
Dhedley.hpp1797 …#define JSON_HEDLEY_IS_CONSTEXPR_(expr) _Generic((1 ? (void*) ((__INTPTR_TYPE__) ((expr) * 0)) : (…
1800 …#define JSON_HEDLEY_IS_CONSTEXPR_(expr) _Generic((1 ? (void*) ((intptr_t) * 0) : (int*) 0), int*: …
/third_party/protobuf/objectivec/Tests/
Dunittest_objc.proto175 optional bool _Generic = 500; field
/third_party/json/tests/abi/include/nlohmann/
Djson_v3_10_5.hpp1976 …#define JSON_HEDLEY_IS_CONSTEXPR_(expr) _Generic((1 ? (void*) ((__INTPTR_TYPE__) ((expr) * 0)) : (…
1979 …#define JSON_HEDLEY_IS_CONSTEXPR_(expr) _Generic((1 ? (void*) ((intptr_t) * 0) : (int*) 0), int*: …
/third_party/json/single_include/nlohmann/
Djson.hpp2113 …#define JSON_HEDLEY_IS_CONSTEXPR_(expr) _Generic((1 ? (void*) ((__INTPTR_TYPE__) ((expr) * 0)) : (…
2116 …#define JSON_HEDLEY_IS_CONSTEXPR_(expr) _Generic((1 ? (void*) ((intptr_t) * 0) : (int*) 0), int*: …