Home
last modified time | relevance | path

Searched refs:tmp_dir_ (Results 1 – 2 of 2) sorted by relevance

/system/extras/simpleperf/
Denvironment.cpp856 std::string ScopedTempFiles::tmp_dir_; member in simpleperf::ScopedTempFiles
867 CHECK(tmp_dir_.empty()); // No other ScopedTempFiles. in ScopedTempFiles()
868 tmp_dir_ = tmp_dir; in ScopedTempFiles()
872 tmp_dir_.clear(); in ~ScopedTempFiles()
880 CHECK(!tmp_dir_.empty()); in CreateTempFile()
881 std::unique_ptr<TemporaryFile> tmp_file(new TemporaryFile(tmp_dir_)); in CreateTempFile()
882 CHECK_NE(tmp_file->fd, -1) << "failed to create tmpfile under " << tmp_dir_; in CreateTempFile()
Denvironment.h114 static std::string tmp_dir_; variable