OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:tls_var
(Results
1 - 3
of
3
) sorted by null
/external/compiler-rt/test/lsan/TestCases/
use_tls_static.cc
11
__thread void *
tls_var
;
variable
14
tls_var
= malloc(1337);
15
fprintf(stderr, "Test alloc: %p.\n",
tls_var
);
/external/compiler-rt/test/asan/TestCases/Linux/
unpoison_tls.cc
12
__thread int64_t
tls_var
[2];
variable
17
ASAN_POISON_MEMORY_REGION(&
tls_var
, sizeof(
tls_var
));
18
p_tls_var =
tls_var
;
23
assert(
tls_var
== p_tls_var);
/bionic/tests/
thread_local_test.cpp
213
__emutls_control
tls_var
[num_saved_values];
local
221
memcpy(&
tls_var
[n], &c, sizeof(c));
222
tls_var
[n].align = (1 << n);
229
void* p = __emutls_get_address(&
tls_var
[n]);
232
ASSERT_TRUE(
tls_var
[n].object.index != 0);
237
ASSERT_TRUE(prev_index + 1 ==
tls_var
[n].object.index ||
238
p ==
tls_var
[n].object.address);
241
prev_index =
tls_var
[n].object.index;
255
void* p = __emutls_get_address(&
tls_var
[n]);
Completed in 945 milliseconds