/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | ReplaceFileTest.cpp | 72 SmallString<128> TestDirectory; in TEST() local 74 "FileOpenedForReadingCanBeReplaced-test", TestDirectory)); in TEST() 77 SmallString<128> SourceFileName(TestDirectory); in TEST() 80 SmallString<128> TargetFileName(TestDirectory); in TEST() 115 ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); in TEST() 121 SmallString<128> TestDirectory; in TEST() local 123 fs::createUniqueDirectory("ExistingTemp-test", TestDirectory)); in TEST() 125 SmallString<128> SourceFileName(TestDirectory); in TEST() 128 SmallString<128> TargetFileName(TestDirectory); in TEST() 131 SmallString<128> TargetTmp0FileName(TestDirectory); in TEST() [all …]
|
D | Path.cpp | 453 SmallString<128> TestDirectory; member in __anon88dfe2e80111::FileSystemTest 458 fs::createUniqueDirectory("file-system-test", TestDirectory)); in SetUp() 460 errs() << "Test Directory: " << TestDirectory << '\n'; in SetUp() 462 NonExistantFile = TestDirectory; in SetUp() 469 void TearDown() override { ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); } in TearDown() 527 fs::create_directories(Twine(TestDirectory) + "/test1/test2/test3")); in TEST_F() 528 ASSERT_TRUE(fs::exists(Twine(TestDirectory) + "/test1/test2/test3")); in TEST_F() 539 ASSERT_NO_ERROR(fs::real_path(TestDirectory, RealBase)); in TEST_F() 543 Twine(TestDirectory) + "/././test1/../test1/test2/./test3/..", Actual)); in TEST_F() 557 ASSERT_NO_ERROR(fs::remove_directories(Twine(TestDirectory) + "/test1")); in TEST_F() [all …]
|
D | FileOutputBufferTest.cpp | 36 SmallString<128> TestDirectory; in TEST() local 39 fs::createUniqueDirectory("FileOutputBuffer-test", TestDirectory)); in TEST() 43 SmallString<128> File1(TestDirectory); in TEST() 65 SmallString<128> File2(TestDirectory); in TEST() 82 SmallString<128> File3(TestDirectory); in TEST() 103 SmallString<128> File4(TestDirectory); in TEST() 123 ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); in TEST() 128 SmallString<128> TestDirectory; in TEST() local 131 fs::createUniqueDirectory("FileOutputBuffer-modify", TestDirectory)); in TEST() 134 SmallString<128> File1(TestDirectory); in TEST() [all …]
|
D | ProgramTest.cpp | 132 SmallString<128> TestDirectory; in TEST_F() local 134 fs::createUniqueDirectory("program-redirect-test", TestDirectory)); in TEST_F() 135 SmallString<256> LongPath(TestDirectory); in TEST_F() 138 LongPath.append(260 - TestDirectory.size(), 'a'); in TEST_F() 151 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory))); in TEST_F() 309 SmallString<128> TestDirectory; in TEST() local 310 ASSERT_NO_ERROR(fs::createUniqueDirectory("program-test", TestDirectory)); in TEST() 311 errs() << "Test Directory: " << TestDirectory << '\n'; in TEST() 313 SmallString<128> file_pathname(TestDirectory); in TEST() 337 ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); in TEST()
|
D | Host.cpp | 182 SmallString<128> TestDirectory; in TEST_F() local 183 ASSERT_NO_ERROR(fs::createUniqueDirectory("host_test", TestDirectory)); in TEST_F() 184 SmallString<128> OutputFile(TestDirectory); in TEST_F() 219 ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); in TEST_F()
|
/external/llvm/unittests/Support/ |
D | Path.cpp | 429 SmallString<128> TestDirectory; member in __anon566e41900111::FileSystemTest 433 fs::createUniqueDirectory("file-system-test", TestDirectory)); in SetUp() 435 errs() << "Test Directory: " << TestDirectory << '\n'; in SetUp() 439 void TearDown() override { ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); } in TearDown() 575 ASSERT_NO_ERROR(fs::create_directory(Twine(TestDirectory) + "foo")); in TEST_F() 576 ASSERT_NO_ERROR(fs::create_directory(Twine(TestDirectory) + "foo")); in TEST_F() 577 ASSERT_EQ(fs::create_directory(Twine(TestDirectory) + "foo", false), in TEST_F() 579 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory) + "foo")); in TEST_F() 587 fs::create_directory(Twine(TestDirectory) + "baz500", false, in TEST_F() 589 ASSERT_NO_ERROR(fs::status(Twine(TestDirectory) + "baz500", Status)); in TEST_F() [all …]
|
D | FileOutputBufferTest.cpp | 32 SmallString<128> TestDirectory; in TEST() local 35 fs::createUniqueDirectory("FileOutputBuffer-test", TestDirectory)); in TEST() 39 SmallString<128> File1(TestDirectory); in TEST() 61 SmallString<128> File2(TestDirectory); in TEST() 78 SmallString<128> File3(TestDirectory); in TEST() 99 SmallString<128> File4(TestDirectory); in TEST() 119 ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); in TEST()
|
D | ProgramTest.cpp | 140 SmallString<128> TestDirectory; in TEST_F() local 142 fs::createUniqueDirectory("program-redirect-test", TestDirectory)); in TEST_F() 143 SmallString<256> LongPath(TestDirectory); in TEST_F() 146 LongPath.append(260 - TestDirectory.size(), 'a'); in TEST_F() 160 ASSERT_NO_ERROR(fs::remove(Twine(TestDirectory))); in TEST_F() 324 SmallString<128> TestDirectory; in TEST() local 325 ASSERT_NO_ERROR(fs::createUniqueDirectory("program-test", TestDirectory)); in TEST() 326 errs() << "Test Directory: " << TestDirectory << '\n'; in TEST() 328 SmallString<128> file_pathname(TestDirectory); in TEST() 352 ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); in TEST()
|
D | ReplaceFileTest.cpp | 57 SmallString<128> TestDirectory; in TEST() local 59 "FileOpenedForReadingCanBeReplaced-test", TestDirectory)); in TEST() 62 SmallString<128> SourceFileName(TestDirectory); in TEST() 65 SmallString<128> TargetFileName(TestDirectory); in TEST() 110 ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); in TEST()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/BinaryFormat/ |
D | TestFileMagic.cpp | 36 SmallString<128> TestDirectory; member in MagicTest 40 fs::createUniqueDirectory("file-system-test", TestDirectory)); in SetUp() 42 errs() << "Test Directory: " << TestDirectory << '\n'; in SetUp() 46 void TearDown() override { ASSERT_NO_ERROR(fs::remove(TestDirectory.str())); } in TearDown() 124 SmallString<128> file_pathname(TestDirectory); in TEST_F()
|
/external/swiftshader/third_party/LLVM/unittests/Support/ |
D | Path.cpp | 148 SmallString<128> TestDirectory; member in __anon075462bc0111::FileSystemTest 154 TestDirectory)); in SetUp() 157 TestDirectory = path::parent_path(TestDirectory); in SetUp() 158 errs() << "Test Directory: " << TestDirectory << '\n'; in SetUp() 164 ASSERT_NO_ERROR(fs::remove_all(TestDirectory.str(), removed)); in TearDown() 238 SmallString<128> file_pathname(TestDirectory); in TEST_F()
|
/external/clang/unittests/Basic/ |
D | VirtualFileSystemTest.cpp | 309 ScopedDir TestDirectory("virtual-file-system-test", /*Unique*/true); in TEST() local 313 vfs::directory_iterator I = FS->dir_begin(Twine(TestDirectory), EC); in TEST() 317 ScopedDir _a(TestDirectory+"/a"); in TEST() 318 ScopedDir _ab(TestDirectory+"/a/b"); in TEST() 319 ScopedDir _c(TestDirectory+"/c"); in TEST() 320 ScopedDir _cd(TestDirectory+"/c/d"); in TEST() 322 I = FS->dir_begin(Twine(TestDirectory), EC); in TEST() 336 ScopedDir TestDirectory("virtual-file-system-test", /*Unique*/true); in TEST() local 340 auto I = vfs::recursive_directory_iterator(*FS, Twine(TestDirectory), EC); in TEST() 344 ScopedDir _a(TestDirectory+"/a"); in TEST() [all …]
|
/external/swiftshader/third_party/LLVM/utils/ |
D | NewNightlyTest.pl | 521 sub TestDirectory { subroutine 560 ($SSProgs, $llcbeta_options) = TestDirectory("SingleSource"); 562 ($MSProgs, $llcbeta_options) = TestDirectory("MultiSource"); 565 ($ExtProgs, $llcbeta_options) = TestDirectory("External");
|