Home
last modified time | relevance | path

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

123456

/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/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;
Dalias.c9 __thread int TL_WITH_ALIAS;
36 extern __thread int __libc_errno __attribute__ ((alias ("TL_WITH_ALIAS")));
/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/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;
Dmatchpathcon.c68 static __thread struct selabel_handle *hnd;
73 static __thread char **con_array;
74 static __thread int con_array_size;
75 static __thread int con_array_used;
146 static __thread struct selinux_opt options[SELABEL_NOPT];
147 static __thread int notrans;
/external/libunwind/
Dacinclude.m42 [dnl Check whether the compiler supports the __thread keyword.
4 AC_CACHE_CHECK([for __thread], libc_cv_gcc___thread,
6 __thread int a = 42;
16 [Define to 1 if __thread keyword is supported by the C compiler.])
/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;
Dpreempt.c55 __thread int thread_cpu_id;
56 __thread int preempt_disable_count;
/external/tensorflow/tensorflow/stream_executor/lib/
Dstatic_threadlocal.h20 #define __thread __declspec(thread) macro
25 static __thread _Type_ s_obj_##_var_; \
/external/mesa3d/src/mapi/
Du_current.h32 extern __thread struct _glapi_table *u_current_table
35 extern __thread void *u_current_context
Du_current.c102 __thread struct _glapi_table *u_current_table
106 __thread void *u_current_context
/external/jemalloc_new/include/jemalloc/internal/
Dtsd_malloc_thread_cleanup.h6 extern __thread tsd_t tsd_tls;
7 extern __thread bool tsd_initialized;
/external/libcxxabi/src/
Dcxa_thread_atexit.cpp65 __thread DtorList* dtors = nullptr;
67 __thread bool dtors_alive = false;
/external/clang/test/SemaCXX/
Ddeclspec-thread.cpp4 __thread __declspec(thread) int a; // expected-error {{already has a thread-local storage specifier…
5 __declspec(thread) __thread int b; // expected-error {{already has a thread-local storage specifier…
/external/compiler-rt/test/asan/TestCases/Linux/
Dstress_dtls.c53 __thread int my_tls;
113 __thread void *huge_thread_local_array[DTLS_SIZE];
/external/linux-kselftest/tools/testing/selftests/rseq/
Drseq.c33 __attribute__((tls_model("initial-exec"))) __thread
38 static __attribute__((tls_model("initial-exec"))) __thread
/external/mesa3d/src/mapi/glapi/
Dglapi.h91 _GLAPI_EXPORT extern __thread struct _glapi_table * _glapi_tls_Dispatch
94 _GLAPI_EXPORT extern __thread void * _glapi_tls_Context

123456