Searched refs:ScopedTempFiles (Results 1 – 9 of 9) sorted by relevance
101 class ScopedTempFiles {103 static std::unique_ptr<ScopedTempFiles> Create(const std::string& tmp_dir);104 ~ScopedTempFiles();111 ScopedTempFiles(const std::string& tmp_dir);
460 std::unique_ptr<TemporaryFile> tmpfile = ScopedTempFiles::CreateTempFile(); in PrepareVdsoFile()832 std::string ScopedTempFiles::tmp_dir_;833 std::vector<std::string> ScopedTempFiles::files_to_delete_;835 std::unique_ptr<ScopedTempFiles> ScopedTempFiles::Create(const std::string& tmp_dir) { in Create()839 return std::unique_ptr<ScopedTempFiles>(new ScopedTempFiles(tmp_dir)); in Create()842 ScopedTempFiles::ScopedTempFiles(const std::string& tmp_dir) { in ScopedTempFiles() function in simpleperf::ScopedTempFiles847 ScopedTempFiles::~ScopedTempFiles() { in ~ScopedTempFiles()855 std::unique_ptr<TemporaryFile> ScopedTempFiles::CreateTempFile(bool delete_in_destructor) { in CreateTempFile()866 void ScopedTempFiles::RegisterTempFile(const std::string& path) { in RegisterTempFile()
76 auto scoped_temp_files = ScopedTempFiles::Create(tmpdir); in TEST_F()
40 auto scoped_temp_files = ScopedTempFiles::Create(tmpdir.path); in TEST()
103 tmpfile_ = ScopedTempFiles::CreateTempFile(); in MapRecordThread()
160 scoped_temp_files_ = ScopedTempFiles::Create(tmpdir); in SetUp()164 std::unique_ptr<ScopedTempFiles> scoped_temp_files_;
464 std::unique_ptr<ScopedTempFiles> scoped_temp_files = in Run()465 ScopedTempFiles::Create(android::base::Dirname(record_filename_)); in Run()1643 auto tmp_file = ScopedTempFiles::CreateTempFile(); in MergeMapRecords()1678 auto tmp_file = ScopedTempFiles::CreateTempFile(); in PostUnwindRecords()1697 auto tmp_file = ScopedTempFiles::CreateTempFile(); in JoinCallChains()
260 std::unique_ptr<TemporaryFile> tmpfile = ScopedTempFiles::CreateTempFile(); in CreateTempFp()
215 ScopedTempFiles::RegisterTempFile(path); in Create()