/external/clang/test/Preprocessor/ |
H A D | warn-macro-unused.c | 3 #include "warn-macro-unused.h" 5 # 1 "warn-macro-unused-fake-header.h" 1 7 # 5 "warn-macro-unused.c" 2 9 #define unused // expected-warning {{macro is not used}} macro 10 #define unused macro 11 unused
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
H A D | globals-gc-sections.cc | 9 int (*unused)() = undefined; variable
|
/external/toybox/toys/example/ |
H A D | hello.c | 26 int unused; 34 if (getpid() == 1) wait(&TT.unused);
|
/external/clang/test/Sema/ |
H A D | pragma-unused.c | 1 // RUN: %clang_cc1 -fsyntax-only -Wunused-parameter -Wused-but-marked-unused -Wunused -verify %s 5 #pragma unused(x) 6 #pragma unused(y, z) 8 int w; // expected-warning {{unused}} 9 #pragma unused w // expected-warning{{missing '(' after '#pragma unused' - ignoring}} 13 int x, y; // expected-warning {{unused}} expected-warning {{unused}} 14 #pragma unused(x,) // expected-warning{{expected '#pragma unused' argumen [all...] |
H A D | attr-unused.c | 1 // RUN: %clang_cc1 -verify -Wunused -Wused-but-marked-unused -Wunused-parameter -Wunused -fsyntax-only %s 3 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)); 20 int x; // expected-warning {{unused variabl [all...] |
H A D | warn-unused-label.c | 6 b: // expected-warning{{unused}} 7 c: __attribute__((unused)); 14 L: __attribute__((unused)) return; // ok, no semicolon required
|
H A D | warn-unused-parameters.c | 2 // RUN: %clang_cc1 -fblocks -fsyntax-only -Wunused %s 2>&1 | FileCheck -check-prefix=CHECK-unused %s 6 int z __attribute__((unused))) { 13 int z __attribute__((unused))) { return x; }; 20 // CHECK: 5:12: warning: unused parameter 'y' 21 // CHECK: 12:15: warning: unused parameter 'y' 22 // CHECK-unused: 1 warning generated 26 // RUN: %clang_cc1 -fblocks -fsyntax-only -Weverything -Wno-unused %s 2>&1 | FileCheck -check-prefix=CHECK-everything-no-unused %s 29 // CHECK-everything-no-unused: 5 warnings generated
|
/external/e2fsprogs/lib/ss/ |
H A D | requests.c | 25 void ss_self_identify(int argc __SS_ATTR((unused)), 26 const char * const *argv __SS_ATTR((unused)), 27 int sci_idx, void *infop __SS_ATTR((unused))) 37 void ss_subsystem_name(int argc __SS_ATTR((unused)), 38 const char * const *argv __SS_ATTR((unused)), 40 void *infop __SS_ATTR((unused))) 48 void ss_subsystem_version(int argc __SS_ATTR((unused)), 49 const char * const *argv __SS_ATTR((unused)), 51 void *infop __SS_ATTR((unused))) 60 void ss_unimplemented(int argc __SS_ATTR((unused)), [all...] |
/external/clang/test/Analysis/inlining/ |
H A D | eager-reclamation-path-notes.cpp | 30 int unused = 1; local 31 (void)unused;
|
/external/clang/test/SemaCXX/ |
H A D | warn-unused-label-error.cpp | 7 A: // expected-warning {{unused label 'A'}} 8 __attribute__((unused)) int i; // attribute applies to variable 10 __attribute__((unused)); int j; // expected-warning {{unused variable 'j'}} 14 C: // unused label 'C' will not appear here because an error has occurred 15 __attribute__((unused)) 21 D: // expected-warning {{unused label 'D'}} 23 __attribute__((unused)) // expected-warning {{declaration does not declare anything}}
|
H A D | pragma-unused.cpp | 7 #pragma unused(x,y,z)
|
H A D | attr-unused.cpp | 1 // RUN: %clang_cc1 -verify -Wunused -Wused-but-marked-unused -fsyntax-only %s 3 namespace ns_unused { typedef int Int_unused __attribute__((unused)); } 7 ns_not_unused::Int_not_unused i1; // expected-warning {{unused variable}} 8 ns_unused::Int_unused i0; // expected-warning {{'Int_unused' was marked unused but was used}}
|
/external/elfutils/src/libdwfl/ |
H A D | dwfl_version.c | 33 Dwfl *dwfl __attribute__ ((unused));
|
/external/linux-tools-perf/src/tools/perf/util/include/linux/ |
H A D | prefetch.h | 4 static inline void prefetch(void *a __attribute__((unused))) { }
|
/external/valgrind/memcheck/tests/x86-linux/ |
H A D | scalar_fork.c | 5 int res __attribute__((unused));
|
H A D | scalar_vfork.c | 5 int res __attribute__((unused));
|
H A D | scalar_exit_group.c | 8 int res __attribute__((unused));
|
/external/valgrind/memcheck/tests/linux/ |
H A D | sys-openat.c | 12 __attribute__((unused)) int fd1 = openat (dfd, "abc", O_RDONLY); 14 __attribute__((unused)) int fd2 = openat (0x12345678, "/tmp/abc", O_RDONLY); 15 __attribute__((unused)) int fd3 = openat (AT_FDCWD, "abc", O_RDONLY); 17 __attribute__((unused)) int fd4 = openat (0x12345678, "abc", O_RDONLY);
|
/external/sepolicy/tools/sepolicy-analyze/ |
H A D | booleans.c | 8 __attribute__ ((unused)) hashtab_datum_t d, 9 __attribute__ ((unused)) void *args) 16 int booleans_func (int argc, __attribute__ ((unused)) char **argv, policydb_t *policydb) {
|
/external/elfutils/src/tests/ |
H A D | coverage.sh | 14 unused=0 24 unused=$(($unused + 1)) 29 gawk "{ copct=\$2; co=(\$3*copct)/100; toco+=(co+0); toli += (\$3+0); } END { printf \"%-12s %6.2f%% covered unused files: %3d\n\", \"$d\", (toco*100)/toli, \"$unused\" }" $tmp 32 printf "%-12s 0.00%% covered unused files: %3d\n" "$d" $unused
|
/external/clang/test/CoverageMapping/ |
H A D | templates.cpp | 4 void unused(T x) { function
|
/external/libexif/libexif/ |
H A D | exif-system.h | 27 # define UNUSED(param) UNUSED_PARAM_##param __attribute__((unused))
|
/external/valgrind/memcheck/tests/ |
H A D | trivialleak.c | 5 void* leak __attribute__((unused));
|
/external/elfutils/src/libebl/ |
H A D | eblopenbackend.c | 432 default_object_type_name (int ignore __attribute__ ((unused)), argument 433 char *buf __attribute__ ((unused)), 434 size_t len __attribute__ ((unused))) 440 default_reloc_type_name (int ignore __attribute__ ((unused)), argument 441 char *buf __attribute__ ((unused)), 442 size_t len __attribute__ ((unused))) 448 default_reloc_type_check (int ignore __attribute__ ((unused))) argument 454 default_reloc_valid_use (Elf *elf __attribute__ ((unused)), argument 455 int ignore __attribute__ ((unused))) 461 default_reloc_simple_type (Ebl *eh __attribute__ ((unused)), argument 468 default_gotpc_reloc_check(Elf *elf __attribute__ ((unused)), int ignore __attribute__ ((unused))) argument 475 default_segment_type_name(int ignore __attribute__ ((unused)), char *buf __attribute__ ((unused)), size_t len __attribute__ ((unused))) argument 483 default_section_type_name(int ignore __attribute__ ((unused)), char *buf __attribute__ ((unused)), size_t len __attribute__ ((unused))) argument 491 default_section_name(int ignore __attribute__ ((unused)), int ignore2 __attribute__ ((unused)), char *buf __attribute__ ((unused)), size_t len __attribute__ ((unused))) argument 500 default_machine_flag_name(Elf64_Word *ignore __attribute__ ((unused))) argument 506 default_machine_flag_check(Elf64_Word flags __attribute__ ((unused))) argument 518 default_check_special_section(Ebl *ebl __attribute__ ((unused)), int ndx __attribute__ ((unused)), const GElf_Shdr *shdr __attribute__ ((unused)), const char *sname __attribute__ ((unused))) argument 527 default_symbol_type_name(int ignore __attribute__ ((unused)), char *buf __attribute__ ((unused)), size_t len __attribute__ ((unused))) argument 535 default_symbol_binding_name(int ignore __attribute__ ((unused)), char *buf __attribute__ ((unused)), size_t len __attribute__ ((unused))) argument 543 default_dynamic_tag_name(int64_t ignore __attribute__ ((unused)), char *buf __attribute__ ((unused)), size_t len __attribute__ ((unused))) argument 551 default_dynamic_tag_check(int64_t ignore __attribute__ ((unused))) argument 563 default_destr(struct ebl *ignore __attribute__ ((unused))) argument 568 default_osabi_name(int ignore __attribute__ ((unused)), char *buf __attribute__ ((unused)), size_t len __attribute__ ((unused))) argument 576 default_core_note_type_name(uint32_t ignore __attribute__ ((unused)), char *buf __attribute__ ((unused)), size_t len __attribute__ ((unused))) argument 584 default_auxv_info(GElf_Xword a_type __attribute__ ((unused)), const char **name __attribute__ ((unused)), const char **format __attribute__ ((unused))) argument 592 default_core_note(const GElf_Nhdr *nhdr __attribute__ ((unused)), const char *name __attribute__ ((unused)), GElf_Word *ro __attribute__ ((unused)), size_t *nregloc __attribute__ ((unused)), const Ebl_Register_Location **reglocs __attribute__ ((unused)), size_t *nitems __attribute__ ((unused)), const Ebl_Core_Item **items __attribute__ ((unused))) argument 605 default_object_note_type_name(const char *name __attribute__ ((unused)), uint32_t ignore __attribute__ ((unused)), char *buf __attribute__ ((unused)), size_t len __attribute__ ((unused))) argument 614 default_object_note(const char *name __attribute__ ((unused)), uint32_t type __attribute__ ((unused)), uint32_t descsz __attribute__ ((unused)), const char *desc __attribute__ ((unused))) argument 671 default_copy_reloc_p(int reloc __attribute__ ((unused))) argument 679 default_check_special_symbol(Elf *elf __attribute__ ((unused)), GElf_Ehdr *ehdr __attribute__ ((unused)), const GElf_Sym *sym __attribute__ ((unused)), const char *name __attribute__ ((unused)), const GElf_Shdr *destshdr __attribute__ ((unused))) argument 689 default_check_st_other_bits(unsigned char st_other __attribute__ ((unused))) argument 696 default_bss_plt_p(Elf *elf __attribute__ ((unused))) argument 702 default_return_value_location(Dwarf_Die *functypedie __attribute__ ((unused)), const Dwarf_Op **locops __attribute__ ((unused))) argument 709 default_register_info(Ebl *ebl __attribute__ ((unused)), int regno, char *name, size_t namelen, const char **prefix, const char **setname, int *bits, int *type) argument 726 default_syscall_abi(Ebl *ebl __attribute__ ((unused)), int *sp, int *pc, int *callno, int args[6]) argument 740 default_check_object_attribute(Ebl *ebl __attribute__ ((unused)), const char *vendor __attribute__ ((unused)), int tag __attribute__ ((unused)), uint64_t value __attribute__ ((unused)), const char **tag_name, const char **value_name) argument 752 default_check_reloc_target_type(Ebl *ebl __attribute__ ((unused)), Elf64_Word sh_type __attribute__ ((unused))) argument 759 default_abi_cfi(Ebl *ebl __attribute__ ((unused)), Dwarf_CIE *abi_info __attribute__ ((unused))) argument [all...] |
/external/compiler-rt/test/tsan/ |
H A D | load_shared_lib.cc | 20 void *write_from_so(void *unused) { argument 21 if (unused == 0) 24 if (unused != 0) 37 void *write_glob(void *unused) { argument 38 if (unused == 0) 41 if (unused != 0) 46 void race_two_threads(void *(*access_callback)(void *unused)) { argument 67 void *(*write_from_so)(void *unused);
|