Searched refs:unused (Results 1 - 25 of 1140) sorted by relevance

1234567891011>>

/external/clang/test/Preprocessor/
H A Dwarn-macro-unused.c3 #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 Dglobals-gc-sections.cc9 int (*unused)() = undefined; variable
/external/toybox/toys/example/
H A Dhello.c26 int unused;
34 if (getpid() == 1) wait(&TT.unused);
/external/clang/test/Sema/
H A Dpragma-unused.c1 // 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 Dattr-unused.c1 // 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 Dwarn-unused-label.c6 b: // expected-warning{{unused}}
7 c: __attribute__((unused));
14 L: __attribute__((unused)) return; // ok, no semicolon required
H A Dwarn-unused-parameters.c2 // 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 Drequests.c26 void ss_self_identify(int argc __SS_ATTR((unused)),
27 const char * const *argv __SS_ATTR((unused)),
28 int sci_idx, void *infop __SS_ATTR((unused)))
38 void ss_subsystem_name(int argc __SS_ATTR((unused)),
39 const char * const *argv __SS_ATTR((unused)),
41 void *infop __SS_ATTR((unused)))
49 void ss_subsystem_version(int argc __SS_ATTR((unused)),
50 const char * const *argv __SS_ATTR((unused)),
52 void *infop __SS_ATTR((unused)))
61 void ss_unimplemented(int argc __SS_ATTR((unused)),
[all...]
/external/clang/test/Analysis/inlining/
H A Deager-reclamation-path-notes.cpp30 int unused = 1; local
31 (void)unused;
/external/clang/test/SemaCXX/
H A Dwarn-unused-label-error.cpp7 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 Dpragma-unused.cpp7 #pragma unused(x,y,z)
H A Dattr-unused.cpp1 // 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/libdwfl/
H A Ddwfl_version.c32 dwfl_version (Dwfl *dwfl __attribute__ ((unused))) argument
/external/skia/src/core/
H A DSkDebug.cpp11 void SkDebugfForDumpStackTrace(const char* data, void* unused) { argument
/external/valgrind/memcheck/tests/x86-linux/
H A Dscalar_fork.c5 int res __attribute__((unused));
H A Dscalar_vfork.c5 int res __attribute__((unused));
/external/selinux/libselinux/src/android/
H A Dandroid_vendor.c3 int selinux_android_restorecon(const char *file __attribute__((unused)),
4 unsigned int flags __attribute__((unused)))
/external/valgrind/memcheck/tests/linux/
H A Dsys-openat.c12 __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/elfutils/tests/
H A Dcoverage.sh14 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/mockito/src/main/java/org/mockito/internal/junit/
H A DUnusedStubbings.java17 * Contains unused stubbings, knows how to format them
21 private final Collection<? extends Stubbing> unused; field in class:UnusedStubbings
23 UnusedStubbings(Collection<? extends Stubbing> unused) { argument
24 this.unused = unused;
28 if (unused.isEmpty()) {
34 for (Stubbing candidate : unused) {
43 return unused.size();
47 return unused.toString();
51 if (unused
[all...]
/external/clang/test/CoverageMapping/
H A Dtemplates.cpp4 void unused(T x) { function
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/
H A DThing.java22 @Inject Thing(@SuppressWarnings("unused") OtherThing unused) {} argument
/external/libexif/libexif/
H A Dexif-system.h27 # define UNUSED(param) UNUSED_PARAM_##param __attribute__((unused))
/external/ltp/include/old/
H A Dcleanup.c38 static void CLEANUP(void) __attribute__ ((unused));
/external/valgrind/memcheck/tests/
H A Dtrivialleak.c5 void* leak __attribute__((unused));

Completed in 4488 milliseconds

1234567891011>>