HomeSort by relevance Sort by last modified time
    Searched full:__sentinel__ (Results 1 - 19 of 19) sorted by null

  /external/clang/test/Sema/
block-sentinel-attribute.c 3 void (^e) (int arg, const char * format, ...) __attribute__ ((__sentinel__ (1,1)));
6 void (^bbad) (int arg, const char * format) __attribute__ ((__sentinel__)) ; // expected-warning {{'sentinel' attribute only supported for variadic blocks}}
7 bbad = ^void (int arg, const char * format) __attribute__ ((__sentinel__)) {} ; // expected-warning {{'sentinel' attribute only supported for variadic blocks}}
8 void (^b) (int arg, const char * format, ...) __attribute__ ((__sentinel__)) = // expected-note {{block has been explicitly marked sentinel here}}
9 ^ __attribute__ ((__sentinel__)) (int arg, const char * format, ...) {};
10 void (^z) (int arg, const char * format, ...) __attribute__ ((__sentinel__ (2))) = ^ __attribute__ ((__sentinel__ (2))) (int arg, const char * format, ...) {}; // expected-note {{block has been explicitly marked sentinel here}}
13 void (^y) (int arg, const char * format, ...) __attribute__ ((__sentinel__ (5))) = ^ __attribute__ ((__sentinel__ (5))) (int arg, const char * format, ...) {}; // expected-note {{block has been explicitly marked sentinel here}}
attr-sentinel.c 5 #define ATTR __attribute__ ((__sentinel__))
8 void foo5 (int x, ...) __attribute__ ((__sentinel__(1))); // expected-note {{function has been explicitly marked sentinel here}}
9 void foo6 (int x, ...) __attribute__ ((__sentinel__(5))); // expected-note {{function has been explicitly marked sentinel here}}
10 void foo7 (int x, ...) __attribute__ ((__sentinel__(0))); // expected-note {{function has been explicitly marked sentinel here}}
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 {{function has been explicitly marked sentinel here}}
46 void (*z) (int arg, const char * format, ...) __attribute__ ((__sentinel__ (2))); // expected-note {{function has been explicitly marked sentinel here}}
49 void (*y) (int arg, const char * format, ...) __attribute__ ((__sentinel__ (5))); // expected-note {{function has been explicitly marked sentinel here}}
sentinel-attribute.c 15 void f6() __attribute__((__sentinel__)); // expected-warning {{'sentinel' attribute requires named arguments}}
function-redecl.c 112 extern __typeof (h0) h1 __attribute__((__sentinel__));
113 extern __typeof (h1) h1 __attribute__((__sentinel__));
  /external/clang/test/SemaObjC/
method-sentinel-attr.m 5 #define ATTR __attribute__ ((__sentinel__))
9 - (void) foo3 : (int)x __attribute__ ((__sentinel__)) ; // expected-warning {{'sentinel' attribute only supported for variadic functions}}
10 - (void) foo5 : (int)x, ... __attribute__ ((__sentinel__(1))); // expected-note {{method has been explicitly marked sentinel here}}
11 - (void) foo6 : (int)x, ... __attribute__ ((__sentinel__(5))); // expected-note {{method has been explicitly marked sentinel here}}
12 - (void) foo7 : (int)x, ... __attribute__ ((__sentinel__(0))); // expected-note {{method has been explicitly marked sentinel here}}
13 - (void) foo8 : (int)x, ... __attribute__ ((__sentinel__("a"))); // expected-error {{'sentinel' attribute requires parameter 1 to be an integer constant}}
14 - (void) foo9 : (int)x, ... __attribute__ ((__sentinel__(-1))); // expected-error {{'sentinel' parameter 1 less than zero}}
15 - (void) foo10 : (int)x, ... __attribute__ ((__sentinel__(1,1)));
16 - (void) foo11 : (int)x, ... __attribute__ ((__sentinel__(1,1,3))); // expected-error {{attribute takes no more than 2 arguments}}
  /external/openssh/
misc.h 33 char *percent_expand(const char *, ...) __attribute__((__sentinel__));
defines.h 479 #if !defined(HAVE_ATTRIBUTE__SENTINEL__) && !defined(__sentinel__)
480 # define __sentinel__ macro
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/X11/
Xfuncproto.h 82 # define _X_SENTINEL(x) __attribute__ ((__sentinel__(x)))
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/X11/
Xfuncproto.h 82 # define _X_SENTINEL(x) __attribute__ ((__sentinel__(x)))
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/X11/
Xfuncproto.h 82 # define _X_SENTINEL(x) __attribute__ ((__sentinel__(x)))
  /external/bluetooth/glib/glib/
gmacros.h 65 #define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__))
  /external/valgrind/main/coregrind/m_demangle/
ansidecl.h 349 # define ATTRIBUTE_SENTINEL __attribute__ ((__sentinel__))
  /prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/lib/gcc/arm-eabi/4.4.3/plugin/include/
ansidecl.h 349 # define ATTRIBUTE_SENTINEL __attribute__ ((__sentinel__))
  /prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/include/
ansidecl.h 363 # define ATTRIBUTE_SENTINEL __attribute__ ((__sentinel__))
  /prebuilts/gcc/darwin-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/
ansidecl.h 363 # define ATTRIBUTE_SENTINEL __attribute__ ((__sentinel__))
  /prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/include/
ansidecl.h 363 # define ATTRIBUTE_SENTINEL __attribute__ ((__sentinel__))
  /prebuilts/gcc/linux-x86/arm/arm-eabi-4.6/lib/gcc/arm-eabi/4.6.x-google/plugin/include/
ansidecl.h 363 # define ATTRIBUTE_SENTINEL __attribute__ ((__sentinel__))
  /prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/include/
ansidecl.h 363 # define ATTRIBUTE_SENTINEL __attribute__ ((__sentinel__))
  /prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/lib/gcc/arm-linux-androideabi/4.6.x-google/plugin/include/
ansidecl.h 363 # define ATTRIBUTE_SENTINEL __attribute__ ((__sentinel__))

Completed in 1271 milliseconds