Home
last modified time | relevance | path

Searched refs:__sentinel__ (Results 1 – 11 of 11) sorted by relevance

/external/clang/test/Sema/
Dblock-sentinel-attribute.c3 void (^e) (int arg, const char * format, ...) __attribute__ ((__sentinel__ (1,1)));
6 …void (^bbad) (int arg, const char * format) __attribute__ ((__sentinel__)) ; // expected-warning {… in main()
7 …bbad = ^void (int arg, const char * format) __attribute__ ((__sentinel__)) {} ; // expected-warnin… in main()
8 …void (^b) (int arg, const char * format, ...) __attribute__ ((__sentinel__)) = // expected-note {… in main()
9 ^ __attribute__ ((__sentinel__)) (int arg, const char * format, ...) {}; in main()
10 …int arg, const char * format, ...) __attribute__ ((__sentinel__ (2))) = ^ __attribute__ ((__sentin… in main()
13 …int arg, const char * format, ...) __attribute__ ((__sentinel__ (5))) = ^ __attribute__ ((__sentin… in main()
Dattr-sentinel.c5 #define ATTR __attribute__ ((__sentinel__))
8 void foo5 (int x, ...) __attribute__ ((__sentinel__(1))); // expected-note {{function has been expl…
9 void foo6 (int x, ...) __attribute__ ((__sentinel__(5))); // expected-note {{function has been expl…
10 void foo7 (int x, ...) __attribute__ ((__sentinel__(0))); // expected-note {{function has been expl…
11 void foo10 (int x, ...) __attribute__ ((__sentinel__(1,1)));
42 void (*e) (int arg, const char * format, ...) __attribute__ ((__sentinel__ (1,1)));
45 …void (*b) (int arg, const char * format, ...) __attribute__ ((__sentinel__)); // expected-note {{… in test2()
46 …void (*z) (int arg, const char * format, ...) __attribute__ ((__sentinel__ (2))); // expected-note… in test2()
49 …void (*y) (int arg, const char * format, ...) __attribute__ ((__sentinel__ (5))); // expected-note… in test2()
Dfunction-redecl.c110 extern __typeof (h0) h1 __attribute__((__sentinel__));
111 extern __typeof (h1) h1 __attribute__((__sentinel__));
Dsentinel-attribute.c19 void f6() __attribute__((__sentinel__)); // expected-warning {{'sentinel' attribute requires named…
/external/clang/test/SemaObjC/
Dmethod-sentinel-attr.m5 #define ATTR __attribute__ ((__sentinel__))
9 - (void) foo3 : (int)x __attribute__ ((__sentinel__)) ; // expected-warning {{'sentinel' attribute … argument
10 - (void) foo5 : (int)x, ... __attribute__ ((__sentinel__(1))); // expected-note {{method has been e… argument
11 - (void) foo6 : (int)x, ... __attribute__ ((__sentinel__(5))); // expected-note {{method has been e… argument
12 - (void) foo7 : (int)x, ... __attribute__ ((__sentinel__(0))); // expected-note {{method has been e… argument
13 - (void) foo8 : (int)x, ... __attribute__ ((__sentinel__("a"))); // expected-error {{'__sentinel__
14 - (void) foo9 : (int)x, ... __attribute__ ((__sentinel__(-1))); // expected-error {{'sentinel' par… argument
15 - (void) foo10 : (int)x, ... __attribute__ ((__sentinel__(1,1))); argument
16 - (void) foo11 : (int)x, ... __attribute__ ((__sentinel__(1,1,3))); // expected-error {{'__sentine… argument
/external/u-boot/lib/libavb/
Davb_sysdeps.h30 #define AVB_ATTR_SENTINEL __attribute__((__sentinel__))
/external/avb/libavb/
Davb_sysdeps.h52 #define AVB_ATTR_SENTINEL __attribute__((__sentinel__))
/external/strace/
Dgcc_compat.h89 # define ATTRIBUTE_SENTINEL __attribute__((__sentinel__))
/external/openssh/
Dmisc.h59 char *percent_expand(const char *, ...) __attribute__((__sentinel__));
Ddefines.h514 #if !defined(HAVE_ATTRIBUTE__SENTINEL__) && !defined(__sentinel__)
515 # define __sentinel__ macro
/external/libxkbcommon/xkbcommon/src/
Dutils.h243 # define ATTR_NULL_SENTINEL __attribute__((__sentinel__))