Home
last modified time | relevance | path

Searched refs:__thread (Results 1 – 25 of 251) sorted by relevance

1234567891011

/external/llvm-project/clang/test/Sema/
Dthread-specifier.c14 __thread int t1; // thread-local-warning {{'_Thread_local' is a C11 extension}}
15 __thread extern int t2; // thread-local-warning {{'_Thread_local' is a C11 extension}}
16 __thread static int t3; // thread-local-warning {{'_Thread_local' is a C11 extension}}
22 __thread __private_extern__ int t4; // thread-local-warning {{'_Thread_local' is a C11 extension}}
23 struct t5 { __thread int x; }; // thread-local-warning {{'_Thread_local' is a C11 extension}}
31 __thread int t6(); // thread-local-warning {{'_Thread_local' is a C11 extension}}
40 int f(__thread int t7) { // expected-error {{' is only allowed on variable declarations}} \ in f()
42 __thread int t8; // thread-local-warning {{'_Thread_local' is a C11 extension}} in f()
48 extern __thread int t9; // thread-local-warning {{'_Thread_local' is a C11 extension}} in f()
49 static __thread int t10; // thread-local-warning {{'_Thread_local' is a C11 extension}} in f()
[all …]
Dtls_alignment.cpp28 __thread non_aligned_struct foo;
31 __thread aligned_struct bar; // expected-error{{alignment (64) of thread-local v…
34 __thread non_aligned_struct bar2 __attribute__(( aligned(64) )); // expected-error{{…
37 __thread struct_with_aligned_field bar3; // expected-error{{alignment (64) of thread-local …
40 __thread another_aligned_struct bar4; // expected-error{{alignment (64) of thread-local …
43 __thread yet_another_aligned_struct bar5; // expected-error{{alignment (64) of thread-local …
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-loc…
Dattr-tls_model.c10 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'…
13 static __thread int y __attribute((tls_model(123))); // expected-error {{'tls_model' attribute requ…
14 static __thread int y __attribute((tls_model("foobar"))); // expected-error {{tls_model must be "gl…
/external/clang/test/Sema/
Dthread-specifier.c13 __thread int t1;
14 __thread extern int t2;
15 __thread static int t3;
21 __thread __private_extern__ int t4;
22 struct t5 { __thread int x; };
30 __thread int t6();
39 int f(__thread int t7) { // expected-error {{' is only allowed on variable declarations}} in f()
40 __thread int t8; in f()
46 extern __thread int t9; in f()
47 static __thread int t10; in f()
[all …]
Dtls_alignment.cpp28 __thread non_aligned_struct foo;
31 __thread aligned_struct bar; // expected-error{{alignment (64) of thread-local v…
34 __thread non_aligned_struct bar2 __attribute__(( aligned(64) )); // expected-error{{…
37 __thread struct_with_aligned_field bar3; // expected-error{{alignment (64) of thread-local …
40 __thread another_aligned_struct bar4; // expected-error{{alignment (64) of thread-local …
43 __thread yet_another_aligned_struct bar5; // expected-error{{alignment (64) of thread-local …
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-loc…
Dattr-tls_model.c10 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'…
13 static __thread int y __attribute((tls_model(123))); // expected-error {{'tls_model' attribute requ…
14 static __thread int y __attribute((tls_model("foobar"))); // expected-error {{tls_model must be "gl…
/external/llvm-project/clang/test/CodeGen/
Dthread-specifier.c18 __thread int a;
19 extern __thread int b;
22 __thread static int e; in d()
23 __thread static union {float a; int b;} f = {.b = 1}; in d()
27 __thread int g __attribute__((tls_model("global-dynamic")));
28 __thread int h __attribute__((tls_model("local-dynamic")));
29 __thread int i __attribute__((tls_model("initial-exec")));
30 __thread int j __attribute__((tls_model("local-exec")));
33 __thread static int a __attribute__((tls_model("initial-exec"))); in f()
Dtls-model.cpp12 int __thread x;
14 static int __thread y; in f()
17 int __thread __attribute__((tls_model("initial-exec"))) z;
Ddso-local-executable.c117 __thread int local_thread_var = 42;
118 extern __thread int thread_var;
/external/clang/test/CodeGen/
Dthread-specifier.c16 __thread int a;
17 extern __thread int b;
20 __thread static int e; in d()
21 __thread static union {float a; int b;} f = {.b = 1}; in d()
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"))); in f()
Dtls-model.c12 int __thread x;
14 static int __thread y; in f()
17 int __thread __attribute__((tls_model("initial-exec"))) z;
/external/llvm-project/clang/test/SemaCUDA/
Dqualifiers.cu17 int __thread host_tls_var;
22 __device__ int __thread device_tls_var; // expected-error {{thread-local storage is not supported f…
24 __shared__ int __thread shared_tls_var; // expected-error {{thread-local storage is not supported f…
29 __device__ int __thread device_tls_var;
31 __shared__ int __thread shared_tls_var;
/external/clang/test/SemaCUDA/
Dqualifiers.cu17 int __thread host_tls_var;
22 __device__ int __thread device_tls_var; // expected-error {{thread-local storage is not supported f…
24 __shared__ int __thread shared_tls_var; // expected-error {{thread-local storage is not supported f…
29 __device__ int __thread device_tls_var;
31 __shared__ int __thread shared_tls_var;
/external/llvm-project/compiler-rt/test/lsan/TestCases/
Dmany_tls_keys_thread.cpp23 __thread void *ptr1;
24 __thread void *ptr2;
25 __thread void *ptr3;
26 __thread void *ptr4;
27 __thread void *ptr5;
/external/libabigail/tests/data/test-diff-dwarf/
Dtest9-v1.cc3 __thread char global_var0;
4 __thread int global_var1;
5 __thread unsigned global_var2;
Dtest9-v0.cc4 __thread int global_var0;
5 __thread int global_var1;
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gpr/
Dtls_gcc.h36 static __thread struct gpr_gcc_thread_local name = {0}
39 static __thread struct gpr_gcc_thread_local name
41 #define GPR_TLS_CLASS_DEF(name) __thread struct gpr_gcc_thread_local name = {0}
/external/grpc-grpc/src/core/lib/gpr/
Dtls_gcc.h36 static __thread struct gpr_gcc_thread_local name = {0}
39 static __thread struct gpr_gcc_thread_local name
41 #define GPR_TLS_CLASS_DEF(name) __thread struct gpr_gcc_thread_local name = {0}
/external/selinux/libselinux/src/
Dsetrans_client.c30 static __thread char * prev_t2r_trans = NULL;
31 static __thread char * prev_t2r_raw = NULL;
32 static __thread char * prev_r2t_trans = NULL;
33 static __thread char * prev_r2t_raw = NULL;
34 static __thread char *prev_r2c_trans = NULL;
35 static __thread char * prev_r2c_raw = NULL;
40 static __thread char destructor_initialized;
Dprocattr.c14 static __thread char *prev_current = UNSET;
15 static __thread char * prev_exec = UNSET;
16 static __thread char * prev_fscreate = UNSET;
17 static __thread char * prev_keycreate = UNSET;
18 static __thread char * prev_sockcreate = UNSET;
23 static __thread char destructor_initialized;
/external/compiler-rt/lib/safestack/
Dsafestack.cc86 "default"))) __thread void *__safestack_unsafe_stack_ptr = nullptr;
91 static __thread void *unsafe_stack_start = nullptr;
92 static __thread size_t unsafe_stack_size = 0;
93 static __thread size_t unsafe_stack_guard = 0;
/external/eigen/unsupported/Eigen/CXX11/src/ThreadPool/
DThreadLocal.h15 #define EIGEN_THREAD_LOCAL static __thread
17 #define EIGEN_THREAD_LOCAL static __thread
/external/linux-kselftest/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
Dpreempt.h10 extern __thread int thread_cpu_id;
13 extern __thread int preempt_disable_count;
/external/libabigail/tests/
Dtest-utils.cc25 static __thread const char* s(ABIGAIL_SRC_DIR); in get_src_dir()
39 static __thread const char* s(ABIGAIL_BUILD_DIR); in get_build_dir()
/external/tensorflow/tensorflow/stream_executor/lib/
Dstatic_threadlocal.h20 #define __thread __declspec(thread) macro
25 static __thread _Type_ s_obj_##_var_; \

1234567891011