Searched refs:TempPath (Results 1 - 6 of 6) sorted by relevance

/external/llvm/include/llvm/Support/
H A DFileOutputBuffer.h81 StringRef Path, StringRef TempPath);
85 SmallString<128> TempPath; member in class:llvm::FileOutputBuffer
/external/llvm/lib/Support/
H A DFileOutputBuffer.cpp27 , TempPath(TmpPath) {
31 sys::fs::remove(Twine(TempPath));
94 std::error_code EC = sys::fs::resize_file(Twine(TempPath), NewSmallerSize);
100 return sys::fs::rename(Twine(TempPath), Twine(FinalPath));
/external/llvm/unittests/Support/
H A DPath.cpp283 SmallString<64> TempPath; local
285 fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath));
289 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F1));
290 ASSERT_NO_ERROR(fs::getUniqueID(Twine(TempPath), F2));
308 ASSERT_NO_ERROR(fs::create_link(Twine(TempPath), Twine(TempPath2)));
332 SmallString<64> TempPath; local
334 fs::createTemporaryFile("prefix", "temp", FileDescriptor, TempPath));
338 ASSERT_NO_ERROR(sys::fs::exists(Twine(TempPath), TempFileExists));
346 ASSERT_NE(TempPath.str(), TempPath2.str());
349 ASSERT_NO_ERROR(fs::status(Twine(TempPath),
583 SmallString<64> TempPath; local
[all...]
/external/clang/lib/Frontend/
H A DCompilerInstance.cpp645 SmallString<128> TempPath; local
646 TempPath = OutFile;
647 TempPath += "-%%%%%%%%";
650 llvm::sys::fs::createUniqueFile(TempPath.str(), fd, TempPath);
657 EC = llvm::sys::fs::createUniqueFile(TempPath.str(), fd, TempPath);
663 OSFile = TempFile = TempPath.str();
H A DASTUnit.cpp2481 SmallString<128> TempPath;
2482 TempPath = File;
2483 TempPath += "-%%%%%%%%";
2485 if (llvm::sys::fs::createUniqueFile(TempPath.str(), fd, TempPath))
2499 if (llvm::sys::fs::rename(TempPath.str(), File)) {
2500 llvm::sys::fs::remove(TempPath.str());
/external/clang/lib/ARCMigrate/
H A DObjCMT.cpp2067 SmallString<64> TempPath; local
2071 TempPath)) {
2072 reportDiag("Could not create file: " + TempPath.str(), Diag);
2080 return TempPath.str();

Completed in 3738 milliseconds