OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:test_key
(Results
1 - 2
of
2
) sorted by relevancy
/src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/
asan_mac_test.cc
188
void *TSDAllocWorker(void *
test_key
) {
189
if (
test_key
) {
191
pthread_setspecific(*(pthread_key_t*)
test_key
, mem);
198
pthread_key_t
test_key
;
local in function:TEST
199
pthread_key_create(&
test_key
, CallFreeOnWorkqueue);
200
PTHREAD_CREATE(&th, NULL, TSDAllocWorker, &
test_key
);
202
pthread_key_delete(
test_key
);
asan_test.cc
164
void *TSDWorker(void *
test_key
) {
165
if (
test_key
) {
166
pthread_setspecific(*(pthread_key_t*)
test_key
, (void*)0xfeedface);
187
pthread_key_t
test_key
;
local in function:TEST
188
pthread_key_create(&
test_key
, TSDDestructor);
189
PTHREAD_CREATE(&th, NULL, TSDWorker, &
test_key
);
191
pthread_key_delete(
test_key
);
Completed in 29 milliseconds
Indexes created Sun Sep 28 16:09:52 GMT 2025