Home
last modified time | relevance | path

Searched refs:unused (Results 1 – 25 of 1382) sorted by relevance

12345678910>>...56

/external/elfutils/libebl/
Deblopenbackend.c433 default_object_type_name (int ignore __attribute__ ((unused)), in default_object_type_name()
434 char *buf __attribute__ ((unused)), in default_object_type_name()
435 size_t len __attribute__ ((unused))) in default_object_type_name()
441 default_reloc_type_name (int ignore __attribute__ ((unused)), in default_reloc_type_name()
442 char *buf __attribute__ ((unused)), in default_reloc_type_name()
443 size_t len __attribute__ ((unused))) in default_reloc_type_name()
449 default_reloc_type_check (int ignore __attribute__ ((unused))) in default_reloc_type_check()
455 default_reloc_valid_use (Elf *elf __attribute__ ((unused)), in default_reloc_valid_use()
456 int ignore __attribute__ ((unused))) in default_reloc_valid_use()
462 default_reloc_simple_type (Ebl *eh __attribute__ ((unused)), in default_reloc_simple_type()
[all …]
/external/clang/test/Sema/
Dpragma-unused.c5 #pragma unused(x) in f1()
6 #pragma unused(y, z) in f1()
9 #pragma unused w // expected-warning{{missing '(' after '#pragma unused' - ignoring}} in f1()
14 #pragma unused(x,) // expected-warning{{expected '#pragma unused' argument to be a variable name}} in f2()
15 #pragma unused() // expected-warning{{expected '#pragma unused' argument to be a variable name}} in f2()
19 …#pragma unused(x) // expected-warning{{undeclared variable 'x' used as an argument for '#pragma un… in f3()
24 …#pragma unused((w)) // expected-warning{{expected '#pragma unused' argument to be a variable name}} in f4()
30 #pragma unused(z) // no-warning in f6()
36 …#pragma unused(undeclared, undefined, y) // expected-warning{{undeclared variable 'undeclared' use… in f7()
48 #pragma unused(x) in f10()
[all …]
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));
/external/strace/maint/
Dioctls_sym.sh198 struct btrfs_ioctl_defrag_range_args { __u32 unused[12]; };
240 struct kvm_allocate_rma { __u32 unused[2]; };
241 struct kvm_create_spapr_tce { __u32 unused[3]; };
242 struct kvm_get_htab_fd { __u32 unused[8]; };
243 struct kvm_rtas_token_args { __u8 unused[128]; };
244 struct kvm_vcpu_init { __u32 unused[8]; };
246 struct kvm_allocate_rma { __u32 unused[2]; };
247 struct kvm_cpuid { __u32 unused[2]; };
248 struct kvm_cpuid2 { __u32 unused[2]; };
249 struct kvm_create_spapr_tce { __u32 unused[3]; };
[all …]
/external/e2fsprogs/lib/ss/
Drequests.c25 void ss_self_identify(int argc __SS_ATTR((unused)), in ss_self_identify() argument
26 const char * const *argv __SS_ATTR((unused)), in ss_self_identify() argument
27 int sci_idx, void *infop __SS_ATTR((unused))) in ss_self_identify() argument
37 void ss_subsystem_name(int argc __SS_ATTR((unused)), in ss_subsystem_name() argument
38 const char * const *argv __SS_ATTR((unused)), in ss_subsystem_name() argument
40 void *infop __SS_ATTR((unused))) in ss_subsystem_name() argument
48 void ss_subsystem_version(int argc __SS_ATTR((unused)), in ss_subsystem_version() argument
49 const char * const *argv __SS_ATTR((unused)), in ss_subsystem_version() argument
51 void *infop __SS_ATTR((unused))) in ss_subsystem_version() argument
60 void ss_unimplemented(int argc __SS_ATTR((unused)), in ss_unimplemented() argument
[all …]
/external/e2fsprogs/tests/m_bigjournal/
Dexpect.155 31836 free blocks, 5 free inodes, 2 directories, 5 unused inodes
63 32095 free blocks, 16 free inodes, 0 directories, 16 unused inodes
69 32768 free blocks, 16 free inodes, 0 directories, 16 unused inodes
77 32095 free blocks, 16 free inodes, 0 directories, 16 unused inodes
83 32768 free blocks, 16 free inodes, 0 directories, 16 unused inodes
91 32095 free blocks, 16 free inodes, 0 directories, 16 unused inodes
97 32768 free blocks, 16 free inodes, 0 directories, 16 unused inodes
105 32095 free blocks, 16 free inodes, 0 directories, 16 unused inodes
111 32768 free blocks, 16 free inodes, 0 directories, 16 unused inodes
119 32095 free blocks, 16 free inodes, 0 directories, 16 unused inodes
[all …]
/external/elfutils/libdwfl/
Dlinux-pid-attach.c160 pid_next_thread (Dwfl *dwfl __attribute__ ((unused)), void *dwfl_arg, in pid_next_thread()
204 pid_getthread (Dwfl *dwfl __attribute__ ((unused)), pid_t tid, in pid_getthread()
251 pid_detach (Dwfl *dwfl __attribute__ ((unused)), void *dwfl_arg) in pid_detach()
410 pid_next_thread (Dwfl *dwfl __attribute__ ((unused)), in pid_next_thread()
411 void *dwfl_arg __attribute__ ((unused)), in pid_next_thread()
412 void **thread_argp __attribute__ ((unused))) in pid_next_thread()
420 pid_getthread (Dwfl *dwfl __attribute__ ((unused)), in pid_getthread()
421 pid_t tid __attribute__ ((unused)), in pid_getthread()
422 void *dwfl_arg __attribute__ ((unused)), in pid_getthread()
423 void **thread_argp __attribute__ ((unused))) in pid_getthread()
[all …]
/external/selinux/libsepol/cil/src/
Dcil_copy_ast.c86 int cil_copy_node(__attribute__((unused)) struct cil_db *db, void *data, void **copy, __attribute__… in cil_copy_node()
98 int cil_copy_block(__attribute__((unused)) struct cil_db *db, void *data, void **copy, symtab_t *sy… in cil_copy_block()
116 … cil_copy_blockabstract(__attribute__((unused)) struct cil_db *db, void *data, void **copy, __attr… in cil_copy_blockabstract()
130 …t cil_copy_blockinherit(__attribute__((unused)) struct cil_db *db, void *data, void **copy, __attr… in cil_copy_blockinherit()
145 int cil_copy_policycap(__attribute__((unused)) struct cil_db *db, void *data, void **copy, symtab_t… in cil_copy_policycap()
163 int cil_copy_perm(__attribute__((unused)) struct cil_db *db, void *data, void **copy, symtab_t *sym… in cil_copy_perm()
216 …t cil_copy_classmapping(__attribute__((unused)) struct cil_db *db, void *data, void **copy, __attr… in cil_copy_classmapping()
233 int cil_copy_class(__attribute__((unused)) struct cil_db *db, void *data, void **copy, symtab_t *sy… in cil_copy_class()
255 int cil_copy_classorder(__attribute__((unused)) struct cil_db *db, void *data, void **copy, __attri… in cil_copy_classorder()
270 int cil_copy_classpermission(__attribute__((unused)) struct cil_db *db, void *data, void **copy, sy… in cil_copy_classpermission()
[all …]
/external/compiler-rt/test/tsan/
Dload_shared_lib.cc20 void *write_from_so(void *unused) { in write_from_so() argument
21 if (unused == 0) in write_from_so()
24 if (unused != 0) in write_from_so()
37 void *write_glob(void *unused) { in write_glob() argument
38 if (unused == 0) in write_glob()
41 if (unused != 0) in write_glob()
46 void race_two_threads(void *(*access_callback)(void *unused)) { in race_two_threads() argument
67 void *(*write_from_so)(void *unused); in main()
/external/elfutils/backends/
Darm_symbol.c41 arm_segment_type_name (int segment, char *buf __attribute__ ((unused)), in arm_segment_type_name()
42 size_t len __attribute__ ((unused))) in arm_segment_type_name()
55 char *buf __attribute__ ((unused)), in arm_section_type_name()
56 size_t len __attribute__ ((unused))) in arm_section_type_name()
111 arm_reloc_simple_type (Ebl *ebl __attribute__ ((unused)), int type) in arm_reloc_simple_type()
128 arm_check_reloc_target_type (Ebl *ebl __attribute__ ((unused)), Elf64_Word sh_type) in arm_check_reloc_target_type()
135 char *buf __attribute__ ((unused)), in arm_symbol_type_name()
136 size_t len __attribute__ ((unused))) in arm_symbol_type_name()
Dalpha_symbol.c43 alpha_dynamic_tag_name (int64_t tag, char *buf __attribute__ ((unused)), in alpha_dynamic_tag_name()
44 size_t len __attribute__ ((unused))) in alpha_dynamic_tag_name()
64 alpha_reloc_simple_type (Ebl *ebl __attribute__ ((unused)), int type) in alpha_reloc_simple_type()
87 int ndx __attribute__ ((unused)), in alpha_check_special_section()
89 const char *sname __attribute__ ((unused))) in alpha_check_special_section()
132 alpha_check_special_symbol (Elf *elf __attribute__ ((unused)), in alpha_check_special_symbol()
133 GElf_Ehdr *ehdr __attribute__ ((unused)), in alpha_check_special_symbol()
134 const GElf_Sym *sym __attribute__ ((unused)), in alpha_check_special_symbol()
136 const GElf_Shdr *destshdr __attribute__ ((unused))) in alpha_check_special_symbol()
Dia64_symbol.c43 ia64_segment_type_name (int segment, char *buf __attribute__ ((unused)), in ia64_segment_type_name()
44 size_t len __attribute__ ((unused))) in ia64_segment_type_name()
65 ia64_dynamic_tag_name (int64_t tag, char *buf __attribute__ ((unused)), in ia64_dynamic_tag_name()
66 size_t len __attribute__ ((unused))) in ia64_dynamic_tag_name()
102 char *buf __attribute__ ((unused)), in ia64_section_type_name()
103 size_t len __attribute__ ((unused))) in ia64_section_type_name()
154 ia64_check_reloc_target_type (Ebl *ebl __attribute__ ((unused)), Elf64_Word sh_type) in ia64_check_reloc_target_type()
Dsparc_symbol.c42 sparc_reloc_simple_type (Ebl *ebl __attribute__ ((unused)), int type) in sparc_reloc_simple_type()
75 int ndx __attribute__ ((unused)), in sparc_check_special_section()
77 const char *sname __attribute__ ((unused))) in sparc_check_special_section()
115 char *buf __attribute__ ((unused)), in sparc_symbol_type_name()
116 size_t len __attribute__ ((unused))) in sparc_symbol_type_name()
128 char *buf __attribute__ ((unused)), in sparc_dynamic_tag_name()
129 size_t len __attribute__ ((unused))) in sparc_dynamic_tag_name()
Dppc64_symbol.c45 ppc64_reloc_simple_type (Ebl *ebl __attribute__ ((unused)), int type) in ppc64_reloc_simple_type()
64 ppc64_dynamic_tag_name (int64_t tag, char *buf __attribute__ ((unused)), in ppc64_dynamic_tag_name()
65 size_t len __attribute__ ((unused))) in ppc64_dynamic_tag_name()
98 const GElf_Sym *sym __attribute__ ((unused)), in ppc64_check_special_symbol()
99 const char *name __attribute__ ((unused)), in ppc64_check_special_symbol()
111 ppc64_bss_plt_p (Elf *elf __attribute__ ((unused))) in ppc64_bss_plt_p()
/external/clang/test/SemaObjC/
Dunused.m1 // RUN: %clang_cc1 -verify -Wused-but-marked-unused -Wno-objc-protocol-method-implementation -Wunus…
24 … for test purposes".length; // expected-warning {{property access result unused - getters should n…
36 (int)y: // expected-warning {{unused}} expected-warning {{'y' used as the name of the previous pa…
39 (int) __attribute__((unused))z { return x; } argument
43 // The next test shows how clang accepted attribute((unused)) on ObjC
48 #define UNUSED_IVAR __attribute__((unused))
50 #error __attribute__((unused)) not supported on ivars
54 id y __attribute__((unused)); // no-warning
60 static NSString *x = @"hi"; // expected-warning {{unused variable 'x'}}
64 - (void) a __attribute__((unused)); argument
[all …]
Dmethod-unused-attribute.m6 - (void) unused_attr_on_decl_ignored: (void *) __attribute__((unused)) will_warn; argument
10 …void) correct_use_of_unused: (void *) __attribute__((unused)) notice : (id) __attribute__((unused argument
12 …l_warn_unused_arg: (void *) __attribute__((unused)) notice : (id)warn_unused {} // expected-warn… argument
13 - (void) unused_attr_on_decl_ignored: (void *) will_warn{} // expected-warning {{unused parameter…
/external/valgrind/gdbserver_tests/
Dt.c37 char *make_error_name __attribute__((unused)) = "make_error name"; in make_error()
38 char c __attribute__((unused)); in make_error()
39 double pi2 __attribute__((unused)) = 2.0 * pi; in make_error()
50 char *level_name __attribute__((unused)) = "level name"; in level()
64 char *brussels_name __attribute__((unused)) = "Brussels"; in brussels_fn()
74 char *london_name __attribute__((unused)) = "London"; in london_fn()
85 char *petaouchnok_name __attribute__((unused)) = "Petaouchnok"; in petaouchnok_fn()
106 char *main_name __attribute__((unused)) = "main name"; in main()
110 char *some_mem __attribute__((unused)) = malloc(100); in main()
/external/libselinux/src/
Dcallbacks.c15 default_selinux_log(int type __attribute__((unused)), const char *fmt, ...) in default_selinux_log()
26 default_selinux_audit(void *ptr __attribute__((unused)), in default_selinux_audit()
27 security_class_t cls __attribute__((unused)), in default_selinux_audit()
28 char *buf __attribute__((unused)), in default_selinux_audit()
29 size_t len __attribute__((unused))) in default_selinux_audit()
41 default_selinux_setenforce(int enforcing __attribute__((unused))) in default_selinux_setenforce()
47 default_selinux_policyload(int seqno __attribute__((unused))) in default_selinux_policyload()
/external/elfutils/tests/
Dvdsosyms.c31 main (int argc __attribute__ ((unused)), char **argv __attribute__ ((unused))) in main()
40 module_callback (Dwfl_Module *mod, void **userdata __attribute__((unused)), in module_callback()
41 const char *name, Dwarf_Addr start __attribute__((unused)), in module_callback()
42 void *arg __attribute__((unused))) in module_callback()
69 main (int argc __attribute__ ((unused)), char **argv __attribute__ ((unused))) in main()
Dbacktrace-data.c48 main (int argc __attribute__ ((unused)), char **argv) in main()
60 find_elf (Dwfl_Module *mod __attribute__ ((unused)), in find_elf()
61 void **userdata __attribute__ ((unused)), in find_elf()
62 const char *modname __attribute__ ((unused)), in find_elf()
63 Dwarf_Addr base __attribute__ ((unused)), in find_elf()
64 char **file_name __attribute__ ((unused)), in find_elf()
65 Elf **elfp __attribute__ ((unused))) in find_elf()
73 void *dwfl_arg __attribute__ ((unused))) in memory_read()
157 next_thread (Dwfl *dwfl, void *dwfl_arg __attribute__ ((unused)), in next_thread()
170 void *thread_arg __attribute__ ((unused))) in set_initial_registers()
[all …]
/external/selinux/libselinux/src/
Dcallbacks.c15 default_selinux_log(int type __attribute__((unused)), const char *fmt, ...) in default_selinux_log()
27 default_selinux_audit(void *ptr __attribute__((unused)), in default_selinux_audit()
28 security_class_t cls __attribute__((unused)), in default_selinux_audit()
29 char *buf __attribute__((unused)), in default_selinux_audit()
30 size_t len __attribute__((unused))) in default_selinux_audit()
42 default_selinux_setenforce(int enforcing __attribute__((unused))) in default_selinux_setenforce()
48 default_selinux_policyload(int seqno __attribute__((unused))) in default_selinux_policyload()
/external/e2fsprogs/tests/m_uninit/
Dexpect.164 7662 free blocks, 2037 free inodes, 2 directories, 2037 unused inodes
72 7676 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
78 7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
86 7676 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
92 7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
100 7676 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
106 7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
114 7676 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
120 7934 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
128 7676 free blocks, 2048 free inodes, 0 directories, 2048 unused inodes
[all …]
/external/clang/test/Parser/
Dobjc-messaging-1.m10 // expected-warning 2{{expression result unused}}
12 // expected-warning 2{{expression result unused}}
14 // expected-warning 4{{expression result unused}}
16 // expected-warning 2{{expression result unused}}
18 // expected-warning 2{{expression result unused}}
20 // expected-warning 2{{expression result unused}}
24 // expected-warning 2{{expression result unused}}
/external/fio/exp/
Dexpression-parser.y38 int yyerror(__attribute__((unused)) long long *result,
39 __attribute__((unused)) double *dresult,
40 __attribute__((unused)) int *has_error,
41 __attribute__((unused)) int *units_specified,
42 __attribute__((unused)) const char *msg);
238 int yyerror(__attribute__((unused)) long long *result, in yyerror()
239 __attribute__((unused)) double *dresult, in yyerror()
240 __attribute__((unused)) int *has_error, in yyerror()
241 __attribute__((unused)) int *units_specified, in yyerror()
242 __attribute__((unused)) const char *msg) in yyerror()
/external/curl/lib/
Dnwlib.c85 #pragma unused(cmdLine) in _NonAppStart()
86 #pragma unused(loadDirPath) in _NonAppStart()
87 #pragma unused(uninitializedDataLength) in _NonAppStart()
88 #pragma unused(NLMFileHandle) in _NonAppStart()
89 #pragma unused(readRoutineP) in _NonAppStart()
90 #pragma unused(customDataOffset) in _NonAppStart()
91 #pragma unused(customDataSize) in _NonAppStart()
92 #pragma unused(messageCount) in _NonAppStart()
93 #pragma unused(messages) in _NonAppStart()

12345678910>>...56