Lines Matching refs:pointers
112 void **pointers = arg; in thread_local_destructor() local
115 destructors[i](pointers[i]); in thread_local_destructor()
119 OPENSSL_free(pointers); in thread_local_destructor()
165 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_get_thread_local() local
166 if (pointers == NULL) { in CRYPTO_get_thread_local()
169 return pointers[index]; in CRYPTO_get_thread_local()
180 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_set_thread_local() local
181 if (pointers == NULL) { in CRYPTO_set_thread_local()
182 pointers = OPENSSL_malloc(sizeof(void *) * NUM_OPENSSL_THREAD_LOCALS); in CRYPTO_set_thread_local()
183 if (pointers == NULL) { in CRYPTO_set_thread_local()
187 OPENSSL_memset(pointers, 0, sizeof(void *) * NUM_OPENSSL_THREAD_LOCALS); in CRYPTO_set_thread_local()
188 if (pthread_setspecific(g_thread_local_key, pointers) != 0) { in CRYPTO_set_thread_local()
189 OPENSSL_free(pointers); in CRYPTO_set_thread_local()
202 pointers[index] = value; in CRYPTO_set_thread_local()