Home
last modified time | relevance | path

Searched refs:g_thread_local_key (Results 1 – 4 of 4) sorted by relevance

/external/rust/crates/quiche/deps/boringssl/src/crypto/
Dthread_pthread.c127 static pthread_key_t g_thread_local_key; variable
153 pthread_key_delete(g_thread_local_key); in thread_key_destructor()
160 pthread_key_create(&g_thread_local_key, thread_local_destructor) == 0; in thread_local_init()
169 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_get_thread_local()
184 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_set_thread_local()
192 if (pthread_setspecific(g_thread_local_key, pointers) != 0) { in CRYPTO_set_thread_local()
Dthread_win.c93 static DWORD g_thread_local_key; variable
97 g_thread_local_key = TlsAlloc(); in thread_local_init()
98 g_thread_local_failed = (g_thread_local_key == TLS_OUT_OF_INDEXES); in thread_local_init()
117 void **pointers = (void**) TlsGetValue(g_thread_local_key); in thread_local_destructor()
211 void **ret = TlsGetValue(g_thread_local_key); in get_thread_locals()
245 if (TlsSetValue(g_thread_local_key, pointers) == 0) { in CRYPTO_set_thread_local()
/external/boringssl/src/crypto/
Dthread_win.c93 static DWORD g_thread_local_key; variable
97 g_thread_local_key = TlsAlloc(); in thread_local_init()
98 g_thread_local_failed = (g_thread_local_key == TLS_OUT_OF_INDEXES); in thread_local_init()
117 void **pointers = (void**) TlsGetValue(g_thread_local_key); in thread_local_destructor()
211 void **ret = TlsGetValue(g_thread_local_key); in get_thread_locals()
245 if (TlsSetValue(g_thread_local_key, pointers) == 0) { in CRYPTO_set_thread_local()
Dthread_pthread.c127 static pthread_key_t g_thread_local_key; variable
132 pthread_key_create(&g_thread_local_key, thread_local_destructor) == 0; in thread_local_init()
141 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_get_thread_local()
156 void **pointers = pthread_getspecific(g_thread_local_key); in CRYPTO_set_thread_local()
164 if (pthread_setspecific(g_thread_local_key, pointers) != 0) { in CRYPTO_set_thread_local()