Home
last modified time | relevance | path

Searched refs:thread_local_storage (Results 1 – 5 of 5) sorted by relevance

/third_party/flutter/skia/third_party/externals/sdl/src/thread/windows/
DSDL_systls.c31 static DWORD thread_local_storage = TLS_OUT_OF_INDEXES; variable
37 if (thread_local_storage == TLS_OUT_OF_INDEXES && !generic_local_storage) { in SDL_SYS_GetTLSData()
40 if (thread_local_storage == TLS_OUT_OF_INDEXES && !generic_local_storage) { in SDL_SYS_GetTLSData()
44 thread_local_storage = storage; in SDL_SYS_GetTLSData()
55 return (SDL_TLSData *)TlsGetValue(thread_local_storage); in SDL_SYS_GetTLSData()
64 if (!TlsSetValue(thread_local_storage, data)) { in SDL_SYS_SetTLSData()
/third_party/flutter/skia/third_party/externals/sdl/src/thread/pthread/
DSDL_systls.c30 static pthread_key_t thread_local_storage = INVALID_PTHREAD_KEY; variable
36 if (thread_local_storage == INVALID_PTHREAD_KEY && !generic_local_storage) { in SDL_SYS_GetTLSData()
39 if (thread_local_storage == INVALID_PTHREAD_KEY && !generic_local_storage) { in SDL_SYS_GetTLSData()
43 thread_local_storage = storage; in SDL_SYS_GetTLSData()
54 return (SDL_TLSData *)pthread_getspecific(thread_local_storage); in SDL_SYS_GetTLSData()
63 if (pthread_setspecific(thread_local_storage, data) != 0) { in SDL_SYS_SetTLSData()
/third_party/openssl/crypto/
Dthreads_none.c78 static void *thread_local_storage[OPENSSL_CRYPTO_THREAD_LOCAL_KEY_MAX]; variable
89 thread_local_storage[*key] = NULL; in CRYPTO_THREAD_init_local()
99 return thread_local_storage[*key]; in CRYPTO_THREAD_get_local()
107 thread_local_storage[*key] = val; in CRYPTO_THREAD_set_local()
/third_party/libuv/test/
Dtest-thread.c144 TEST_IMPL(thread_local_storage) { in TEST_IMPL() argument
Dtest-list.h426 TEST_DECLARE (thread_local_storage)
1076 TEST_ENTRY (thread_local_storage)