Home
last modified time | relevance | path

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

/external/llvm-project/lldb/unittests/Platform/
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()
/external/llvm-project/lldb/source/Plugins/Platform/MacOSX/
DPlatformDarwin.h169 static std::string FindComponentInPath(llvm::StringRef path,
DPlatformDarwin.cpp1803 std::string PlatformDarwin::FindComponentInPath(llvm::StringRef path, in FindComponentInPath() function in PlatformDarwin
1820 return FileSpec(FindComponentInPath(fspec.GetPath(), ".xctoolchain")); in GetCurrentToolchainDirectory()
1826 return FileSpec(FindComponentInPath(fspec.GetPath(), "CommandLineTools")); in GetCurrentCommandLineToolsDirectory()