HomeSort by relevance Sort by last modified time
    Searched refs:__thread (Results 1 - 25 of 119) sorted by null

1 2 3 4 5

  /external/clang/test/CodeGen/
darwin-thread-specifier.c 3 __thread int b = 5;
thread-specifier.c 16 __thread int a;
17 extern __thread int b;
20 __thread static int e;
21 __thread static union {float a; int b;} f = {.b = 1};
25 __thread int g __attribute__((tls_model("global-dynamic")));
26 __thread int h __attribute__((tls_model("local-dynamic")));
27 __thread int i __attribute__((tls_model("initial-exec")));
28 __thread int j __attribute__((tls_model("local-exec")));
31 __thread static int a __attribute__((tls_model("initial-exec")));
tls-model.c 12 int __thread x;
14 static int __thread y;
17 int __thread __attribute__((tls_model("initial-exec"))) z;
  /external/clang/test/Sema/
tls.c 26 __thread int x;
thread-specifier.c 13 __thread int t1;
14 __thread extern int t2;
15 __thread static int t3;
17 // expected-warning@-3 {{'__thread' before 'extern'}}
18 // expected-warning@-3 {{'__thread' before 'static'}}
21 __thread __private_extern__ int t4;
22 struct t5 { __thread int x; };
24 // expected-error-re@-2 {{'{{__thread|_Thread_local|thread_local}}' is only allowed on variable declarations}}
30 __thread int t6();
32 // expected-error@-2 {{'__thread' is only allowed on variable declarations}
    [all...]
attr-tls_model.c 10 static __thread int y __attribute((tls_model("global-dynamic"))); // no-warning
12 static __thread int y __attribute((tls_model("local", "dynamic"))); // expected-error {{'tls_model' attribute takes one argument}}
13 static __thread int y __attribute((tls_model(123))); // expected-error {{'tls_model' attribute requires a string}}
14 static __thread int y __attribute((tls_model("foobar"))); // expected-error {{tls_model must be "global-dynamic", "local-dynamic", "initial-exec" or "local-exec"}}
tls_alignment.cpp 28 __thread non_aligned_struct foo;
31 __thread aligned_struct bar; // expected-error{{alignment (64) of thread-local variable}}
34 __thread non_aligned_struct bar2 __attribute__(( aligned(64) )); // expected-error{{alignment (64) of thread-local variable}}
37 __thread struct_with_aligned_field bar3; // expected-error{{alignment (64) of thread-local variable}}
40 __thread another_aligned_struct bar4; // expected-error{{alignment (64) of thread-local variable}}
43 __thread yet_another_aligned_struct bar5; // expected-error{{alignment (64) of thread-local variable}}
58 static __thread T t;
61 __thread templated_tls<int> blah; // expected-error{{alignment (64) of thread-local variable}}
72 static int __thread __attribute__((aligned(N))) x; // expected-error{{alignment (64) of thread-local variable}}
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-plugin/
pr16846c.c 0 __thread int foo;
pr16846b.c 1 extern __thread int foo;
  /toolchain/binutils/binutils-2.25/gold/testsuite/
tls_test_file2.cc 28 __thread int o1;
29 __thread int o2 = -2;
30 __thread int o3;
gc_tls_test.cc 26 __thread int number;
tls_test.h 54 extern __thread int o1;
55 extern __thread int o2;
56 extern __thread int o3;
tls_test.cc 62 __thread int v1;
63 static __thread int v2;
67 __thread char* p1;
69 __thread char* p2 = &dummy;
71 __thread int v3 = 3;
72 static __thread int v4 = 4;
73 __thread int v5;
74 static __thread int v6;
82 static __thread struct int128 v12 = { 115, 125 };
  /external/valgrind/none/tests/
tls2.c 4 __thread int static_extern;
tls2_so.c 4 __thread int so_extern;
tls_so.c 6 extern __thread int so_extern;
7 static __thread int so_local;
8 extern __thread int global;
  /toolchain/binutils/binutils-2.25/ld/testsuite/ld-size/
size-2a.c 0 __thread char bar[10] __attribute__ ((visibility("hidden")));
size-3c.c 0 __thread char bar[10] __attribute__ ((visibility("hidden")));
size-8b.c 0 __thread char bar[10];
size-10b.c 0 __thread char bar[10];
size-2b.c 1 extern __thread char bar[];
  /external/clang/test/SemaCXX/
cxx11-thread-local-print.cpp 3 // CHECK: __thread int gnu_tl;
6 __thread int gnu_tl;
  /prebuilts/go/darwin-x86/misc/cgo/testtls/
tls_unix.c 7 static __thread int tls;
  /prebuilts/go/linux-x86/misc/cgo/testtls/
tls_unix.c 7 static __thread int tls;
  /external/compiler-rt/test/lsan/TestCases/
use_tls_static.cc 11 __thread void *tls_var;

Completed in 812 milliseconds

1 2 3 4 5