Home
last modified time | relevance | path

Searched refs:ThreadLocal (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/googletest/googletest/include/gtest/internal/
H A Dgtest-port.h1601 class ThreadLocal : public ThreadLocalBase {
1603 ThreadLocal() : default_factory_(new DefaultValueHolderFactory()) {}
1604 explicit ThreadLocal(const T& value)
1607 ~ThreadLocal() override { ThreadLocalRegistry::OnThreadLocalDestroyed(this); }
1679 ThreadLocal(const ThreadLocal&) = delete;
1680 ThreadLocal& operator=(const ThreadLocal&) = delete;
1796 class GTEST_API_ ThreadLocal {
1798 ThreadLocal()
1800 explicit ThreadLocal(const T& value)
1804 ~ThreadLocal() {
[all …]
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-port-test.cc966 ThreadLocal<int> t1; in TEST()
969 ThreadLocal<void*> t2; in TEST()
974 ThreadLocal<int> t1(123); in TEST()
978 ThreadLocal<int*> t2(&i); in TEST()
989 ThreadLocal<NoDefaultConstructor> bar(NoDefaultConstructor("foo")); in TEST()
994 ThreadLocal<std::string> thread_local_string; in TEST()
1004 ThreadLocal<std::string> thread_local_string; in TEST()
1005 const ThreadLocal<std::string>& const_thread_local_string = in TEST()
1128 pair<ThreadLocal<std::string>*, std::string*> param) { in RetrieveThreadLocalValue()
1133 ThreadLocal<std::string> thread_local_string("foo"); in TEST()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DGlobalValue.h85 DllStorageClass(DefaultStorageClass), ThreadLocal(NotThreadLocal), in GlobalValue()
103 unsigned ThreadLocal : 3; // Is this symbol "Thread Local", if so, what is variable
269 ThreadLocal = Val; in setThreadLocalMode()
272 return static_cast<ThreadLocalMode>(ThreadLocal); in getThreadLocalMode()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DVisitor.cpp68 static SymbolFlags getFlags(bool WeakDef, bool ThreadLocal = false) { in getFlags() argument
72 if (ThreadLocal) in getFlags()
242 const bool ThreadLocal = D->getTLSKind() != VarDecl::TLS_None; in VisitVarDecl() local
246 *Access, getFlags(WeakDef, ThreadLocal)); in VisitVarDecl()
/freebsd/contrib/googletest/googletest/include/gtest/internal/custom/
H A DREADME.md27 * `GTEST_HAS_MUTEX_AND_THREAD_LOCAL_` - Enabled if `Mutex` and `ThreadLocal`
/freebsd/contrib/googletest/googletest/src/
H A Dgtest-internal-inl.h874 internal::ThreadLocal<TestPartResultReporterInterface*>
966 internal::ThreadLocal<std::vector<TraceInfo> > gtest_trace_stack_;
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStubV5.cpp115 ThreadLocal, enumerator
355 TBDKey::ThreadLocal, Segment, [&Result, SectionFlag](StringRef Name) { in collectSymbolsFromSegment()
900 insertNonEmptyValues(Segment, TBDKey::ThreadLocal, std::move(SymField.TLV)); in serializeSymbols()
/freebsd/contrib/googletest/googlemock/src/
H A Dgmock-spec-builders.cc280 GTEST_API_ ThreadLocal<Sequence*> g_gmock_implicit_sequence;
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-spec-builders.h669 GTEST_API_ extern ThreadLocal<Sequence*> g_gmock_implicit_sequence;
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DMachODump.cpp10298 bool ThreadLocal = ((Flags & MachO::EXPORT_SYMBOL_FLAGS_KIND_MASK) == in printMachOExportsTrie() local
10309 if (WeakDef || ThreadLocal || Resolver || Abs) { in printMachOExportsTrie()
10314 if (ThreadLocal) in printMachOExportsTrie()