/aosp12/bionic/libc/malloc_debug/ |
H A D | debug_disable.cpp | 50 pthread_setspecific(g_disable_key, nullptr); in DebugDisableInitialize() 61 pthread_setspecific(g_disable_key, reinterpret_cast<void*>(1)); in DebugDisableSet() 63 pthread_setspecific(g_disable_key, nullptr); in DebugDisableSet()
|
H A D | RecordData.cpp | 111 pthread_setspecific(thread_data->record_data->key(), data); in ThreadKeyDelete() 182 pthread_setspecific(key_, nullptr); in Initialize() 214 pthread_setspecific(key_, thread_data); in AddEntry()
|
/aosp12/frameworks/native/opengl/libs/EGL/ |
H A D | egl_tls.cpp | 98 pthread_setspecific(sKey, tls); in destructTLSData() 131 pthread_setspecific(sKey, tls); in getTLS() 140 pthread_setspecific(sKey, nullptr); in clearTLS()
|
/aosp12/bionic/libc/dns/resolv/ |
H A D | res_state.c | 118 pthread_setspecific( _res_key, rt ); in _res_thread_get() 132 pthread_setspecific( _res_key, NULL ); in _res_thread_get()
|
/aosp12/system/memory/libmemunreachable/tests/ |
H A D | MemUnreachable_test.cpp | 161 pthread_setspecific(key, hidden_ptr.Get()); in TEST_F() 170 pthread_setspecific(key, nullptr); in TEST_F()
|
/aosp12/frameworks/libs/native_bridge_support/libc/ |
H A D | stubs_arm.cpp | 105 DEFINE_INTERCEPTABLE_STUB_FUNCTION(pthread_setspecific); 198 INIT_INTERCEPTABLE_STUB_FUNCTION("libc.so", pthread_setspecific); in init_stub_library()
|
H A D | stubs_arm64.cpp | 106 DEFINE_INTERCEPTABLE_STUB_FUNCTION(pthread_setspecific); 201 INIT_INTERCEPTABLE_STUB_FUNCTION("libc.so", pthread_setspecific); in init_stub_library()
|
/aosp12/bionic/benchmarks/linker_relocation/gen/ |
H A D | liblinker_reloc_bench_105.S | 77 CALL(pthread_setspecific)
|
H A D | liblinker_reloc_bench_076.S | 329 CALL(pthread_setspecific) 368 GOT_RELOC(pthread_setspecific)
|
H A D | liblinker_reloc_bench_132.S | 499 CALL(pthread_setspecific)
|
H A D | liblinker_reloc_bench_021.S | 356 CALL(pthread_setspecific)
|
/aosp12/bionic/libc/bionic/ |
H A D | pthread_key.cpp | 178 int pthread_setspecific(pthread_key_t key, const void* ptr) { in pthread_setspecific() function
|
/aosp12/bionic/libc/include/bits/ |
H A D | threads_inlines.h | 204 return __bionic_thrd_error(pthread_setspecific(__key, __value)); in tss_set()
|
/aosp12/bionic/benchmarks/ |
H A D | pthread_benchmark.cpp | 49 pthread_setspecific(key, nullptr); in BM_pthread_setspecific()
|
/aosp12/bionic/tests/headers/posix/ |
H A D | pthread_h.c | 202 FUNCTION(pthread_setspecific, int (*f)(pthread_key_t, const void*)); in pthread_h()
|
/aosp12/bionic/libc/include/ |
H A D | pthread.h | 289 int pthread_setspecific(pthread_key_t __key, const void* __value);
|
/aosp12/system/unwinding/libunwindstack/ |
H A D | Memory.cpp | 555 pthread_setspecific(*thread_cache_, cache); in CachedRead() 565 pthread_setspecific(*thread_cache_, nullptr); in Clear()
|
/aosp12/system/libhwbinder/ |
H A D | IPCThreadState.cpp | 334 pthread_setspecific(gTLS, nullptr); in shutdown() 768 pthread_setspecific(gTLS, this); in IPCThreadState()
|
/aosp12/art/sigchainlib/ |
H A D | sigchain.cc | 170 pthread_setspecific(GetHandlingSignalKey(), in SetHandlingSignal()
|
/aosp12/frameworks/native/libs/binder/ |
H A D | IPCThreadState.cpp | 338 pthread_setspecific(gTLS, nullptr); in shutdown() 855 pthread_setspecific(gTLS, this); in IPCThreadState()
|
/aosp12/frameworks/rs/cpu_ref/ |
H A D | rsCpuCore.cpp | 112 int status = pthread_setspecific(gThreadTLSKey, &dc->mTlsStruct); in helperThreadProc() 227 int status = pthread_setspecific(gThreadTLSKey, &mTlsStruct); in init()
|
/aosp12/bionic/tests/ |
H A D | pthread_test.cpp | 85 ASSERT_EQ(0, pthread_setspecific(key, reinterpret_cast<void*>(i))); in TEST() 127 ASSERT_EQ(0, pthread_setspecific(key, expected)); in TEST() 133 ASSERT_EQ(EINVAL, pthread_setspecific(key, expected)); in TEST() 140 ASSERT_EQ(0, pthread_setspecific(key, expected)); in TEST() 192 ASSERT_EQ(EINVAL, pthread_setspecific(key, nullptr)); in TEST()
|
/aosp12/system/core/libutils/ |
H A D | Looper.cpp | 99 pthread_setspecific(gTLSKey, looper.get()); in setForThread()
|
/aosp12/packages/providers/MediaProvider/jni/ |
H A D | MediaProviderWrapper.cpp | 572 pthread_setspecific(gJniEnvKey, env); in MaybeAttachCurrentThread()
|
/aosp12/bionic/libc/tools/ |
H A D | posix-2013.txt | 809 pthread_setspecific
|