Home
last modified time | relevance | path

Searched refs:GetInstance (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/lldb/unittests/Host/
H A DFileTest.cpp21 const auto *Info = testing::UnitTest::GetInstance()->current_test_info(); in TEST()
39 const auto *Info = testing::UnitTest::GetInstance()->current_test_info(); in TEST()
/llvm-project-15.0.7/third-party/benchmark/src/
H A Dbenchmark_register.cc72 static BenchmarkFamilies* GetInstance();
93 BenchmarkFamilies* BenchmarkFamilies::GetInstance() { in GetInstance() function in benchmark::internal::BenchmarkFamilies
185 BenchmarkFamilies* families = BenchmarkFamilies::GetInstance(); in RegisterBenchmarkInternal()
195 return BenchmarkFamilies::GetInstance()->FindBenchmarks(re, benchmarks, Err); in FindBenchmarksInternal()
474 internal::BenchmarkFamilies::GetInstance()->ClearBenchmarks(); in ClearRegisteredBenchmarks()
/llvm-project-15.0.7/lldb/unittests/tools/lldb-server/tests/
H A DTestBase.cpp17 ::testing::UnitTest::GetInstance()->current_test_info(); in getLogFileName()
/llvm-project-15.0.7/flang/unittests/Runtime/
H A DCrashHandlerFixture.cpp21 << ::testing::UnitTest::GetInstance()->current_test_info()->name() in CatchCrash()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/google/Inputs/gtest/nosuite/gtest/
H A Dgtest.h35 static UnitTest *GetInstance();
/llvm-project-15.0.7/llvm/utils/unittest/googletest/include/gtest/
H A Dgtest-param-test.h428 ::testing::UnitTest::GetInstance() \
488 ::testing::UnitTest::GetInstance() \
H A Dgtest.h1261 static UnitTest* GetInstance();
1475 return UnitTest::GetInstance()->AddEnvironment(env); in AddGlobalTestEnvironment()
2472 return ::testing::UnitTest::GetInstance()->Run(); in RUN_ALL_TESTS()
/llvm-project-15.0.7/lldb/include/lldb/Host/
H A DFileCache.h29 static FileCache &GetInstance();
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/google/Inputs/gtest/
H A Dgtest.h47 static UnitTest *GetInstance();
/llvm-project-15.0.7/llvm/utils/unittest/googlemock/src/
H A Dgmock-internal-utils.cc182 ::testing::UnitTest::GetInstance(), actual_to_skip); in Log()
H A Dgmock-spec-builders.cc792 UnitTest::GetInstance()->current_test_info(); in RegisterUseByOnCallOrExpectCall()
/llvm-project-15.0.7/lldb/source/Host/common/
H A DFileCache.cpp19 FileCache &FileCache::GetInstance() { in GetInstance() function in FileCache
/llvm-project-15.0.7/lldb/unittests/Target/
H A DFindFileTest.cpp65 const auto *Info = testing::UnitTest::GetInstance()->current_test_info(); in TEST_F()
/llvm-project-15.0.7/clang/unittests/StaticAnalyzer/
H A DCheckerRegistration.h109 ::testing::UnitTest::GetInstance()->current_test_info(); in getCurrentTestNameAsFileName()
/llvm-project-15.0.7/flang/unittests/Frontend/
H A DFrontendActionTest.cpp46 testing::UnitTest::GetInstance()->current_test_info(); in SetUp()
/llvm-project-15.0.7/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp222 user_id_t fd_dst = FileCache::GetInstance().OpenFile( in GetFile()
243 if (FileCache::GetInstance().WriteFile(fd_dst, offset, in GetFile()
258 !FileCache::GetInstance().CloseFile(fd_dst, error)) { in GetFile()
/llvm-project-15.0.7/llvm/utils/unittest/googletest/src/
H A Dgtest.cc397 UnitTest::GetInstance()-> in operator =()
400 UnitTest::GetInstance()->impl() in operator =()
459 UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
466 internal::FilePath(UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
2269 UnitTest::GetInstance()->RecordProperty(key, value); in RecordProperty()
2285 UnitTest::GetInstance()->AddTestPartResult( in ReportFailureInUnknownLocation()
2664 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
2801 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
4610 UnitTest* UnitTest::GetInstance() { in GetInstance() function in testing::UnitTest
6168 UnitTest::GetInstance()->PushGTestTrace(trace); in PushTrace()
[all …]
H A Dgtest-death-test.cc803 UnitTest::GetInstance()->original_working_dir(), &startup_info, in AssumeRole()
1254 UnitTest::GetInstance()->original_working_dir(); in ExecDeathTestChildMain()
1327 UnitTest::GetInstance()->original_working_dir(); in ExecDeathTestSpawnChild()
H A Dgtest-internal-inl.h951 return UnitTest::GetInstance()->impl(); in GetUnitTestImpl()
/llvm-project-15.0.7/lldb/unittests/Interpreter/
H A DTestCompletion.cpp68 auto test_info = ::testing::UnitTest::GetInstance()->current_test_info(); in SetUp()
/llvm-project-15.0.7/lldb/source/Target/
H A DPlatform.cpp678 return FileCache::GetInstance().OpenFile(file_spec, flags, mode, error); in OpenFile()
684 return FileCache::GetInstance().CloseFile(fd, error); in CloseFile()
701 return FileCache::GetInstance().ReadFile(fd, offset, dst, dst_len, error); in ReadFile()
711 return FileCache::GetInstance().WriteFile(fd, offset, src, src_len, error); in WriteFile()
/llvm-project-15.0.7/llvm/lib/MC/
H A DMCContext.cpp337 unsigned MCContext::GetInstance(unsigned LocalLabelVal) { in GetInstance() function in MCContext
359 unsigned Instance = GetInstance(LocalLabelVal); in getDirectionalLocalSymbol()
/llvm-project-15.0.7/llvm/include/llvm/MC/
H A DMCContext.h173 unsigned GetInstance(unsigned LocalLabelVal);