Searched defs:__attribute__ (Results 51 - 69 of 69) sorted by last modified time

123

/external/harfbuzz_ng/src/
H A Dhb-private.hh70 #undef __attribute__ macro
71 #define __attribute__(x) macro
75 #define HB_PURE_FUNC __attribute__((pure))
76 #define HB_CONST_FUNC __attribute__((const))
77 #define HB_PRINTF_FUNC(format_idx, arg_idx) __attribute__((__format__ (__printf__, format_idx, arg_idx)))
84 #define HB_UNUSED __attribute__((unused))
91 # define HB_INTERNAL __attribute__((__visibility__("hidden")))
/external/e2fsprogs/intl/
H A Dvasnprintf.h28 #ifndef __attribute__
31 # define __attribute__(Spec) /* empty */ macro
53 __attribute__ ((__format__ (__printf__, 3, 4)));
55 __attribute__ ((__format__ (__printf__, 3, 0)));
/external/e2fsprogs/lib/quota/
H A Dcommon.h10 #ifndef __attribute__
12 # define __attribute__(x) macro
/external/clang/test/CodeGen/
H A D2007-06-15-AnnotateAttribute.c5 int X __attribute__((annotate("GlobalValAnnotation")));
8 int foo(int y) __attribute__((annotate("GlobalValAnnotation")))
9 __attribute__((noinline));
11 int foo(int y __attribute__((annotate("LocalValAnnotation")))) { argument
12 int x __attribute__((annotate("LocalValAnnotation")));
18 static int a __attribute__((annotate("GlobalValAnnotation")));
H A Dannotations-var.c17 int foo(int v __attribute__((annotate("param_ann_2"))) __attribute__((annotate("param_ann_3"))));
18 int foo(int v __attribute__((annotate("param_ann_0"))) __attribute__((annotate("param_ann_1")))) { argument
33 int localvar __attribute__((annotate("localvar_ann_0"))) __attribute__((annotate("localvar_ann_1"))) = 3;
43 int undefvar __attribute__((annotate("undefvar_ann_0")));
/external/clang/test/Parser/
H A Dknr_parameter_attributes.c4 int f(int i __attribute__((__unused__))) argument
9 int i __attribute__((__unused__));
/external/clang/test/Sema/
H A Dattr-unused.c3 static void (*fp0)(void) __attribute__((unused));
5 static void __attribute__((unused)) f0(void);
8 int f1() __attribute__((unused));
10 int g0 __attribute__((unused));
12 int f2() __attribute__((unused(1, 2))); // expected-error {{'unused' attribute takes no arguments}}
14 struct Test0_unused {} __attribute__((unused));
16 typedef int Int_unused __attribute__((unused));
37 int f5(int x __attribute__((__unused__))) { argument
41 int f6(int x __attribute__((__unused__))) { argument
H A Dnonnull.c10 } Instance __attribute__((transparent_union));
12 __attribute__((nonnull(1))) void Class_init(Instance this, char *str) {
22 void foo(const char *str) __attribute__((nonnull("foo"))); // expected-error{{'nonnull' attribute requires parameter 1 to be an integer constant}}
23 void bar(int i) __attribute__((nonnull(1))); // expected-warning {{'nonnull' attribute only applies to pointer arguments}} expected-warning {{'nonnull' attribute applied to function with no pointer arguments}}
25 void baz(__attribute__((nonnull)) const char *str);
26 void baz2(__attribute__((nonnull(1))) const char *str); // expected-warning {{'nonnull' attribute when used on parameters takes no arguments}}
27 void baz3(__attribute__((nonnull)) int x); // expected-warning {{'nonnull' attribute only applies to pointer arguments}}
35 void test_void_returns_nonnull(void) __attribute__((returns_nonnull)); // expected-warning {{'returns_nonnull' attribute only applies to return values that are pointers}}
36 int test_int_returns_nonnull(void) __attribute__((returns_nonnull)); // expected-warning {{'returns_nonnull' attribute only applies to return values that are pointers}}
37 void *test_ptr_returns_nonnull(void) __attribute__((returns_nonnul
48 PR18795(int (*g)(const char *h, ...) __attribute__((nonnull(1))) __attribute__((nonnull))) argument
[all...]
H A Dwarn-unused-parameters.c6 int z __attribute__((unused))) {
13 int z __attribute__((unused))) { return x; };
4 f0(int x, int y, int z __attribute__((unused))) argument
/external/clang/test/SemaCXX/
H A Delaborated-type-specifier.cpp49 class __attribute__((visibility("hidden"))) B {};
51 void test(class __attribute__((visibility("hidden"), noreturn)) B b) { // expected-warning {{'noreturn' attribute only applies to functions and methods}} argument
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
H A Dradeon_debug.h98 * define macro for gcc specific __attribute__ if using alternative compiler
101 #define __attribute__(x) /*empty*/ macro
108 ...) __attribute__((format(printf,3,4)));
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
H A Dradeon_debug.h98 * define macro for gcc specific __attribute__ if using alternative compiler
101 #define __attribute__(x) /*empty*/ macro
108 ...) __attribute__((format(printf,3,4)));
/external/chromium_org/third_party/angle/src/compiler/preprocessor/
H A DExpressionParser.cpp267 #ifndef __attribute__
271 # define __attribute__(Spec) /* empty */ macro
/external/chromium_org/third_party/angle/src/compiler/translator/
H A Dglslang_tab.cpp454 #ifndef __attribute__
458 # define __attribute__(Spec) /* empty */ macro
1716 __attribute__((__unused__))
/external/chromium_org/third_party/harfbuzz-ng/src/
H A Dhb-private.hh70 #undef __attribute__ macro
71 #define __attribute__(x) macro
75 #define HB_PURE_FUNC __attribute__((pure))
76 #define HB_CONST_FUNC __attribute__((const))
77 #define HB_PRINTF_FUNC(format_idx, arg_idx) __attribute__((__format__ (__printf__, format_idx, arg_idx)))
84 #define HB_UNUSED __attribute__((unused))
91 # define HB_INTERNAL __attribute__((__visibility__("hidden")))
/external/checkpolicy/test/
H A Ddismod.c496 int role_display_callback(hashtab_key_t key __attribute__((unused)), argument
/external/bison/src/
H A Dsystem.h84 # ifndef __attribute__
88 # define __attribute__(Spec) /* empty */ macro
100 # define ATTRIBUTE_NORETURN __attribute__ ((__noreturn__))
104 # define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
/external/bison/data/
H A Dglr.c298 #ifndef __attribute__
302 # define __attribute__(Spec) /* empty */ macro
761 __attribute__ ((__noreturn__));
771 __attribute__ ((__noreturn__));
793 static void yyfillin (yyGLRStackItem *, int, int) __attribute__ ((__unused__));
813 __attribute__ ((__unused__));
835 yybool yynormal __attribute__ ((__unused__)) =
1363 yybool yynormal __attribute__ ((__unused__)) =
2505 __attribute__ ((__unused__));
2506 static void yypdumpstack (yyGLRStack* yystackp) __attribute__ ((__unused_
[all...]
/external/bison/lib/
H A Dlibiberty.h26 # ifndef __attribute__
28 # define __attribute__(x) macro
32 # define ATTRIBUTE_UNUSED __attribute__ ((__unused__))

Completed in 415 milliseconds

123