Lines Matching refs:pointers
82 void **pointers = reinterpret_cast<void **>(arg); in thread_local_destructor() local
85 destructors[i](pointers[i]); in thread_local_destructor()
89 free(pointers); in thread_local_destructor()
107 void **pointers = in CRYPTO_get_thread_local() local
109 if (pointers == NULL) { in CRYPTO_get_thread_local()
112 return pointers[index]; in CRYPTO_get_thread_local()
123 void **pointers = in CRYPTO_set_thread_local() local
125 if (pointers == NULL) { in CRYPTO_set_thread_local()
126 pointers = reinterpret_cast<void **>( in CRYPTO_set_thread_local()
128 if (pointers == NULL) { in CRYPTO_set_thread_local()
132 OPENSSL_memset(pointers, 0, sizeof(void *) * NUM_OPENSSL_THREAD_LOCALS); in CRYPTO_set_thread_local()
133 if (pthread_setspecific(g_thread_local_key, pointers) != 0) { in CRYPTO_set_thread_local()
134 free(pointers); in CRYPTO_set_thread_local()
147 pointers[index] = value; in CRYPTO_set_thread_local()