Home
last modified time | relevance | path

Searched refs:TempFilename (Results 1 – 25 of 28) sorted by relevance

12

/external/clang/lib/Rewrite/Core/
DRewriter.cpp440 TempFilename = Filename; in AtomicallyMovedFile()
441 TempFilename += "-%%%%%%%%"; in AtomicallyMovedFile()
443 if (llvm::sys::fs::createUniqueFile(TempFilename.str(), FD, TempFilename)) { in AtomicallyMovedFile()
446 << TempFilename; in AtomicallyMovedFile()
461 llvm::sys::fs::rename(TempFilename.str(), Filename)) { in ~AtomicallyMovedFile()
464 << TempFilename << Filename << ec.message(); in ~AtomicallyMovedFile()
467 llvm::sys::fs::remove(TempFilename.str()); in ~AtomicallyMovedFile()
477 SmallString<128> TempFilename; member in __anon8a4c4d1d0111::AtomicallyMovedFile
/external/chromium_org/third_party/webrtc/base/
Dfileutils.h213 virtual std::string TempFilename(const Pathname &dir,
357 static std::string TempFilename(const Pathname &dir, in TempFilename() function
359 return EnsureDefaultFilesystem()->TempFilename(dir, prefix); in TempFilename()
Dwin32filesystem.h75 virtual std::string TempFilename(const Pathname &dir, const std::string &prefix);
Dunixfilesystem.h88 virtual std::string TempFilename(const Pathname &dir,
Dfileutils_unittest.cc28 path.SetPathname(Filesystem::TempFilename(path, "ut")); in TEST()
Dlogging_unittest.cc117 path.SetPathname(Filesystem::TempFilename(path, "ut")); in TEST()
Dfileutils_mock.h210 std::string TempFilename(const Pathname &dir, const std::string &prefix) { in TempFilename() function
Dfileutils.cc251 std::string filename = Filesystem::TempFilename(folder, "gt"); in DirectoryIterator()
Doptionsfile_unittest.cc41 test_file_ = Filesystem::TempFilename(dir, ".testfile"); in OptionsFileTest()
Dwin32filesystem.cc220 std::string Win32Filesystem::TempFilename(const Pathname &dir, in TempFilename() function in rtc::Win32Filesystem
/external/chromium_org/third_party/libjingle/source/talk/base/
Dfileutils.h230 virtual std::string TempFilename(const Pathname &dir,
374 static std::string TempFilename(const Pathname &dir, in TempFilename() function
376 return EnsureDefaultFilesystem()->TempFilename(dir, prefix); in TempFilename()
Dwin32filesystem.h92 virtual std::string TempFilename(const Pathname &dir, const std::string &prefix);
Dunixfilesystem.h105 virtual std::string TempFilename(const Pathname &dir,
Dfileutils_unittest.cc45 path.SetPathname(Filesystem::TempFilename(path, "ut")); in TEST()
Dlogging_unittest.cc134 path.SetPathname(Filesystem::TempFilename(path, "ut")); in TEST()
Dfileutils_mock.h227 std::string TempFilename(const Pathname &dir, const std::string &prefix) { in TempFilename() function
Dfileutils.cc268 std::string filename = Filesystem::TempFilename(folder, "gt"); in DirectoryIterator()
Doptionsfile_unittest.cc58 test_file_ = Filesystem::TempFilename(dir, ".testfile"); in OptionsFileTest()
Dwin32filesystem.cc237 std::string Win32Filesystem::TempFilename(const Pathname &dir, in TempFilename() function in talk_base::Win32Filesystem
Dunixfilesystem.cc222 std::string UnixFilesystem::TempFilename(const Pathname &dir, in TempFilename() function in talk_base::UnixFilesystem
/external/chromium_org/third_party/webrtc/test/testsupport/
Dfileutils.h108 std::string TempFilename(const std::string &dir, const std::string &prefix);
Dfileutils_unittest.cc120 TEST_F(FileUtilsTest, DISABLED_ON_ANDROID(TempFilename)) { in TEST_F() argument
121 std::string temp_filename = webrtc::test::TempFilename( in TEST_F()
Dfileutils.cc168 std::string TempFilename(const std::string &dir, const std::string &prefix) { in TempFilename() function
/external/clang/include/clang/Frontend/
DCompilerInstance.h145 std::string TempFilename; member
150 : Filename(filename), TempFilename(tempFilename), OS(os) { } in OutputFile()
/external/clang/lib/Frontend/
DCompilerInstance.cpp526 if (!it->TempFilename.empty()) { in clearOutputFiles()
528 llvm::sys::fs::remove(it->TempFilename); in clearOutputFiles()
536 llvm::sys::fs::rename(it->TempFilename, NewOutFile.str())) { in clearOutputFiles()
538 << it->TempFilename << it->Filename << ec.message(); in clearOutputFiles()
540 llvm::sys::fs::remove(it->TempFilename); in clearOutputFiles()

12