Home
last modified time | relevance | path

Searched refs:thread_local (Results 1 – 25 of 43) sorted by relevance

12

/freebsd/contrib/libpcap/
H A Dthread-local.h50 #ifndef thread_local
52 #define thread_local _Thread_local macro
54 #define thread_local macro
61 #define thread_local __declspec(thread) macro
66 #define thread_local __thread macro
H A Detherent.c90 static thread_local struct pcap_etherent e; in pcap_next_etherent()
H A Dnametoaddr.c1102 static thread_local FILE *fp = NULL; in pcap_ether_hostton()
1103 static thread_local int init = 0; in pcap_ether_hostton()
/freebsd/lib/libc/tests/stdlib/
H A Dcxa_thread_atexit_test.cc47 thread_local static Foo foo; in ~Bar()
72 static thread_local Foo f;
73 static thread_local Foo g;
74 static thread_local Bar h;
75 static thread_local Baz e;
H A Dcxa_thread_atexit_nothr_test.cc44 static thread_local Foo f;
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_profiling.cpp54 thread_local FunctionCallTrie::Allocators::Buffers ThreadBuffers;
55 alignas(FunctionCallTrie::Allocators) thread_local std::byte
57 alignas(FunctionCallTrie) thread_local std::byte
59 thread_local ProfilingData TLD{{0}, {0}};
60 thread_local atomic_uint8_t ReentranceGuard{0};
65 thread_local atomic_uint8_t TLDInitGuard{0};
69 thread_local atomic_uint8_t ThreadExitingLatch{0};
72 thread_local auto ThreadOnce = []() XRAY_NEVER_INSTRUMENT { in getThreadLocalData()
H A Dxray_basic_logging.cpp80 thread_local atomic_uint8_t Guard{0};
125 thread_local ThreadLocalData TLD; in getThreadLocalData()
126 thread_local bool UNUSED TOnce = [] { in getThreadLocalData()
H A Dxray_fdr_logging.cpp127 alignas(ThreadLocalData) thread_local std::byte in getThreadLocalData()
440 thread_local atomic_uint8_t Running{0};
/freebsd/contrib/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dtsd_exclusive.h165 static thread_local ThreadState State;
166 static thread_local TSD<Allocator> ThreadTSD;
172 thread_local TSD<Allocator> TSDRegistryExT<Allocator>::ThreadTSD;
174 thread_local ThreadState TSDRegistryExT<Allocator>::State;
/freebsd/contrib/llvm-project/libc/src/__support/HashTable/
H A Drandomness.h27 LIBC_INLINE_VAR thread_local HashState state = {
30 LIBC_INLINE_VAR thread_local uint64_t counter = 0;
/freebsd/contrib/llvm-project/compiler-rt/lib/ctx_profile/
H A DRootAutoDetector.cpp94 static thread_local bool Entered = false; in sample()
95 static thread_local uint64_t Entries = 0; in sample()
112 static thread_local PerThreadSamples *ThisThreadSamples = in collectStack()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DParallel.cpp26 static thread_local unsigned threadIndex = UINT_MAX;
30 thread_local unsigned threadIndex = UINT_MAX;
/freebsd/contrib/llvm-project/libc/src/__support/macros/
H A Dattributes.h34 #define LIBC_THREAD_LOCAL thread_local
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DInstrumentation.cpp21 static thread_local bool g_global_boundary = false;
H A DTimer.cpp44 static thread_local TimerStack g_stack; in GetTimerStackForCurrentThread()
/freebsd/contrib/llvm-project/libc/include/
H A D__llvm-libc-common.h41 #define _Thread_local thread_local
/freebsd/contrib/llvm-project/libunwind/src/
H A DUnwind-wasm.c38 thread_local struct _Unwind_LandingPadContext __wasm_lpad_context;
/freebsd/lib/libstdthreads/
H A Dthreads.h71 #define thread_local _Thread_local macro
/freebsd/contrib/llvm-project/compiler-rt/lib/nsan/
H A Dnsan.cpp420 thread_local uptr __nsan_shadow_ret_tag = 0;
423 thread_local char __nsan_shadow_ret_ptr[kMaxVectorWidth *
427 thread_local uptr __nsan_shadow_args_tag = 0;
434 thread_local char __nsan_shadow_args_ptr[kMaxVectorWidth * kMaxNumArgs *
/freebsd/contrib/llvm-project/lld/include/lld/Common/
H A DMemory.h68 thread_local SpecificAlloc<T> instance; in getSpecificAllocSingletonThreadLocal()
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerPlatform.h130 ATTRIBUTE_INTERFACE __attribute__((tls_model("initial-exec"))) thread_local
H A DFuzzerInternal.h151 static thread_local bool IsMyThread;
/freebsd/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_posix.cpp88 static thread_local struct tsd_key key;
H A Dasan_fuchsia.cpp100 static thread_local void *per_thread;
/freebsd/sys/contrib/libsodium/m4/
H A Dax_tls.m452 [for ax_tls_keyword in thread_local _Thread_local __thread '__declspec(thread)' none; do

12