Home
last modified time | relevance | path

Searched refs:thread_local (Results 1 - 25 of 107) sorted by relevance

12345

/third_party/mesa3d/src/util/
H A Du_qsort.cpp27 thread_local int (*tl_qsort_r_compar)(const void *, const void *, void *);
28 thread_local void *tl_qsort_r_arg;
H A Du_thread.h82 /* Apple Clang emits wrappers when using thread_local that break module linkage,
87 #define __THREAD_INITIAL_EXEC thread_local __attribute__((tls_model("initial-exec")))
90 #define __THREAD_INITIAL_EXEC thread_local
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
H A DPragma.cpp45 static thread_local bool initialized = false; in getPragmaState()
46 static thread_local PragmaState state; in getPragmaState()
/third_party/eudev/src/shared/
H A Dvirt.c31 static thread_local int cached_found = -1; in detect_container()
32 static thread_local const char *cached_id = NULL; in detect_container()
H A Dmacro.h216 /* Define C11 thread_local attribute even on older gcc compiler
218 #ifndef thread_local
224 #define thread_local _Thread_local macro
226 #define thread_local __thread macro
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/internal/
H A Dcordz_functions.cc43 ABSL_CONST_INIT thread_local int64_t cordz_next_sample = kInitCordzNextSample;
51 thread_local absl::base_internal::ExponentialBiased in cordz_should_profile_slow()
H A Dcordz_functions.h56 ABSL_CONST_INIT extern thread_local int64_t cordz_next_sample;
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
H A Dthread_identity.cc63 // Prefer __thread to thread_local as benchmarks indicate it is a bit faster.
66 thread_local ThreadIdentity* thread_identity_ptr = nullptr;
111 thread_local std::unique_ptr<ThreadIdentity, ThreadIdentityReclaimerFunction> in SetCurrentThreadIdentity()
123 // thread_identity.h. When we cannot expose thread_local variables in
/third_party/mesa3d/src/c11/
H A Dthreads.h84 * C11 thread_local() macro
85 * C++11 and above already have thread_local keyword
87 # ifndef thread_local
88 # define thread_local _Thread_local macro
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/
H A Dcxa_thread_atexit_test.cpp55 static thread_local ClassForChildThread thread_local_obj_for_child_thread;
65 * @tc.desc: Test dtor of thread_local object is called when child thread exit.
99 static thread_local ClassForMainThread thread_local_obj_for_main_thread;
109 * @tc.desc: Test dtor of thread_local object is called when main thread exit.
174 * Test we can't unload B and C if we already add a thread_local dtor for B after dlopen A.
/third_party/rust/crates/syn/tests/
H A Dtest_stmt.rs187 thread_local! { static FOO } in test_macros()
222 ident: "thread_local", in test_macros()
/third_party/mesa3d/src/imgui/
H A Dimconfig.h18 extern thread_local ImGuiContext* __MesaImGui;
/third_party/glslang/glslang/MachineIndependent/
H A DPoolAlloc.cpp41 thread_local TPoolAllocator* threadPoolAllocator = nullptr;
45 thread_local TPoolAllocator defaultAllocator; in GetDefaultThreadPoolAllocator()
/third_party/rust/crates/libc/src/unix/bsd/freebsdlike/dragonfly/
H A Derrno.rs2 // be implemented in the libc crate, as a pointer to a static thread_local.
11 #[thread_local]
/third_party/musl/libc-test/src/functionalext/supplement/ldso/ldso_gtest/libs/
H A Dldso_thread_test_1.cpp19 thread_local ThreadTest testValue(value); in SetThreadLocalValue01()
H A Dldso_thread_test.cpp19 thread_local ThreadTest testValue(value); in SetThreadLocalValue()
H A Dldso_cxa_thread_atexit_test_B.cpp45 static thread_local A obj;
/third_party/node/deps/v8/src/execution/
H A Dthread-id.cc14 thread_local int thread_id = 0;
/third_party/node/deps/v8/src/trap-handler/
H A Dhandler-shared.cc29 thread_local int g_thread_in_wasm_code;
/third_party/musl/libc-test/src/functional/
H A Ddlclose_tls.cpp33 thread_local std::unique_ptr<Foo, FooTlsDeleter> foo(nullptr); in foo_ctor()
/third_party/node/deps/v8/src/wasm/
H A Dcode-space-access.h63 static thread_local NativeModule* current_native_module_;
H A Dcode-space-access.cc14 thread_local NativeModule* CodeSpaceWriteScope::current_native_module_ =
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DTintUtils.cpp24 thread_local DeviceBase* tlDevice = nullptr;
/third_party/rust/crates/proc-macro-error/src/
H A Ddummy.rs121 thread_local! {
/third_party/rust/crates/proc-macro-error/src/imp/
H A Dfallback.rs28 thread_local! {

Completed in 7 milliseconds

12345