Searched refs:used (Results 1 - 25 of 947) sorted by relevance

1234567891011>>

/external/clang/test/SemaCXX/
H A Dattr-used.cpp3 extern char test1[] __attribute__((used)); // expected-warning {{'used' attribute ignored}}
4 extern const char test2[] __attribute__((used)); // expected-warning {{'used' attribute ignored}}
5 extern const char test3[] __attribute__((used)) = "";
H A Dwarn-unused-attribute.cpp14 Test used; local
16 used.use();
/external/clang/test/CodeGenCXX/
H A Dpr21989.cpp5 void __attribute__((used)) f() {}
H A Dattr-used.cpp3 // <rdar://problem/8684363>: clang++ not respecting __attribute__((used)) on destructors
6 __attribute__((used)) X0() {}
8 __attribute__((used)) ~X0() {}
11 // PR19743: not emitting __attribute__((used)) inline methods in nested classes.
15 void __attribute__((used)) f() {}
22 void __attribute__((used)) bar() { foo(); }
H A Dextern-c.cpp62 __attribute__((used)) static int internal_var;
63 __attribute__((used)) static int internal_fn() { return 0; }
65 __attribute__((used)) static int duplicate_internal_var;
66 __attribute__((used)) static int duplicate_internal_fn() { return 0; }
69 __attribute__((used)) static int duplicate_internal_var;
70 __attribute__((used)) static int duplicate_internal_fn() { return 0; }
73 // CHECK: @llvm.used = appending global {{.*}} @internal_var {{.*}} @internal_fn
/external/clang/test/CodeGen/
H A D2005-12-04-AttributeUsed.c3 // CHECK: @llvm.used = appending global [2 x i8*] [i8* bitcast (void ()* @foo to i8*), i8* bitcast (i32* @X to i8*)], section "llvm.metadata"
4 int X __attribute__((used));
7 __attribute__((used)) void foo() {}
H A Dattr-used.c2 // RUN: grep '@llvm.used = .*@a0' %t
3 // RUN: grep '@llvm.used = .*@g0' %t
4 // RUN: grep '@llvm.used = .*@f0' %t
5 // RUN: grep '@llvm.used = .*@f1.l0' %t
8 int g0 __attribute__((used));
10 static void __attribute__((used)) f0(void) {
14 static int l0 __attribute__((used)) = 5225;
17 __attribute__((used)) int a0;
H A Dblock-with-perdefinedexpr.c8 __attribute__((used))
/external/clang/test/Index/
H A Dretain-target-options.c5 // CHECK: error: SSE4_1 used
7 #error SSE4_1 used
/external/clang/test/Sema/
H A Dattr-used.c3 extern int l0 __attribute__((used)); // expected-warning {{'used' attribute ignored}}
4 __private_extern__ int l1 __attribute__((used)); // expected-warning {{'used' attribute ignored}}
6 struct __attribute__((used)) s { // expected-warning {{'used' attribute only applies to variables and functions}}
10 int a __attribute__((used));
12 static void __attribute__((used)) f0(void) {
16 static int a __attribute__((used));
17 int b __attribute__((used)); // expecte
[all...]
H A Dgnu-attributes.c8 struct s __attribute__((used)) foo;
18 struct s *quux __attribute__((used));
/external/regex-re2/util/
H A Dstrutil.cc20 int used = 0; local
23 if (dest_len - used < 2) // Need space for two letter escape
28 case '\n': dest[used++] = '\\'; dest[used++] = 'n'; break;
29 case '\r': dest[used++] = '\\'; dest[used++] = 'r'; break;
30 case '\t': dest[used++] = '\\'; dest[used++] = 't'; break;
31 case '\"': dest[used++] = '\\'; dest[used
[all...]
/external/compiler-rt/lib/asan/
H A Dasan_preinit.cc23 __attribute__((section(".preinit_array"), used))
/external/compiler-rt/lib/lsan/
H A Dlsan_preinit.cc20 __attribute__((section(".preinit_array"), used))
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_preinit.cc24 __attribute__((section(".preinit_array"), used))
/external/r8/src/test/examples/throwing/
H A DThrowing.java15 static int[] used = new int[10]; field in class:Throwing
19 used[0] = throwAtFistLine(42);
24 used[1] = throwInMiddle(42);
29 used[2] = throwAfterMultiInline(42);
36 used[6] = value * 10;
37 used[7] = anotherInlinedFunction(value);
41 used[8] = value / (value & 0x0);
49 used[3] = nested.justThrow(42);
56 used[0] += Nested.callAMethod(nested, 11);
57 used[
[all...]
/external/vboot_reference/firmware/lib/
H A Dutility_string.c52 /* Don't count the terminating null in the bytes used */
58 uint32_t used = 0; local
64 while (dest[used] && used < destlen - 1)
65 used++;
68 while (*src && used < destlen - 1)
69 dest[used++] = *src++;
72 dest[used] = 0;
73 return used;
H A Dvboot_display.c5 * Display functions used in kernel selection.
511 uint32_t used = 0; local
521 used += StrnAppend(buf + used, "HWID: ", DEBUG_INFO_SIZE - used);
522 used += StrnAppend(buf + used, hwid, DEBUG_INFO_SIZE - used);
526 used += StrnAppend(buf + used,
[all...]
/external/kmod/shared/
H A Dstrbuf.c56 buf->used = 0;
68 bytes = realloc(buf->bytes, buf->used + 1);
73 bytes[buf->used] = '\0';
79 if (!buf_grow(buf, buf->used + 1))
81 buf->bytes[buf->used] = '\0';
87 if (!buf_grow(buf, buf->used + 1))
89 buf->bytes[buf->used] = ch;
90 buf->used++;
103 if (!buf_grow(buf, buf->used + len))
106 memcpy(buf->bytes + buf->used, st
[all...]
/external/clang/include/clang/Sema/
H A DWeak.h10 // This file defines the WeakInfo class, which is used to store
28 bool used; // identifier later declared? member in class:clang::WeakInfo
31 : alias(nullptr), loc(SourceLocation()), used(false) {}
33 : alias(Alias), loc(Loc), used(false) {}
36 void setUsed(bool Used=true) { used = Used; }
37 inline bool getUsed() { return used; }
/external/r8/src/test/examples/shaking2/
H A DUnusedSubclass.java7 private int used; field in class:UnusedSubclass
10 public UnusedSubclass(int used) { argument
11 this.used = used;
/external/toybox/toys/pending/
H A Dklogd.c62 * "used" amount to track next read to start.
66 int prio, size, used = 0; local
83 start = msg_buffer + used; //start updated for re-read.
85 size = klogctl(2, start, sizeof(msg_buffer) - used - 1);
87 size = xread(TT.fd, start, sizeof(msg_buffer) - used - 1);
91 if (used) start = msg_buffer;
93 if ((line_start = strsep(&start, "\n")) != NULL && start != NULL) used = 0;
95 used = strlen(line_start);
97 if (used < (sizeof(msg_buffer) - 1)) break;
98 used
[all...]
/external/curl/docs/cmdline-opts/
H A Dmax-redirs.d6 Set maximum number of redirection-followings allowed. When --location is used,
7 is used to prevent curl from following redirections \&"in absurdum". By
11 If this option is used several times, the last one will be used.
/external/webrtc/webrtc/base/
H A Dratelimiter.cc20 void RateLimiter::Use(size_t used, double time) { argument
26 used_in_period_ += used;
/external/boringssl/src/crypto/bio/
H A Dhexdump.c17 * If this package is used in a product, Eric Young should be given attribution
18 * as the author of the parts of the library used.
35 * being used are not cryptographic related :-).
69 unsigned used; /* number of bytes in the current line. */ member in struct:hexdump_ctx
100 if (ctx->used == 0) {
117 if (ctx->used == 7) {
121 } else if (ctx->used == 15) {
132 ctx->right_chars[ctx->used] = to_char(data[i]);
133 ctx->used++;
135 if (ctx->used
[all...]

Completed in 718 milliseconds

1234567891011>>