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

1234567891011>>

/external/clang/test/CodeGen/
H A Dattr-used.c2 // RUN: grep '@llvm.used = .*@g0' %t
3 // RUN: grep '@llvm.used = .*@f0' %t
4 // RUN: grep '@llvm.used = .*@f1.l0' %t
7 int g0 __attribute__((used));
9 static void __attribute__((used)) f0(void) {
13 static int l0 __attribute__((used)) = 5225;
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() {}
/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.cpp47 __attribute__((used)) static int internal_var;
48 __attribute__((used)) static int internal_fn() { return 0; }
50 __attribute__((used)) static int duplicate_internal_var;
51 __attribute__((used)) static int duplicate_internal_fn() { return 0; }
54 __attribute__((used)) static int duplicate_internal_var;
55 __attribute__((used)) static int duplicate_internal_fn() { return 0; }
58 // CHECK: @llvm.used = appending global {{.*}} @internal_var {{.*}} @internal_fn
/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/compiler-rt/lib/builtins/arm64/
H A Ddummy.c11 static void dummy(void) __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/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/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/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/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 :-).
67 unsigned used; /* number of bytes in the current line. */ member in struct:hexdump_ctx
99 if (ctx->used == 0) {
116 if (ctx->used == 7) {
120 } else if (ctx->used == 15) {
131 ctx->right_chars[ctx->used] = to_char(data[i]);
132 ctx->used++;
134 if (ctx->used
[all...]
/external/compiler-rt/lib/ubsan/
H A Dubsan_init_standalone.cc22 __attribute__((section(".preinit_array"), used))
/external/speex/libspeex/
H A Dvq_bfin.h20 contributors may be used to endorse or promote products derived from
73 int i,k,used; local
74 used = 0;
96 for (k=N-1; (k >= 1) && (k > used || dist < best_dist[k-1]); k--)
103 used++;
/external/valgrind/callgrind/
H A Dcosts.c45 (cost_chunk_current->size - cost_chunk_current->used < size)) {
52 cc->used = 0;
64 ptr = &(cost_chunk_current->data[cost_chunk_current->used]);
65 cost_chunk_current->used += size;
/external/mesa3d/src/gallium/auxiliary/pipebuffer/
H A Dpb_validate.c58 unsigned used; member in struct:pb_validate
80 if(vl->used && vl->entries[vl->used - 1].buf == buf) {
81 vl->entries[vl->used - 1].flags |= flags;
86 if(vl->used == vl->size) {
106 assert(!vl->entries[vl->used].buf);
107 pb_reference(&vl->entries[vl->used].buf, buf);
108 vl->entries[vl->used].flags = flags;
109 ++vl->used;
121 for(i = 0; i < vl->used;
[all...]
/external/mesa3d/src/gallium/drivers/r300/compiler/
H A Dradeon_rename_regs.c51 unsigned char * used; local
64 used = memory_pool_malloc(&c->Pool, sizeof(unsigned char) * used_length);
65 memset(used, 0, sizeof(unsigned char) * used_length);
67 rc_get_used_temporaries(c, used, used_length);
79 new_index = rc_find_free_temporary_list(c, used, used_length,
/external/proguard/src/proguard/shrink/
H A DInterfaceUsageMarker.java32 * classes that are being used in the visited class.
46 private boolean used; field in class:InterfaceUsageMarker
52 * @param usageMarker the usage marker that is used to mark the classes
70 // Check if any interfaces are being used.
85 // At least one if this interface's interfaces is being used.
104 used = classUsed;
111 used = true;
124 // The ClassConstant isn't marked as being used yet. But maybe it
127 classUsed = used;
131 // The class is being used
[all...]

Completed in 978 milliseconds

1234567891011>>