Home
last modified time | relevance | path

Searched refs:filename_ (Results 1 – 5 of 5) sorted by relevance

/art/runtime/
Dcommon_runtime_test.cc144 filename_ = getenv("ANDROID_DATA"); in ScratchFile()
145 filename_ += "/TmpFile-XXXXXX"; in ScratchFile()
146 int fd = mkstemp(&filename_[0]); in ScratchFile()
147 CHECK_NE(-1, fd) << strerror(errno) << " for " << filename_; in ScratchFile()
154 ScratchFile::ScratchFile(const std::string& filename) : filename_(filename) { in ScratchFile()
155 int fd = open(filename_.c_str(), O_RDWR | O_CREAT, 0666); in ScratchFile()
162 filename_ = file->GetPath(); in ScratchFile()
172 std::swap(filename_, other.filename_); in operator =()
195 if (!OS::FileExists(filename_.c_str())) { in Unlink()
199 int unlink_result = unlink(filename_.c_str()); in Unlink()
Dcommon_runtime_test.h67 return filename_; in GetFilename()
80 std::string filename_;
Doat_file_assistant.cc996 return filename_provided_ ? &filename_ : nullptr; in Filename()
1018 std::string vdex_filename = GetVdexFilename(filename_); in Status()
1098 file_.reset(OatFile::Open(filename_.c_str(), in GetFile()
1099 filename_.c_str(), in GetFile()
1108 << filename_ << ": " << error_msg; in GetFile()
1174 filename_ = filename; in Reset()
Doat_file_assistant.h387 std::string filename_; variable
/art/runtime/hprof/
Dhprof.cc439 : filename_(output_filename), in Hprof()
442 LOG(INFO) << "hprof: heap dump \"" << filename_ << "\" starting..."; in Hprof()
771 out_fd = open(filename_.c_str(), O_WRONLY|O_CREAT|O_TRUNC, 0644); in DumpToFile()
773 ThrowRuntimeException("Couldn't dump heap; open(\"%s\") failed: %s", filename_.c_str(), in DumpToFile()
779 std::unique_ptr<File> file(new File(out_fd, filename_, true)); in DumpToFile()
802 filename_.c_str(), in DumpToFile()
885 std::string filename_; member in art::hprof::Hprof