Home
last modified time | relevance | path

Searched refs:GuessPathStyle (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/lldb/unittests/Utility/
DFileSpecTest.cpp194 TEST(FileSpecTest, GuessPathStyle) { in TEST() argument
195 EXPECT_EQ(FileSpec::Style::posix, FileSpec::GuessPathStyle("/foo/bar.txt")); in TEST()
196 EXPECT_EQ(FileSpec::Style::posix, FileSpec::GuessPathStyle("//net/bar.txt")); in TEST()
198 FileSpec::GuessPathStyle(R"(C:\foo.txt)")); in TEST()
200 FileSpec::GuessPathStyle(R"(\\net\foo.txt)")); in TEST()
201 EXPECT_EQ(llvm::None, FileSpec::GuessPathStyle("foo.txt")); in TEST()
202 EXPECT_EQ(llvm::None, FileSpec::GuessPathStyle("foo/bar.txt")); in TEST()
/external/llvm-project/lldb/include/lldb/Utility/
DFileSpec.h198 static llvm::Optional<Style> GuessPathStyle(llvm::StringRef absolute_path);
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DDWARFUnit.cpp728 FileSpec::GuessPathStyle(comp_dir).getValueOr(FileSpec::Style::native); in ComputeCompDirAndGuessPathStyle()
736 "", FileSpec::GuessPathStyle(name).getValueOr(FileSpec::Style::native)); in ComputeCompDirAndGuessPathStyle()
/external/llvm-project/lldb/source/Utility/
DFileSpec.cpp310 llvm::Optional<FileSpec::Style> FileSpec::GuessPathStyle(llvm::StringRef absolute_path) { in GuessPathStyle() function in FileSpec
/external/llvm-project/lldb/source/Plugins/SymbolFile/Breakpad/
DSymbolFileBreakpad.cpp673 FileSpec::Style style = FileSpec::GuessPathStyle(record->Name) in ParseFileRecords()