Home
last modified time | relevance | path

Searched refs:pthread_setspecific (Results 1 – 25 of 48) sorted by relevance

12

/aosp12/bionic/libc/malloc_debug/
H A Ddebug_disable.cpp50 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 DRecordData.cpp111 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 Degl_tls.cpp98 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 Dres_state.c118 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 DMemUnreachable_test.cpp161 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 Dstubs_arm.cpp105 DEFINE_INTERCEPTABLE_STUB_FUNCTION(pthread_setspecific);
198 INIT_INTERCEPTABLE_STUB_FUNCTION("libc.so", pthread_setspecific); in init_stub_library()
H A Dstubs_arm64.cpp106 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 Dliblinker_reloc_bench_105.S77 CALL(pthread_setspecific)
H A Dliblinker_reloc_bench_076.S329 CALL(pthread_setspecific)
368 GOT_RELOC(pthread_setspecific)
H A Dliblinker_reloc_bench_132.S499 CALL(pthread_setspecific)
H A Dliblinker_reloc_bench_021.S356 CALL(pthread_setspecific)
/aosp12/bionic/libc/bionic/
H A Dpthread_key.cpp178 int pthread_setspecific(pthread_key_t key, const void* ptr) { in pthread_setspecific() function
/aosp12/bionic/libc/include/bits/
H A Dthreads_inlines.h204 return __bionic_thrd_error(pthread_setspecific(__key, __value)); in tss_set()
/aosp12/bionic/benchmarks/
H A Dpthread_benchmark.cpp49 pthread_setspecific(key, nullptr); in BM_pthread_setspecific()
/aosp12/bionic/tests/headers/posix/
H A Dpthread_h.c202 FUNCTION(pthread_setspecific, int (*f)(pthread_key_t, const void*)); in pthread_h()
/aosp12/bionic/libc/include/
H A Dpthread.h289 int pthread_setspecific(pthread_key_t __key, const void* __value);
/aosp12/system/unwinding/libunwindstack/
H A DMemory.cpp555 pthread_setspecific(*thread_cache_, cache); in CachedRead()
565 pthread_setspecific(*thread_cache_, nullptr); in Clear()
/aosp12/system/libhwbinder/
H A DIPCThreadState.cpp334 pthread_setspecific(gTLS, nullptr); in shutdown()
768 pthread_setspecific(gTLS, this); in IPCThreadState()
/aosp12/art/sigchainlib/
H A Dsigchain.cc170 pthread_setspecific(GetHandlingSignalKey(), in SetHandlingSignal()
/aosp12/frameworks/native/libs/binder/
H A DIPCThreadState.cpp338 pthread_setspecific(gTLS, nullptr); in shutdown()
855 pthread_setspecific(gTLS, this); in IPCThreadState()
/aosp12/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp112 int status = pthread_setspecific(gThreadTLSKey, &dc->mTlsStruct); in helperThreadProc()
227 int status = pthread_setspecific(gThreadTLSKey, &mTlsStruct); in init()
/aosp12/bionic/tests/
H A Dpthread_test.cpp85 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 DLooper.cpp99 pthread_setspecific(gTLSKey, looper.get()); in setForThread()
/aosp12/packages/providers/MediaProvider/jni/
H A DMediaProviderWrapper.cpp572 pthread_setspecific(gJniEnvKey, env); in MaybeAttachCurrentThread()
/aosp12/bionic/libc/tools/
H A Dposix-2013.txt809 pthread_setspecific

12