Searched refs:ScopedTempFiles (Results 1 – 9 of 9) sorted by relevance
102 class ScopedTempFiles {104 static std::unique_ptr<ScopedTempFiles> Create(const std::string& tmp_dir);105 ~ScopedTempFiles();112 ScopedTempFiles(const std::string& tmp_dir);
485 std::unique_ptr<TemporaryFile> tmpfile = ScopedTempFiles::CreateTempFile(); in PrepareVdsoFile()868 std::string ScopedTempFiles::tmp_dir_;869 std::vector<std::string> ScopedTempFiles::files_to_delete_;871 std::unique_ptr<ScopedTempFiles> ScopedTempFiles::Create(const std::string& tmp_dir) { in Create()875 return std::unique_ptr<ScopedTempFiles>(new ScopedTempFiles(tmp_dir)); in Create()878 ScopedTempFiles::ScopedTempFiles(const std::string& tmp_dir) { in ScopedTempFiles() function in simpleperf::ScopedTempFiles883 ScopedTempFiles::~ScopedTempFiles() { in ~ScopedTempFiles()891 std::unique_ptr<TemporaryFile> ScopedTempFiles::CreateTempFile(bool delete_in_destructor) { in CreateTempFile()902 void ScopedTempFiles::RegisterTempFile(const std::string& path) { in RegisterTempFile()
80 auto scoped_temp_files = ScopedTempFiles::Create(tmpdir); in TEST_F()
39 ScopedTempFiles::RegisterTempFile(path); in Create()
41 auto scoped_temp_files = ScopedTempFiles::Create(tmpdir.path); in TEST()
103 tmpfile_ = ScopedTempFiles::CreateTempFile(); in MapRecordThread()
166 scoped_temp_files_ = ScopedTempFiles::Create(tmpdir); in SetUp()170 std::unique_ptr<ScopedTempFiles> scoped_temp_files_;
528 std::unique_ptr<ScopedTempFiles> scoped_temp_files = in Run()529 ScopedTempFiles::Create(android::base::Dirname(record_filename_)); in Run()1895 auto tmp_file = ScopedTempFiles::CreateTempFile(); in MergeMapRecords()1930 auto tmp_file = ScopedTempFiles::CreateTempFile(); in PostUnwindRecords()1957 auto tmp_file = ScopedTempFiles::CreateTempFile(); in JoinCallChains()
260 std::unique_ptr<TemporaryFile> tmpfile = ScopedTempFiles::CreateTempFile(); in CreateTempFp()