Searched refs:TempPath (Results 1 – 7 of 7) sorted by relevance
/external/llvm/unittests/Support/ |
D | Path.cpp | 444 SmallString<64> TempPath; in TEST_F() local 446 fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath)); in TEST_F() 450 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F1)); in TEST_F() 451 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F2)); in TEST_F() 469 ASSERT_NO_ERROR(fs::create_link(Twine(TempPath), Twine(TempPath2))); in TEST_F() 493 SmallString<64> TempPath; in TEST_F() local 495 fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath)); in TEST_F() 498 ASSERT_TRUE(sys::fs::exists(Twine(TempPath))); in TEST_F() 505 ASSERT_NE(TempPath.str(), TempPath2.str()); in TEST_F() 508 ASSERT_NO_ERROR(fs::status(Twine(TempPath), A)); in TEST_F() [all …]
|
/external/llvm/lib/Support/ |
D | FileOutputBuffer.cpp | 32 : Region(std::move(R)), FinalPath(Path), TempPath(TmpPath) {} in FileOutputBuffer() 35 sys::fs::remove(Twine(TempPath)); in ~FileOutputBuffer() 110 std::error_code EC = sys::fs::rename(Twine(TempPath), Twine(FinalPath)); in commit() 111 sys::DontRemoveFileOnSignal(TempPath); in commit()
|
/external/llvm/include/llvm/Support/ |
D | FileOutputBuffer.h | 81 StringRef Path, StringRef TempPath); 85 SmallString<128> TempPath; variable
|
/external/clang/lib/Frontend/ |
D | CompilerInstance.cpp | 660 SmallString<128> TempPath; in createOutputFile() local 661 TempPath = OutFile; in createOutputFile() 662 TempPath += "-%%%%%%%%"; in createOutputFile() 665 llvm::sys::fs::createUniqueFile(TempPath, fd, TempPath); in createOutputFile() 672 EC = llvm::sys::fs::createUniqueFile(TempPath, fd, TempPath); in createOutputFile() 678 OSFile = TempFile = TempPath.str(); in createOutputFile()
|
D | ASTUnit.cpp | 2462 SmallString<128> TempPath; in Save() local 2463 TempPath = File; in Save() 2464 TempPath += "-%%%%%%%%"; in Save() 2466 if (llvm::sys::fs::createUniqueFile(TempPath, fd, TempPath)) in Save() 2480 if (llvm::sys::fs::rename(TempPath, File)) { in Save() 2481 llvm::sys::fs::remove(TempPath); in Save()
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 2206 SmallString<64> TempPath; in applyEditsToTemp() local 2210 TempPath)) { in applyEditsToTemp() 2211 reportDiag("Could not create file: " + TempPath.str(), Diag); in applyEditsToTemp() 2219 return TempPath.str(); in applyEditsToTemp()
|
/external/clang/lib/Driver/ |
D | Driver.cpp | 2089 SmallString<128> TempPath(FinalOutput->getValue()); in GetNamedOutputPath() local 2090 llvm::sys::path::remove_filename(TempPath); in GetNamedOutputPath() 2092 llvm::sys::path::append(TempPath, OutputFileName); in GetNamedOutputPath() 2093 NamedOutput = C.getArgs().MakeArgString(TempPath.c_str()); in GetNamedOutputPath()
|