Home
last modified time | relevance | path

Searched refs:ScopedTempFiles (Results 1 – 9 of 9) sorted by relevance

/system/extras/simpleperf/
Denvironment.h101 class ScopedTempFiles {
103 static std::unique_ptr<ScopedTempFiles> Create(const std::string& tmp_dir);
104 ~ScopedTempFiles();
111 ScopedTempFiles(const std::string& tmp_dir);
Denvironment.cpp460 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::ScopedTempFiles
847 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()
DMapRecordReader_test.cpp76 auto scoped_temp_files = ScopedTempFiles::Create(tmpdir); in TEST_F()
Denvironment_test.cpp40 auto scoped_temp_files = ScopedTempFiles::Create(tmpdir.path); in TEST()
DMapRecordReader.cpp103 tmpfile_ = ScopedTempFiles::CreateTempFile(); in MapRecordThread()
DCallChainJoiner_test.cpp160 scoped_temp_files_ = ScopedTempFiles::Create(tmpdir); in SetUp()
164 std::unique_ptr<ScopedTempFiles> scoped_temp_files_;
Dcmd_record.cpp464 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()
DCallChainJoiner.cpp260 std::unique_ptr<TemporaryFile> tmpfile = ScopedTempFiles::CreateTempFile(); in CreateTempFp()
DJITDebugReader.cpp215 ScopedTempFiles::RegisterTempFile(path); in Create()