Searched refs:__thread (Results 1 – 25 of 251) sorted by relevance
1234567891011
14 __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 …]
28 __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…
10 static __thread int y __attribute((tls_model("global-dynamic"))); // no-warning12 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…
13 __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 …]
18 __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()
12 int __thread x;14 static int __thread y; in f()17 int __thread __attribute__((tls_model("initial-exec"))) z;
117 __thread int local_thread_var = 42;118 extern __thread int thread_var;
16 __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()
17 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;
23 __thread void *ptr1;24 __thread void *ptr2;25 __thread void *ptr3;26 __thread void *ptr4;27 __thread void *ptr5;
3 __thread char global_var0;4 __thread int global_var1;5 __thread unsigned global_var2;
4 __thread int global_var0;5 __thread int global_var1;
36 static __thread struct gpr_gcc_thread_local name = {0}39 static __thread struct gpr_gcc_thread_local name41 #define GPR_TLS_CLASS_DEF(name) __thread struct gpr_gcc_thread_local name = {0}
30 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;
14 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;
86 "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;
15 #define EIGEN_THREAD_LOCAL static __thread17 #define EIGEN_THREAD_LOCAL static __thread
10 extern __thread int thread_cpu_id;13 extern __thread int preempt_disable_count;
25 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()
20 #define __thread __declspec(thread) macro25 static __thread _Type_ s_obj_##_var_; \