Searched refs:test_key (Results 1 – 3 of 3) sorted by relevance
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/asan/tests/ |
H A D | asan_mac_test.cc | 188 void *TSDAllocWorker(void *test_key) { in TSDAllocWorker() argument 189 if (test_key) { in TSDAllocWorker() 191 pthread_setspecific(*(pthread_key_t*)test_key, mem); in TSDAllocWorker() 198 pthread_key_t test_key; in TEST() local 199 pthread_key_create(&test_key, CallFreeOnWorkqueue); in TEST() 200 PTHREAD_CREATE(&th, NULL, TSDAllocWorker, &test_key); in TEST() 202 pthread_key_delete(test_key); in TEST()
|
H A D | asan_test.cc | 164 void *TSDWorker(void *test_key) { in TSDWorker() argument 165 if (test_key) { in TSDWorker() 166 pthread_setspecific(*(pthread_key_t*)test_key, (void*)0xfeedface); in TSDWorker() 187 pthread_key_t test_key; in TEST() local 188 pthread_key_create(&test_key, TSDDestructor); in TEST() 189 PTHREAD_CREATE(&th, NULL, TSDWorker, &test_key); in TEST() 191 pthread_key_delete(test_key); in TEST()
|
/netbsd-src/crypto/external/bsd/openssl/dist/test/ |
H A D | endecoder_legacy_test.c | 504 static int test_key(int idx) in test_key() function 721 ADD_ALL_TESTS(test_key, OSSL_NELEM(test_stanzas)); in OPT_TEST_DECLARE_USAGE()
|