Home
last modified time | relevance | path

Searched refs:pthread_getspecific (Results 1 – 25 of 44) sorted by relevance

12

/aosp12/frameworks/native/opengl/libs/EGL/
H A Degl_tls.cpp100 ALOGE_IF(pthread_getspecific(sKey) != nullptr, in destructTLSData()
128 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey); in getTLS()
138 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey); in clearTLS()
156 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey); in getError()
174 egl_tls_t* tls = (egl_tls_t*)pthread_getspecific(sKey); in getContext()
/aosp12/packages/providers/MediaProvider/jni/
H A Dcom_android_providers_media_FuseDaemon.cpp98 CHECK(pthread_getspecific(fuse::MediaProviderWrapper::gJniEnvKey) == nullptr); in com_android_providers_media_FuseDaemon_invalidate_fuse_dentry_cache()
124 return pthread_getspecific(fuse::MediaProviderWrapper::gJniEnvKey) != nullptr; in com_android_providers_media_FuseDaemon_is_fuse_thread()
H A DMediaProviderWrapper.cpp568 CHECK(pthread_getspecific(gJniEnvKey) == nullptr); in MaybeAttachCurrentThread()
/aosp12/bionic/libc/malloc_debug/
H A Ddebug_disable.cpp38 if (g_debug == nullptr || pthread_getspecific(g_disable_key) != nullptr) { in DebugCallsDisabled()
H A DRecordData.cpp211 void* data = pthread_getspecific(key_); in AddEntry()
/aosp12/frameworks/libs/native_bridge_support/libc/
H A Dstubs_arm.cpp96 DEFINE_INTERCEPTABLE_STUB_FUNCTION(pthread_getspecific);
189 INIT_INTERCEPTABLE_STUB_FUNCTION("libc.so", pthread_getspecific); in init_stub_library()
H A Dstubs_arm64.cpp97 DEFINE_INTERCEPTABLE_STUB_FUNCTION(pthread_getspecific);
192 INIT_INTERCEPTABLE_STUB_FUNCTION("libc.so", pthread_getspecific); in init_stub_library()
/aosp12/bionic/libc/dns/resolv/
H A Dres_state.c106 rt = pthread_getspecific( _res_key ); in _res_thread_get()
/aosp12/system/bt/types/
H A DBUILD.gn59 # undefined reference to symbol 'pthread_getspecific@@GLIBC_2.2.5'
/aosp12/bionic/benchmarks/linker_relocation/gen/
H A Dliblinker_reloc_bench_105.S83 CALL(pthread_getspecific)
H A Dliblinker_reloc_bench_076.S356 CALL(pthread_getspecific)
H A Dliblinker_reloc_bench_132.S493 CALL(pthread_getspecific)
/aosp12/bionic/libc/bionic/
H A Dpthread_key.cpp159 void* pthread_getspecific(pthread_key_t key) { in pthread_getspecific() function
/aosp12/bionic/libc/include/bits/
H A Dthreads_inlines.h200 return pthread_getspecific(__key); in tss_get()
/aosp12/bionic/benchmarks/
H A Dpthread_benchmark.cpp37 pthread_getspecific(key); in BM_pthread_getspecific()
/aosp12/system/unwinding/libunwindstack/
H A DMemory.cpp541 CacheDataType* cache = reinterpret_cast<CacheDataType*>(pthread_getspecific(*thread_cache_)); in ~MemoryThreadCache()
552 CacheDataType* cache = reinterpret_cast<CacheDataType*>(pthread_getspecific(*thread_cache_)); in CachedRead()
562 CacheDataType* cache = reinterpret_cast<CacheDataType*>(pthread_getspecific(*thread_cache_)); in Clear()
/aosp12/system/libhwbinder/
H A DIPCThreadState.cpp289 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(k); in self()
319 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(k); in selfOrNull()
331 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(gTLS); in shutdown()
/aosp12/bionic/tests/
H A Dpthread_test.cpp89 ASSERT_EQ(reinterpret_cast<void*>(i), pthread_getspecific(keys.back())); in TEST()
128 ASSERT_EQ(expected, pthread_getspecific(key)); in TEST()
131 ASSERT_EQ(nullptr, pthread_getspecific(key)); in TEST()
141 ASSERT_EQ(expected, pthread_getspecific(key)); in TEST()
148 ASSERT_EQ(expected, pthread_getspecific(key)); in TEST()
154 ASSERT_EQ(expected, pthread_getspecific(key)); in TEST()
159 return pthread_getspecific(*reinterpret_cast<pthread_key_t*>(key)); in DirtyKeyFn()
191 ASSERT_EQ(nullptr, pthread_getspecific(key)); in TEST()
/aosp12/bionic/tests/headers/posix/
H A Dpthread_h.c139 FUNCTION(pthread_getspecific, void* (*f)(pthread_key_t)); in pthread_h()
/aosp12/frameworks/native/libs/binder/
H A DIPCThreadState.cpp293 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(k); in self()
323 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(k); in selfOrNull()
335 IPCThreadState* st = (IPCThreadState*)pthread_getspecific(gTLS); in shutdown()
/aosp12/frameworks/rs/cpu_ref/
H A DrsCpuCore.cpp72 ScriptTLSStruct * tls = (ScriptTLSStruct *)pthread_getspecific(gThreadTLSKey); in getTlsContext()
77 ScriptTLSStruct * tls = (ScriptTLSStruct *)pthread_getspecific(gThreadTLSKey); in getTlsScript()
921 ScriptTLSStruct * tls = (ScriptTLSStruct *)pthread_getspecific(gThreadTLSKey); in setTLS()
/aosp12/bionic/libc/include/
H A Dpthread.h170 void* pthread_getspecific(pthread_key_t __key);
/aosp12/frameworks/rs/
H A DrsScriptC.cpp46 (Context::ScriptTLSStruct *)pthread_getspecific(Context::gThreadTLSKey); \
/aosp12/art/sigchainlib/
H A Dsigchain.cc165 void* result = pthread_getspecific(GetHandlingSignalKey()); in GetHandlingSignal()
/aosp12/system/core/libutils/
H A DLooper.cpp110 return (Looper*)pthread_getspecific(gTLSKey); in getForThread()

12