Searched refs:TempPath2 (Results 1 – 3 of 3) sorted by relevance
/external/swiftshader/third_party/LLVM/unittests/Support/ |
D | Path.cpp | 182 SmallString<64> TempPath2; in TEST_F() local 183 ASSERT_NO_ERROR(fs::unique_file("%%-%%-%%-%%.temp", FD2, TempPath2)); in TEST_F() 184 ASSERT_NE(TempPath.str(), TempPath2.str()); in TEST_F() 188 fs::copy_file(Twine(TempPath), Twine(TempPath2)), errc::file_exists); in TEST_F() 192 ASSERT_NO_ERROR(fs::copy_file(Twine(TempPath), Twine(TempPath2), in TEST_F() 195 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2), TempFileExists)); in TEST_F() 199 ASSERT_NO_ERROR(fs::exists(Twine(TempPath2), TempFileExists)); in TEST_F() 203 ASSERT_NO_ERROR(fs::create_hard_link(Twine(TempPath), Twine(TempPath2))); in TEST_F() 205 ASSERT_NO_ERROR(fs::equivalent(Twine(TempPath), Twine(TempPath2), equal)); in TEST_F() 214 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2), TempFileExists)); in TEST_F()
|
/external/llvm/unittests/Support/ |
D | Path.cpp | 457 SmallString<64> TempPath2; in TEST_F() local 459 fs::createTemporaryFile("prefix", "temp", FileDescriptor2, TempPath2)); in TEST_F() 462 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D)); in TEST_F() 466 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2))); in TEST_F() 470 ASSERT_NO_ERROR(fs::create_link(Twine(TempPath), Twine(TempPath2))); in TEST_F() 472 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D2)); in TEST_F() 503 SmallString<64> TempPath2; in TEST_F() local 504 ASSERT_NO_ERROR(fs::createTemporaryFile("prefix", "temp", FD2, TempPath2)); in TEST_F() 505 ASSERT_TRUE(TempPath2.endswith(".temp")); in TEST_F() 506 ASSERT_NE(TempPath.str(), TempPath2.str()); in TEST_F() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/ |
D | Path.cpp | 487 SmallString<64> TempPath2; in TEST_F() local 489 fs::createTemporaryFile("prefix", "temp", FileDescriptor2, TempPath2)); in TEST_F() 492 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D)); in TEST_F() 496 ASSERT_NO_ERROR(fs::remove(Twine(TempPath2))); in TEST_F() 500 ASSERT_NO_ERROR(fs::create_link(Twine(TempPath), Twine(TempPath2))); in TEST_F() 502 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath2), D2)); in TEST_F() 521 ASSERT_NO_ERROR(fs::remove(TempPath2)); in TEST_F() 612 SmallString<64> TempPath2; in TEST_F() local 613 ASSERT_NO_ERROR(fs::createTemporaryFile("prefix", "temp", FD2, TempPath2)); in TEST_F() 614 ASSERT_TRUE(TempPath2.endswith(".temp")); in TEST_F() [all …]
|