Home
last modified time | relevance | path

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

12

/external/clang/lib/Rewrite/
DRewriter.cpp407 TempFilename = Filename; in AtomicallyMovedFile()
408 TempFilename += "-%%%%%%%%"; in AtomicallyMovedFile()
410 if (llvm::sys::fs::createUniqueFile(TempFilename, FD, TempFilename)) { in AtomicallyMovedFile()
413 << TempFilename; in AtomicallyMovedFile()
424 if (std::error_code ec = llvm::sys::fs::rename(TempFilename, Filename)) { in ~AtomicallyMovedFile()
427 << TempFilename << Filename << ec.message(); in ~AtomicallyMovedFile()
430 llvm::sys::fs::remove(TempFilename); in ~AtomicallyMovedFile()
440 SmallString<128> TempFilename; member in __anon99d1c10a0111::AtomicallyMovedFile
/external/webrtc/webrtc/test/testsupport/
Dfileutils_unittest.cc94 TEST_F(FileUtilsTest, TempFilename) { in TEST_F() argument
95 std::string temp_filename = webrtc::test::TempFilename( in TEST_F()
138 std::string temp_filename = webrtc::test::TempFilename( in TEST_F()
Dfileutils.h108 std::string TempFilename(const std::string &dir, const std::string &prefix);
Dframe_writer_unittest.cc26 temp_filename_ = webrtc::test::TempFilename(webrtc::test::OutputPath(), in SetUp()
Dframe_reader_unittest.cc30 temp_filename_ = webrtc::test::TempFilename(webrtc::test::OutputPath(), in SetUp()
Dfileutils.cc168 std::string TempFilename(const std::string &dir, const std::string &prefix) { in TempFilename() function
/external/clang/include/clang/Frontend/
DCompilerInstance.h157 std::string TempFilename; member
162 : Filename(std::move(filename)), TempFilename(std::move(tempFilename)), in OutputFile()
166 TempFilename(std::move(O.TempFilename)), OS(std::move(O.OS)) {} in OutputFile()
/external/webrtc/webrtc/base/
Dfileutils.h208 virtual std::string TempFilename(const Pathname &dir,
352 static std::string TempFilename(const Pathname &dir, in TempFilename() function
354 return EnsureDefaultFilesystem()->TempFilename(dir, prefix); in TempFilename()
Dwin32filesystem.h75 virtual std::string TempFilename(const Pathname &dir, const std::string &prefix);
Dunixfilesystem.h88 std::string TempFilename(const Pathname& dir,
Dfileutils_unittest.cc28 path.SetPathname(Filesystem::TempFilename(path, "ut")); in TEST()
Dlogging_unittest.cc134 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.cc252 std::string filename = Filesystem::TempFilename(folder, "gt"); in DirectoryIterator()
Doptionsfile_unittest.cc41 test_file_ = Filesystem::TempFilename(dir, ".testfile"); in OptionsFileTest()
/external/webrtc/webrtc/test/
Dframe_generator_unittest.cc29 test::TempFilename(test::OutputPath(), "2_frame_yuv_file"); in SetUp()
31 test::TempFilename(test::OutputPath(), "1_frame_yuv_file"); in SetUp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp420 SmallString<128> TempFilename; in write() local
424 sys::path::append(TempFilename, CachePath, "Thin-%%%%%%.tmp.o"); in write()
426 sys::fs::createUniqueFile(TempFilename, TempFD, TempFilename); in write()
436 EC = sys::fs::rename(TempFilename, EntryPath); in write()
438 sys::fs::remove(TempFilename); in write()
/external/llvm/lib/LTO/
DThinLTOCodeGenerator.cpp297 SmallString<128> TempFilename; in write() local
300 sys::fs::createTemporaryFile("Thin", "tmp.o", TempFD, TempFilename); in write()
310 EC = sys::fs::rename(TempFilename, EntryPath); in write()
312 sys::fs::remove(TempFilename); in write()
/external/webrtc/webrtc/modules/audio_processing/transient/
Dfile_utils_unittest.cc361 std::string kOutFileName = test::TempFilename(test::OutputPath(), in TEST_F()
408 std::string kOutFileName = test::TempFilename(test::OutputPath(), in TEST_F()
455 std::string kOutFileName = test::TempFilename(test::OutputPath(), in TEST_F()
/external/webrtc/webrtc/modules/audio_processing/intelligibility/test/
Dintelligibility_proc.cc133 test::TempFilename(test::WorkingDir(), "temp_wav_file"); in void_main()
/external/webrtc/webrtc/modules/audio_coding/test/
DPacketLossTest.cc134 std::string fileName = webrtc::test::TempFilename(webrtc::test::OutputPath(), in Perform()
/external/webrtc/webrtc/test/testsupport/metrics/
Dvideo_metrics_unittest.cc39 empty_file_ = webrtc::test::TempFilename( in SetUp()
/external/webrtc/webrtc/voice_engine/test/auto_test/
Dvoe_conference_test.cc135 webrtc::test::TempFilename(webrtc::test::OutputPath(), "silence"); in TEST()
/external/clang/lib/Frontend/
DCompilerInstance.cpp554 if (!OF.TempFilename.empty()) { in clearOutputFiles()
556 llvm::sys::fs::remove(OF.TempFilename); in clearOutputFiles()
564 llvm::sys::fs::rename(OF.TempFilename, NewOutFile)) { in clearOutputFiles()
566 << OF.TempFilename << OF.Filename << ec.message(); in clearOutputFiles()
568 llvm::sys::fs::remove(OF.TempFilename); in clearOutputFiles()
/external/webrtc/webrtc/tools/frame_editing/
Dframe_editing_unittest.cc33 test_video_ = webrtc::test::TempFilename(webrtc::test::OutputPath(), in SetUp()

12