Home
last modified time | relevance | path

Searched refs:FindComponentInPath (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/lldb/unittests/Platform/
H A DPlatformDarwinTest.cpp22 using PlatformDarwin::FindComponentInPath;
53 TEST(PlatformDarwinTest, FindComponentInPath) { in TEST() argument
55 PlatformDarwinTester::FindComponentInPath("/path/to/foo/", "foo")); in TEST()
58 PlatformDarwinTester::FindComponentInPath("/path/to/foo", "foo")); in TEST()
60 EXPECT_EQ("/path/to/foobar", PlatformDarwinTester::FindComponentInPath( in TEST()
63 EXPECT_EQ("/path/to/foobar", PlatformDarwinTester::FindComponentInPath( in TEST()
67 PlatformDarwinTester::FindComponentInPath("/path/to/foo", "bar")); in TEST()
/llvm-project-15.0.7/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformDarwin.h187 static std::string FindComponentInPath(llvm::StringRef path,
H A DPlatformDarwin.cpp1270 std::string PlatformDarwin::FindComponentInPath(llvm::StringRef path, in FindComponentInPath() function in PlatformDarwin
1287 return FileSpec(FindComponentInPath(fspec.GetPath(), ".xctoolchain")); in GetCurrentToolchainDirectory()
1293 return FileSpec(FindComponentInPath(fspec.GetPath(), "CommandLineTools")); in GetCurrentCommandLineToolsDirectory()