Home
last modified time | relevance | path

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

/llvm-project/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/third-party/benchmark/src/
H A Dbenchmark_register.cc75 static BenchmarkFamilies* GetInstance();
96 BenchmarkFamilies* BenchmarkFamilies::GetInstance() { in GetInstance() function in benchmark::internal::BenchmarkFamilies
190 BenchmarkFamilies* families = BenchmarkFamilies::GetInstance(); in RegisterBenchmarkInternal()
200 return BenchmarkFamilies::GetInstance()->FindBenchmarks(re, benchmarks, Err); in FindBenchmarksInternal()
502 internal::BenchmarkFamilies::GetInstance()->ClearBenchmarks(); in ClearRegisteredBenchmarks()
/llvm-project/flang/unittests/Runtime/
H A DCrashHandlerFixture.cpp21 << ::testing::UnitTest::GetInstance()->current_test_info()->name() in CatchCrash()
/llvm-project/lldb/unittests/tools/lldb-server/tests/
H A DTestBase.cpp17 ::testing::UnitTest::GetInstance()->current_test_info(); in getLogFileName()
/llvm-project/third-party/unittest/googletest/include/gtest/
H A Dgtest-param-test.h460 ::testing::UnitTest::GetInstance() \
519 ::testing::UnitTest::GetInstance() \
H A Dgtest.h1119 static UnitTest* GetInstance();
1331 return UnitTest::GetInstance()->AddEnvironment(env); in AddGlobalTestEnvironment()
2317 inline int RUN_ALL_TESTS() { return ::testing::UnitTest::GetInstance()->Run(); } in RUN_ALL_TESTS()
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/google/Inputs/gtest/nosuite/gtest/
H A Dgtest.h35 static UnitTest *GetInstance();
/llvm-project/lldb/include/lldb/Host/
H A DFileCache.h29 static FileCache &GetInstance();
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/google/Inputs/gtest/
H A Dgtest.h47 static UnitTest *GetInstance();
/llvm-project/lldb/source/Host/common/
H A DFileCache.cpp19 FileCache &FileCache::GetInstance() { in GetInstance() function in FileCache
/llvm-project/lldb/unittests/Target/
H A DFindFileTest.cpp66 const auto *Info = testing::UnitTest::GetInstance()->current_test_info(); in TEST_F()
H A DLocateModuleCallbackTest.cpp79 const auto *info = UnitTest::GetInstance()->current_test_info(); in GetTestDir()
/llvm-project/clang/unittests/StaticAnalyzer/
H A DCheckerRegistration.h109 ::testing::UnitTest::GetInstance()->current_test_info(); in getCurrentTestNameAsFileName()
/llvm-project/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp226 user_id_t fd_dst = FileCache::GetInstance().OpenFile( in GetFile()
247 if (FileCache::GetInstance().WriteFile(fd_dst, offset, in GetFile()
263 !FileCache::GetInstance().CloseFile(fd_dst, error)) { in GetFile()
/llvm-project/flang/unittests/Frontend/
H A DFrontendActionTest.cpp46 testing::UnitTest::GetInstance()->current_test_info(); in SetUp()
/llvm-project/third-party/unittest/googletest/src/
H A Dgtest.cc458 UnitTest::GetInstance()->AddTestPartResult( in operator =()
461 UnitTest::GetInstance()->impl()->CurrentOsStackTraceExceptTop(1) in operator =()
503 return UnitTest::GetInstance()->impl()->ignored_parameterized_test_suites(); in GetIgnoredParameterizedTestSuites()
678 UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
685 internal::FilePath(UnitTest::GetInstance()->original_working_dir()), in GetAbsolutePathToOutputFile()
2480 UnitTest::GetInstance()->RecordProperty(key, value); in RecordProperty()
2489 UnitTest::GetInstance()->AddTestPartResult( in ReportFailureInUnknownLocation()
2809 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
2863 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Skip()
2974 TestEventListener* repeater = UnitTest::GetInstance()->listeners().repeater(); in Run()
[all …]
H A Dgtest-death-test.cc821 UnitTest::GetInstance()->original_working_dir(), &startup_info, in AssumeRole()
1191 UnitTest::GetInstance()->original_working_dir(); in ExecDeathTestChildMain()
1268 UnitTest::GetInstance()->original_working_dir(); in ExecDeathTestSpawnChild()
H A Dgtest-internal-inl.h967 return UnitTest::GetInstance()->impl(); in GetUnitTestImpl()
/llvm-project/lldb/unittests/Interpreter/
H A DTestCompletion.cpp68 auto test_info = ::testing::UnitTest::GetInstance()->current_test_info(); in SetUp()
/llvm-project/lldb/source/Target/
H A DPlatform.cpp646 return FileCache::GetInstance().OpenFile(file_spec, flags, mode, error); in CloseFile()
652 return FileCache::GetInstance().CloseFile(fd, error); in GetFileSize()
669 return FileCache::GetInstance().ReadFile(fd, offset, dst, dst_len, error); in ReadFile()
679 return FileCache::GetInstance().WriteFile(fd, offset, src, src_len, error); in WriteFile()
/llvm-project/llvm/lib/MC/
H A DMCContext.cpp363 unsigned MCContext::GetInstance(unsigned LocalLabelVal) { in GetInstance()
385 unsigned Instance = GetInstance(LocalLabelVal); in getDirectionalLocalSymbol()
359 unsigned MCContext::GetInstance(unsigned LocalLabelVal) { GetInstance() function in MCContext
/llvm-project/third-party/unittest/googlemock/src/
H A Dgmock-spec-builders.cc697 UnitTest::GetInstance()->current_test_info(); in RegisterUseByOnCallOrExpectCall()
/llvm-project/llvm/include/llvm/MC/
H A DMCContext.h173 /// GetInstance() gets the current instance of the directional local label
175 unsigned GetInstance(unsigned LocalLabelVal);