Home
last modified time | relevance | path

Searched refs:TempFilename (Results 1 – 25 of 32) 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 __anonec1d98e80111::AtomicallyMovedFile
/external/llvm-project/clang/lib/Rewrite/
DRewriter.cpp425 TempFilename = Filename; in AtomicallyMovedFile()
426 TempFilename += "-%%%%%%%%"; in AtomicallyMovedFile()
428 if (llvm::sys::fs::createUniqueFile(TempFilename, FD, TempFilename)) { in AtomicallyMovedFile()
431 << TempFilename; in AtomicallyMovedFile()
442 if (std::error_code ec = llvm::sys::fs::rename(TempFilename, Filename)) { in ~AtomicallyMovedFile()
445 << TempFilename << Filename << ec.message(); in ~AtomicallyMovedFile()
448 llvm::sys::fs::remove(TempFilename); in ~AtomicallyMovedFile()
458 SmallString<128> TempFilename; member in __anon4c344a160111::AtomicallyMovedFile
/external/webrtc/rtc_tools/
Dvideo_file_writer_unittest.cc30 TempFilename(webrtc::test::OutputPath(), "test_video_file.y4m"); in SetUp()
71 TempFilename(webrtc::test::OutputPath(), "test_video_file2.y4m"); in WriteVideoY4m()
85 TempFilename(webrtc::test::OutputPath(), "test_video_file2.yuv"); in WriteVideoYuv()
Dvideo_file_reader_unittest.cc27 TempFilename(webrtc::test::OutputPath(), "test_video_file.y4m"); in SetUp()
80 TempFilename(webrtc::test::OutputPath(), "test_video_file.yuv"); in SetUp()
/external/webrtc/rtc_tools/frame_analyzer/
Dvideo_quality_analysis_unittest.cc49 std::string log_filename = TempFilename(webrtc::test::OutputPath(), in SetUp()
82 TempFilename(webrtc::test::OutputPath(), "log.log"); in TEST_F()
109 TempFilename(webrtc::test::OutputPath(), "log.log"); in TEST_F()
/external/webrtc/test/testsupport/
Dfile_utils_unittest.cc121 TEST_F(FileUtilsTest, TempFilename) { in TEST_F() argument
122 std::string temp_filename = webrtc::test::TempFilename( in TEST_F()
193 std::string temp_filename = webrtc::test::TempFilename( in TEST_F()
219 std::string temp_filename = webrtc::test::TempFilename( in TEST_F()
Dfile_utils.cc104 std::string TempFilename(const std::string& dir, const std::string& prefix) { in TempFilename() function
131 std::string filename = TempFilename(dir, prefix); in GenerateTempFilename()
Dcopy_to_file_audio_capturer_unittest.cc26 temp_filename_ = webrtc::test::TempFilename( in SetUp()
Dyuv_frame_writer_unittest.cc37 temp_filename_ = webrtc::test::TempFilename(webrtc::test::OutputPath(), in SetUp()
Dfile_utils.h50 std::string TempFilename(const std::string& dir, const std::string& prefix);
Dy4m_frame_writer_unittest.cc41 temp_filename_ = webrtc::test::TempFilename(webrtc::test::OutputPath(), in SetUp()
Dyuv_frame_reader_unittest.cc41 temp_filename_ = webrtc::test::TempFilename(webrtc::test::OutputPath(), in SetUp()
Dy4m_frame_reader_unittest.cc45 temp_filename_ = webrtc::test::TempFilename(webrtc::test::OutputPath(), in SetUp()
Dvideo_frame_writer_unittest.cc96 temp_filename_ = webrtc::test::TempFilename(webrtc::test::OutputPath(), in SetUp()
Divf_video_frame_generator_unittest.cc102 webrtc::test::TempFilename(webrtc::test::OutputPath(), "test_file.ivf"); in SetUp()
/external/webrtc/modules/audio_processing/aec_dump/
Daec_dump_unittest.cc27 webrtc::test::TempFilename(webrtc::test::OutputPath(), "aec_dump"); in TEST()
62 webrtc::test::TempFilename(webrtc::test::OutputPath(), "aec_dump"); in TEST()
/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/test/
Dframe_generator_unittest.cc38 test::TempFilename(test::OutputPath(), "2_frame_yuv_file"); in SetUp()
40 test::TempFilename(test::OutputPath(), "1_frame_yuv_file"); in SetUp()
/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/modules/audio_coding/test/
DPacketLossTest.cc144 std::string fileName = webrtc::test::TempFilename(webrtc::test::OutputPath(), in Perform()
DEncodeDecodeTest.cc248 std::string fileName = webrtc::test::TempFilename( in Perform()
/external/webrtc/modules/video_coding/utility/
Divf_file_reader_unittest.cc34 webrtc::test::TempFilename(webrtc::test::OutputPath(), "test_file.ivf"); in SetUp()
Divf_file_writer_unittest.cc34 webrtc::test::TempFilename(webrtc::test::OutputPath(), "test_file"); in SetUp()
/external/llvm-project/clang/include/clang/Frontend/
DCompilerInstance.h167 std::string TempFilename; member
170 : Filename(std::move(filename)), TempFilename(std::move(tempFilename)) { in OutputFile()
/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()

12