Searched defs:__attribute__ (Results 1 - 25 of 69) sorted by relevance

123

/external/bison/lib/
H A Dlibiberty.h26 # ifndef __attribute__
28 # define __attribute__(x) macro
32 # define ATTRIBUTE_UNUSED __attribute__ ((__unused__))
/external/clang/test/Parser/
H A Dknr_parameter_attributes.c4 int f(int i __attribute__((__unused__))) argument
9 int i __attribute__((__unused__));
/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/ipsec-tools/src/racoon/
H A Dgnuc.h27 * __dead void foo(void) __attribute__((volatile));
35 #ifndef __attribute__
36 #define __attribute__(args) macro
43 #ifndef __attribute__
44 #define __attribute__(args) macro
/external/libpcap/Win32/Include/
H A DGnuc.h27 * __dead void foo(void) __attribute__((volatile));
35 #ifndef __attribute__
36 #define __attribute__(args) macro
43 #ifndef __attribute__
44 #define __attribute__(args) macro
/external/linux-tools-perf/perf-3.12.0/tools/perf/util/include/linux/
H A Dprefetch.h4 static inline void prefetch(void *a __attribute__((unused))) { } argument
/external/tcpdump/
H A Dmachdep.c40 #define __attribute__(x) macro
50 __attribute__((format(printf, 3, 4)))
/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/Sema/
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
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 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
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
H A Dopj_includes.h107 #define __attribute__(x) /* __attribute__(x) */ macro
/external/libedit/src/
H A Dprompt.c58 prompt_default(EditLine *el __attribute__((__unused__))) argument
71 prompt_default_r(EditLine *el __attribute__((__unused__))) argument
140 prompt_end(EditLine *el __attribute__((__unused__))) argument
H A Dsys.h47 #if !defined(__attribute__) && (defined(__cplusplus) || !defined(__GNUC__) || __GNUC__ == 2 && __GNUC_MINOR__ < 8)
48 # define __attribute__(A) macro
H A Demacs.c91 em_delete_next_word(EditLine *el, Int c __attribute__((__unused__))) argument
120 em_yank(EditLine *el, Int c __attribute__((__unused__))) argument
156 em_kill_line(EditLine *el, Int c __attribute__((__unused__))) argument
178 em_kill_region(EditLine *el, Int c __attribute__((__unused__))) argument
211 em_copy_region(EditLine *el, Int c __attribute__((__unused__))) argument
260 em_next_word(EditLine *el, Int c __attribute__((__unused__))) argument
285 em_upper_case(EditLine *el, Int c __attribute__((__unused__))) argument
309 em_capitol_case(EditLine *el, Int c __attribute__((__unused__))) argument
341 em_lower_case(EditLine *el, Int c __attribute__((__unused__))) argument
365 em_set_mark(EditLine *el, Int c __attribute__((__unused_ argument
379 em_exchange_mark(EditLine *el, Int c __attribute__((__unused__))) argument
396 em_universal_argument(EditLine *el, Int c __attribute__((__unused__))) argument
413 em_meta_next(EditLine *el, Int c __attribute__((__unused__))) argument
426 em_toggle_overwrite(EditLine *el, Int c __attribute__((__unused__))) argument
440 em_copy_prev_word(EditLine *el, Int c __attribute__((__unused__))) argument
467 em_inc_search_next(EditLine *el, Int c __attribute__((__unused__))) argument
480 em_inc_search_prev(EditLine *el, Int c __attribute__((__unused__))) argument
494 em_delete_prev_char(EditLine *el, Int c __attribute__((__unused__))) argument
[all...]
/external/libselinux/src/
H A Dcallbacks.c14 static int __attribute__ ((format(printf, 2, 3)))
15 default_selinux_log(int type __attribute__((unused)), const char *fmt, ...) argument
26 default_selinux_audit(void *ptr __attribute__((unused)), argument
27 security_class_t cls __attribute__((unused)),
28 char *buf __attribute__((unused)),
29 size_t len __attribute__((unused)))
41 default_selinux_setenforce(int enforcing __attribute__((unused))) argument
47 default_selinux_policyload(int seqno __attribute__((unused))) argument
53 int __attribute__ ((format(printf, 2, 3)))
H A Dbooleans.c246 int permanent __attribute__((unused)))
245 security_set_boolean_list(size_t boolcnt, SELboolean * const boollist, int permanent __attribute__((unused))) argument
/external/qemu/distrib/libselinux/src/
H A Dcallbacks.c14 static int __attribute__ ((format(printf, 2, 3)))
15 default_selinux_log(int type __attribute__((unused)), const char *fmt, ...) argument
26 default_selinux_audit(void *ptr __attribute__((unused)), argument
27 security_class_t cls __attribute__((unused)),
28 char *buf __attribute__((unused)),
29 size_t len __attribute__((unused)))
41 default_selinux_setenforce(int enforcing __attribute__((unused))) argument
47 default_selinux_policyload(int seqno __attribute__((unused))) argument
53 int __attribute__ ((format(printf, 2, 3)))
H A Dbooleans.c246 int permanent __attribute__((unused)))
245 security_set_boolean_list(size_t boolcnt, SELboolean * const boollist, int permanent __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/oprofile/daemon/
H A Dopd_trans.c135 static void code_unknown(struct transient * trans __attribute__((unused))) argument
224 static void code_module_loaded(struct transient * trans __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/libedit/examples/
H A Dtc1.c78 prompt(EditLine *el __attribute__((__unused__))) argument
93 complete(EditLine *el, int ch __attribute__((__unused__))) argument
127 main(int argc __attribute__((__unused__)), char *argv[]) argument

Completed in 7634 milliseconds

123