OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:__thread
(Results
1 - 25
of
84
) sorted by null
1
2
3
4
/external/clang/test/CodeGen/
darwin-thread-specifier.c
3
__thread
int b = 5;
tls-model.c
7
int
__thread
x;
9
static int
__thread
y;
12
int
__thread
__attribute__((tls_model("initial-exec"))) z;
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")));
/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"}}
/external/clang/test/SemaCXX/
cxx11-thread-local-print.cpp
3
// CHECK:
__thread
int gnu_tl;
6
__thread
int gnu_tl;
declspec-thread.cpp
3
__thread
__declspec(thread) int a; // expected-error {{already has a thread-local storage specifier}}
4
__declspec(thread)
__thread
int b; // expected-error {{already has a thread-local storage specifier}}
/external/compiler-rt/test/lsan/TestCases/
use_tls_static.cc
11
__thread
void *tls_var;
fork.cc
11
__thread
void *thread_local_var;