Home
last modified time | relevance | path

Searched refs:TestPath (Results 1 – 6 of 6) sorted by relevance

/llvm-project/libcxx/test/std/input.output/filesystems/class.path/path.member/path.assign/
H A Dsource.pass.cpp46 const CharT* TestPath = MS; in RunTestCase() local
47 const CharT* TestPathEnd = StrEnd(TestPath); in RunTestCase()
48 const std::size_t Size = TestPathEnd - TestPath; in RunTestCase()
54 const std::basic_string<CharT> S(TestPath); in RunTestCase()
63 assert(p.string<CharT>() == TestPath); in RunTestCase()
67 const std::basic_string<CharT> S(TestPath); in RunTestCase()
75 assert(p.string<CharT>() == TestPath); in RunTestCase()
80 const std::basic_string_view<CharT> S(TestPath); in RunTestCase()
89 assert(p.string<CharT>() == TestPath); in RunTestCase()
93 const std::basic_string_view<CharT> S(TestPath); in RunTestCase()
[all …]
/llvm-project/llvm/unittests/Support/
H A DMemoryBufferTest.cpp102 SmallString<64> TestPath; in TEST_F()
104 FD, TestPath), in TEST_F()
107 FileRemover Cleanup(TestPath); in TEST_F()
113 Expected<sys::fs::file_t> File = sys::fs::openNativeFileForRead(TestPath); in TEST_F()
117 ErrorOr<OwningBuffer> MB = MemoryBuffer::getOpenFile(*File, TestPath, 6); in TEST_F()
123 TestPath, sys::fs::CD_OpenExisting, sys::fs::OF_None); in TEST_F()
127 ASSERT_ERROR(MemoryBuffer::getOpenFile(*File, TestPath, 6).getError()); in TEST_F()
135 SmallString<64> TestPath; in TEST_F()
137 TestFD, TestPath); in TEST_F()
138 FileRemover Cleanup(TestPath); in TEST_F()
101 SmallString<64> TestPath; TEST_F() local
134 SmallString<64> TestPath; TEST_F() local
254 SmallString<64> TestPath; testGetOpenFileSlice() local
297 SmallString<64> TestPath; TEST_F() local
344 SmallString<64> TestPath; TEST_F() local
377 SmallString<64> TestPath; TEST_F() local
412 SmallString<64> TestPath; TEST_F() local
[all...]
/llvm-project/libcxx/test/std/input.output/filesystems/class.path/path.member/path.construct/
H A Dsource.pass.cpp39 const CharT* TestPath = MS; in RunTestCaseImpl() local
40 const CharT* TestPathEnd = StrEnd(TestPath); in RunTestCaseImpl()
41 const std::size_t Size = TestPathEnd - TestPath; in RunTestCaseImpl()
46 const std::basic_string<CharT> S(TestPath); in RunTestCaseImpl()
49 assert(p.string<CharT>() == TestPath); in RunTestCaseImpl()
53 const std::basic_string_view<CharT> S(TestPath); in RunTestCaseImpl()
56 assert(p.string<CharT>() == TestPath); in RunTestCaseImpl()
61 path p(TestPath, args...); in RunTestCaseImpl()
63 assert(p.string<CharT>() == TestPath); in RunTestCaseImpl()
66 path p(TestPath, TestPathEnd, args...); in RunTestCaseImpl()
[all …]
/llvm-project/clang/unittests/Tooling/DependencyScanning/
H A DDependencyScannerTest.cpp94 std::string TestPath = std::string(llvm::formatv("{0}root{0}test.cpp", Sept)); in TEST()
98 VFS->addFile(TestPath, 0, in TEST()
143 std::string TestPath = std::string(llvm::formatv("{0}root{0}test.cpp", Sept)); in TEST()
150 VFS->addFile(TestPath, 0, in TEST()
185 std::string TestPath = std::string(llvm::formatv("{0}root{0}test.cpp", Sept)); in TEST()
190 TestPath, 0, in TEST()
225 std::string TestPath = std::string(llvm::formatv("{0}root{0}test.cpp", Sept)); in TEST()
228 VFS->addFile(TestPath, 0, in TEST()
263 std::string TestPath = std::string(llvm::formatv("{0}root{0}test.m", Sept)); in TEST()
266 VFS->addFile(TestPath, in TEST()
93 std::string TestPath = std::string(llvm::formatv("{0}root{0}test.cpp", Sept)); TEST() local
142 std::string TestPath = std::string(llvm::formatv("{0}root{0}test.cpp", Sept)); TEST() local
184 std::string TestPath = std::string(llvm::formatv("{0}root{0}test.cpp", Sept)); TEST() local
224 std::string TestPath = std::string(llvm::formatv("{0}root{0}test.cpp", Sept)); TEST() local
262 std::string TestPath = std::string(llvm::formatv("{0}root{0}test.m", Sept)); TEST() local
[all...]
/llvm-project/llvm/lib/WindowsDriver/
H A DMSVCPaths.cpp395 SmallString<128> TestPath(getSubDirectoryPath( in useUniversalCRT() local
397 sys::path::append(TestPath, "stdlib.h"); in useUniversalCRT()
398 return !VFS.exists(TestPath); in useUniversalCRT()
437 SmallString<128> TestPath(Path); in getWindowsSDKDir() local
438 sys::path::append(TestPath, "Lib", Test); in getWindowsSDKDir()
439 if (VFS.exists(TestPath)) { in getWindowsSDKDir()
557 StringRef TestPath = PathEntry; in findVCToolChainViaEnvironment() local
558 bool IsBin = sys::path::filename(TestPath).equals_insensitive("bin"); in findVCToolChainViaEnvironment()
561 TestPath = sys::path::parent_path(TestPath); in findVCToolChainViaEnvironment()
562 IsBin = sys::path::filename(TestPath).equals_insensitive("bin"); in findVCToolChainViaEnvironment()
[all …]
/llvm-project/clang/unittests/Frontend/
H A DCodeGenActionTest.cpp90 std::string TestPath = in TEST()
92 VFS->addFile(TestPath, 0, llvm::MemoryBuffer::getMemBuffer("int x;\n")); in TEST()
89 std::string TestPath = TEST() local