Searched refs:TempPath (Results 1 – 5 of 5) sorted by relevance
/external/llvm/unittests/Support/ |
D | Path.cpp | 171 SmallString<64> TempPath; in TEST_F() local 173 fs::unique_file("%%-%%-%%-%%.temp", FileDescriptor, TempPath)); in TEST_F() 177 ASSERT_NO_ERROR(sys::fs::exists(Twine(TempPath), TempFileExists)); in TEST_F() 184 ASSERT_NE(TempPath.str(), TempPath2.str()); in TEST_F() 187 ASSERT_NO_ERROR(fs::status(Twine(TempPath), A)); in TEST_F() 193 fs::copy_file(Twine(TempPath), Twine(TempPath2)), errc::file_exists); in TEST_F() 197 ASSERT_NO_ERROR(fs::copy_file(Twine(TempPath), Twine(TempPath2), in TEST_F() 208 ASSERT_NO_ERROR(fs::create_hard_link(Twine(TempPath), Twine(TempPath2))); in TEST_F() 210 ASSERT_NO_ERROR(fs::equivalent(Twine(TempPath), Twine(TempPath2), equal)); in TEST_F() 212 ASSERT_NO_ERROR(fs::status(Twine(TempPath), A)); in TEST_F() [all …]
|
/external/llvm/lib/Support/ |
D | FileOutputBuffer.cpp | 30 TempPath.assign(TmpPath); in FileOutputBuffer() 39 sys::fs::remove(Twine(TempPath), Existed); in ~FileOutputBuffer() 137 EC = sys::fs::resize_file(Twine(TempPath), NewSmallerSize); in commit() 143 return sys::fs::rename(Twine(TempPath), Twine(FinalPath)); in commit()
|
/external/llvm/include/llvm/Support/ |
D | FileOutputBuffer.h | 85 StringRef Path, StringRef TempPath); 90 SmallString<128> TempPath; variable
|
/external/clang/lib/Frontend/ |
D | CompilerInstance.cpp | 553 SmallString<128> TempPath; in createOutputFile() local 554 TempPath = OutFile; in createOutputFile() 555 TempPath += "-%%%%%%%%"; in createOutputFile() 557 if (llvm::sys::fs::unique_file(TempPath.str(), fd, TempPath, in createOutputFile() 561 OSFile = TempFile = TempPath.str(); in createOutputFile()
|
D | ASTUnit.cpp | 2463 SmallString<128> TempPath; in Save() local 2464 TempPath = File; in Save() 2465 TempPath += "-%%%%%%%%"; in Save() 2467 if (llvm::sys::fs::unique_file(TempPath.str(), fd, TempPath, in Save() 2482 if (llvm::sys::fs::rename(TempPath.str(), File)) { in Save() 2484 llvm::sys::fs::remove(TempPath.str(), exists); in Save()
|