Searched refs:TempPath (Results 1 – 6 of 6) sorted by relevance
| /minix3/external/bsd/llvm/dist/llvm/unittests/Support/ |
| H A D | Path.cpp | 284 SmallString<64> TempPath; in TEST_F() local 286 fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath)); in TEST_F() 290 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F1)); in TEST_F() 291 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F2)); in TEST_F() 309 ASSERT_NO_ERROR(fs::create_link(Twine(TempPath), Twine(TempPath2))); in TEST_F() 333 SmallString<64> TempPath; in TEST_F() local 335 fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath)); in TEST_F() 338 ASSERT_TRUE(sys::fs::exists(Twine(TempPath))); in TEST_F() 345 ASSERT_NE(TempPath.str(), TempPath2.str()); in TEST_F() 348 ASSERT_NO_ERROR(fs::status(Twine(TempPath), A)); in TEST_F() [all …]
|
| /minix3/external/bsd/llvm/dist/llvm/lib/Support/ |
| H A D | FileOutputBuffer.cpp | 32 : Region(std::move(R)), FinalPath(Path), TempPath(TmpPath) {} in FileOutputBuffer() 35 sys::fs::remove(Twine(TempPath)); in ~FileOutputBuffer() 104 return sys::fs::rename(Twine(TempPath), Twine(FinalPath)); in commit()
|
| /minix3/external/bsd/llvm/dist/llvm/include/llvm/Support/ |
| H A D | FileOutputBuffer.h | 81 StringRef Path, StringRef TempPath); 85 SmallString<128> TempPath; variable
|
| /minix3/external/bsd/llvm/dist/clang/lib/Frontend/ |
| H A D | CompilerInstance.cpp | 644 SmallString<128> TempPath; in createOutputFile() local 645 TempPath = OutFile; in createOutputFile() 646 TempPath += "-%%%%%%%%"; in createOutputFile() 649 llvm::sys::fs::createUniqueFile(TempPath.str(), fd, TempPath); in createOutputFile() 656 EC = llvm::sys::fs::createUniqueFile(TempPath.str(), fd, TempPath); in createOutputFile() 662 OSFile = TempFile = TempPath.str(); in createOutputFile()
|
| H A D | ASTUnit.cpp | 2451 SmallString<128> TempPath; in Save() local 2452 TempPath = File; in Save() 2453 TempPath += "-%%%%%%%%"; in Save() 2455 if (llvm::sys::fs::createUniqueFile(TempPath.str(), fd, TempPath)) in Save() 2469 if (llvm::sys::fs::rename(TempPath.str(), File)) { in Save() 2470 llvm::sys::fs::remove(TempPath.str()); in Save()
|
| /minix3/external/bsd/llvm/dist/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 2205 SmallString<64> TempPath; in applyEditsToTemp() local 2209 TempPath)) { in applyEditsToTemp() 2210 reportDiag("Could not create file: " + TempPath.str(), Diag); in applyEditsToTemp() 2218 return TempPath.str(); in applyEditsToTemp()
|