Searched refs:thread_local_key (Results 1 - 4 of 4) sorted by relevance

/netbsd-current/crypto/external/bsd/openssl.old/dist/test/
H A Dthreadstest.c121 static CRYPTO_THREAD_LOCAL thread_local_key; variable
141 ptr = CRYPTO_THREAD_get_local(&thread_local_key);
143 || !TEST_true(CRYPTO_THREAD_set_local(&thread_local_key,
147 ptr = CRYPTO_THREAD_get_local(&thread_local_key);
159 if (!TEST_true(CRYPTO_THREAD_init_local(&thread_local_key,
163 ptr = CRYPTO_THREAD_get_local(&thread_local_key);
172 ptr = CRYPTO_THREAD_get_local(&thread_local_key);
182 if (!TEST_true(CRYPTO_THREAD_cleanup_local(&thread_local_key)))
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/
H A Dthreads_none.c82 static unsigned int thread_local_key = 0; local
84 if (thread_local_key >= OPENSSL_CRYPTO_THREAD_LOCAL_KEY_MAX)
87 *key = thread_local_key++;
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/
H A Dthreads_none.c82 static unsigned int thread_local_key = 0; local
84 if (thread_local_key >= OPENSSL_CRYPTO_THREAD_LOCAL_KEY_MAX)
87 *key = thread_local_key++;
/netbsd-current/crypto/external/bsd/openssl/dist/test/
H A Dthreadstest.c77 static CRYPTO_THREAD_LOCAL thread_local_key; variable
97 ptr = CRYPTO_THREAD_get_local(&thread_local_key);
99 || !TEST_true(CRYPTO_THREAD_set_local(&thread_local_key,
103 ptr = CRYPTO_THREAD_get_local(&thread_local_key);
115 if (!TEST_true(CRYPTO_THREAD_init_local(&thread_local_key,
119 ptr = CRYPTO_THREAD_get_local(&thread_local_key);
128 ptr = CRYPTO_THREAD_get_local(&thread_local_key);
138 if (!TEST_true(CRYPTO_THREAD_cleanup_local(&thread_local_key)))

Completed in 320 milliseconds