/aosp12/bionic/tests/ |
H A D | __cxa_thread_atexit_test.cpp | 38 static thread_local ClassWithDtor class_with_dtor; 45 TEST(thread_local, smoke) { in TEST() argument 67 static thread_local ClassWithDtorForMainThread class_with_dtor_for_main_thread; in thread_atexit_main() 72 TEST(thread_local, dtor_for_main_thread) { in TEST() argument
|
/aosp12/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
H A D | thread_local_buffer.h | 115 static thread_local BufferType* buffer_; 119 static thread_local std::unique_ptr<BufferType> buffer_guard; in GetBufferGuard() 126 thread_local
|
/aosp12/frameworks/av/services/audioflinger/ |
H A D | TypedLogger.cpp | 26 thread_local NBLog::Writer *tlNBLogWriter;
|
H A D | TypedLogger.h | 136 extern thread_local NBLog::Writer *tlNBLogWriter;
|
/aosp12/bionic/tests/libs/ |
H A D | thread_local_dtor.cpp | 44 thread_local TestClass test(flag); in init_thread_local_variable()
|
H A D | thread_local_dtor2.cpp | 44 thread_local TestClass test(flag); in init_thread_local_variable2()
|
H A D | tls_properties_helper.cpp | 54 thread_local int local_var;
|
/aosp12/art/runtime/javaheapprof/ |
H A D | javaheapsampler.h | 42 thread_local size_t bytes_until_sample = 0; in GetBytesUntilSample()
|
/aosp12/system/libziparchive/incfs_support/include/incfs_support/ |
H A D | signal_handling.h | 192 inline static thread_local JmpBufState mJmpBuf = {};
|
/aosp12/bionic/tests/headers/posix/ |
H A D | threads_h.c | 35 thread_local int t;
|
/aosp12/bionic/libc/include/ |
H A D | threads.h | 76 #define thread_local _Thread_local macro
|
/aosp12/system/incremental_delivery/libdataloader/ |
H A D | JNIHelpers.h | 90 static thread_local VmDetacher detacher(jvm); in GetOrAttachJNIEnvironment()
|
/aosp12/frameworks/base/services/core/jni/gnss/ |
H A D | Utils.cpp | 25 thread_local std::unique_ptr<ScopedJniThreadAttach> tJniThreadAttacher;
|
/aosp12/bionic/libc/bionic/ |
H A D | locale.cpp | 82 static thread_local locale_t g_current_locale;
|
/aosp12/frameworks/base/core/jni/ |
H A D | core_jni_helpers.h | 133 static thread_local VmDetacher detacher(jvm);
|
/aosp12/bionic/docs/ |
H A D | elf-tls.md | 18 thread_local int tls_var; 77 extern thread_local char tls_var; 129 static thread_local int x; 130 static thread_local int y; 153 (XXX: LD might be important for C++ `thread_local` variables -- even a single `thread_local` 167 extern thread_local char tls_var; 240 extern thread_local char tls_var; 455 `thread_local` | - C11: a macro for `_Thread_local` via `threads.h`<br/> - C++11: a keyword, allo… 457 The dynamic initialization and destruction of C++ `thread_local` variables is layered on top of ELF 462 efficient in C++ than `thread_local` when the compiler cannot see the definition of a declared TLS [all …]
|
/aosp12/system/bt/gd/crypto_toolbox/ |
H A D | aes_cmac.cc | 41 thread_local tCMAC_CB cmac_cb;
|
/aosp12/system/bt/stack/crypto_toolbox/ |
H A D | aes_cmac.cc | 41 thread_local tCMAC_CB cmac_cb;
|
/aosp12/frameworks/native/libs/binder/ |
H A D | BufferedTextOutput.cpp | 252 thread_local ThreadState ts; in getBuffer()
|
/aosp12/system/libhwbinder/ |
H A D | BufferedTextOutput.cpp | 250 thread_local ThreadState ts; in getBuffer()
|
/aosp12/frameworks/native/libs/vr/libpdx_default_transport/ |
H A D | pdx_benchmarks.cpp | 391 static thread_local SchedStats sched_stats_; 405 thread_local SchedStats BenchmarkService::sched_stats_; 758 thread_local BufferWrapper<std::vector< in ClientCommand()
|
/aosp12/frameworks/av/media/codec2/components/aac/ |
H A D | C2SoftAacEnc.cpp | 300 thread_local Clock::time_point sLastLogTimestamp{}; in MaybeLogTimestampWarning() 301 thread_local int32_t sOverlapCount = -1; in MaybeLogTimestampWarning()
|
/aosp12/art/tools/jvmti-agents/ti-alloc-sample/ |
H A D | ti_alloc_sample.cc | 317 static thread_local int sample_countdown = sampling_rate; in logVMObjectAlloc()
|
/aosp12/system/security/keystore2/src/ |
H A D | globals.rs | 79 thread_local! {
|
/aosp12/frameworks/native/libs/nativedisplay/ |
H A D | AChoreographer.cpp | 160 static thread_local Choreographer* gChoreographer;
|