Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Denvironment.h102 class ScopedTempFiles {
104 static std::unique_ptr<ScopedTempFiles> Create(const std::string& tmp_dir);
105 ~ScopedTempFiles();
112 ScopedTempFiles(const std::string& tmp_dir);
Denvironment.cpp485 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::ScopedTempFiles
883 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()
DMapRecordReader_test.cpp80 auto scoped_temp_files = ScopedTempFiles::Create(tmpdir); in TEST_F()
DJITDebugReader_impl.h39 ScopedTempFiles::RegisterTempFile(path); in Create()
Denvironment_test.cpp41 auto scoped_temp_files = ScopedTempFiles::Create(tmpdir.path); in TEST()
DMapRecordReader.cpp103 tmpfile_ = ScopedTempFiles::CreateTempFile(); in MapRecordThread()
DCallChainJoiner_test.cpp166 scoped_temp_files_ = ScopedTempFiles::Create(tmpdir); in SetUp()
170 std::unique_ptr<ScopedTempFiles> scoped_temp_files_;
Dcmd_record.cpp528 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()
DCallChainJoiner.cpp260 std::unique_ptr<TemporaryFile> tmpfile = ScopedTempFiles::CreateTempFile(); in CreateTempFp()