Searched refs:thread_local_key (Results 1 – 2 of 2) sorted by relevance
160 static unsigned int thread_local_key = 0; in CRYPTO_THREAD_init_local() local162 if (thread_local_key >= OPENSSL_CRYPTO_THREAD_LOCAL_KEY_MAX) in CRYPTO_THREAD_init_local()165 *key = thread_local_key++; in CRYPTO_THREAD_init_local()
523 static CRYPTO_THREAD_LOCAL thread_local_key; variable543 ptr = CRYPTO_THREAD_get_local(&thread_local_key); in thread_local_thread_cb()545 || !TEST_true(CRYPTO_THREAD_set_local(&thread_local_key, in thread_local_thread_cb()549 ptr = CRYPTO_THREAD_get_local(&thread_local_key); in thread_local_thread_cb()561 if (!TEST_true(CRYPTO_THREAD_init_local(&thread_local_key, in test_thread_local()565 ptr = CRYPTO_THREAD_get_local(&thread_local_key); in test_thread_local()574 ptr = CRYPTO_THREAD_get_local(&thread_local_key); in test_thread_local()584 if (!TEST_true(CRYPTO_THREAD_cleanup_local(&thread_local_key))) in test_thread_local()
Completed in 10 milliseconds