Home
last modified time | relevance | path

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

/art/libartbase/base/
Dcommon_art_test.cc85 filename_ = getenv("ANDROID_DATA"); in ScratchFile()
86 filename_ += "/TmpFile-XXXXXX"; in ScratchFile()
87 int fd = mkstemp(&filename_[0]); in ScratchFile()
88 CHECK_NE(-1, fd) << strerror(errno) << " for " << filename_; in ScratchFile()
95 ScratchFile::ScratchFile(const std::string& filename) : filename_(filename) { in ScratchFile()
96 int fd = open(filename_.c_str(), O_RDWR | O_CREAT | O_CLOEXEC, 0666); in ScratchFile()
103 filename_ = file->GetPath(); in ScratchFile()
113 std::swap(filename_, other.filename_); in operator =()
136 if (!OS::FileExists(filename_.c_str())) { in Unlink()
140 int unlink_result = unlink(filename_.c_str()); in Unlink()
Dcommon_art_test.h80 return filename_; in GetFilename()
93 std::string filename_;
/art/runtime/
Doat_file_assistant.cc700 return filename_provided_ ? &filename_ : nullptr; in Filename()
723 std::string vdex_filename = GetVdexFilename(filename_); in Status()
813 executable = LocationIsOnSystem(filename_.c_str()); in GetFile()
815 VLOG(oat) << "Loading " << filename_ << " with executable: " << executable; in GetFile()
824 filename_.c_str(), in GetFile()
833 filename_.c_str(), in GetFile()
834 filename_.c_str(), in GetFile()
842 << filename_ << ": " << error_msg; in GetFile()
844 VLOG(oat) << "Successfully loaded " << filename_ << " with executable: " << executable; in GetFile()
926 filename_ = filename; in Reset()
Doat_file_assistant.h348 std::string filename_; variable
/art/runtime/hprof/
Dhprof.cc438 : filename_(output_filename), in Hprof()
441 LOG(INFO) << "hprof: heap dump \"" << filename_ << "\" starting..."; in Hprof()
770 out_fd = open(filename_.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, 0644); in DumpToFile()
772 ThrowRuntimeException("Couldn't dump heap; open(\"%s\") failed: %s", filename_.c_str(), in DumpToFile()
778 std::unique_ptr<File> file(new File(out_fd, filename_, true)); in DumpToFile()
801 filename_.c_str(), in DumpToFile()
876 std::string filename_; member in art::hprof::Hprof