Lines Matching refs:pointers
116 void **pointers = arg; in thread_local_destructor() local
119 destructors[i](pointers[i]); in thread_local_destructor()
123 OPENSSL_free(pointers); in thread_local_destructor()
141 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_get_thread_local() local
142 if (pointers == NULL) { in CRYPTO_get_thread_local()
145 return pointers[index]; in CRYPTO_get_thread_local()
156 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_set_thread_local() local
157 if (pointers == NULL) { in CRYPTO_set_thread_local()
158 pointers = OPENSSL_malloc(sizeof(void *) * NUM_OPENSSL_THREAD_LOCALS); in CRYPTO_set_thread_local()
159 if (pointers == NULL) { in CRYPTO_set_thread_local()
163 OPENSSL_memset(pointers, 0, sizeof(void *) * NUM_OPENSSL_THREAD_LOCALS); in CRYPTO_set_thread_local()
164 if (pthread_setspecific(g_thread_local_key, pointers) != 0) { in CRYPTO_set_thread_local()
165 OPENSSL_free(pointers); in CRYPTO_set_thread_local()
178 pointers[index] = value; in CRYPTO_set_thread_local()