Home
last modified time | relevance | path

Searched refs:thread_local_key (Results 1 – 3 of 3) sorted by relevance

/third_party/openssl/crypto/
Dthreads_none.c82 static unsigned int thread_local_key = 0; in CRYPTO_THREAD_init_local() local
84 if (thread_local_key >= OPENSSL_CRYPTO_THREAD_LOCAL_KEY_MAX) in CRYPTO_THREAD_init_local()
87 *key = thread_local_key++; in CRYPTO_THREAD_init_local()
/third_party/node/deps/openssl/openssl/crypto/
Dthreads_none.c82 static unsigned int thread_local_key = 0; in CRYPTO_THREAD_init_local() local
84 if (thread_local_key >= OPENSSL_CRYPTO_THREAD_LOCAL_KEY_MAX) in CRYPTO_THREAD_init_local()
87 *key = thread_local_key++; in CRYPTO_THREAD_init_local()
/third_party/openssl/test/
Dthreadstest.c77 static CRYPTO_THREAD_LOCAL thread_local_key; variable
97 ptr = CRYPTO_THREAD_get_local(&thread_local_key); in thread_local_thread_cb()
99 || !TEST_true(CRYPTO_THREAD_set_local(&thread_local_key, in thread_local_thread_cb()
103 ptr = CRYPTO_THREAD_get_local(&thread_local_key); in thread_local_thread_cb()
115 if (!TEST_true(CRYPTO_THREAD_init_local(&thread_local_key, in test_thread_local()
119 ptr = CRYPTO_THREAD_get_local(&thread_local_key); in test_thread_local()
128 ptr = CRYPTO_THREAD_get_local(&thread_local_key); in test_thread_local()
138 if (!TEST_true(CRYPTO_THREAD_cleanup_local(&thread_local_key))) in test_thread_local()