Home
last modified time | relevance | path

Searched refs:destructor_key (Results 1 – 4 of 4) sorted by relevance

/third_party/openssl/crypto/
Dinit.c50 } destructor_key = { -1 }; variable
62 CRYPTO_THREAD_get_local(&destructor_key.value); in ossl_init_get_thread_local()
67 && !CRYPTO_THREAD_set_local(&destructor_key.value, local)) { in ossl_init_get_thread_local()
72 CRYPTO_THREAD_set_local(&destructor_key.value, NULL); in ossl_init_get_thread_local()
105 destructor_key.value = key; in DEFINE_RUN_ONCE_STATIC()
454 if (destructor_key.sane != -1) in OPENSSL_thread_stop()
560 key = destructor_key.value; in OPENSSL_cleanup()
561 destructor_key.sane = -1; in OPENSSL_cleanup()
/third_party/selinux/libselinux/src/
Dprocattr.c21 static pthread_key_t destructor_key; variable
65 __selinux_key_delete(destructor_key); in procattr_destructor()
71 __selinux_setspecific(destructor_key, (void *)1); in init_thread_destructor()
78 if (__selinux_key_create(&destructor_key, procattr_thread_destructor) == 0) { in init_procattr()
Dsetrans_client.c37 static pthread_key_t destructor_key; variable
267 __selinux_key_delete(destructor_key); in setrans_lib_destructor()
275 __selinux_setspecific(destructor_key, (void *)1); in init_thread_destructor()
285 if (__selinux_key_create(&destructor_key, setrans_thread_destructor) == 0) in init_context_translations()
Dmatchpathcon.c78 static pthread_key_t destructor_key; variable
344 __selinux_key_delete(destructor_key); in matchpathcon_lib_destructor()
349 if (__selinux_key_create(&destructor_key, matchpathcon_thread_destructor) == 0) in matchpathcon_init_once()
359 __selinux_setspecific(destructor_key, (void *)1); in matchpathcon_init_prefix()