Home
last modified time | relevance | path

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

/art/libartbase/base/
Dcommon_art_test.cc54 filename_ = getenv("ANDROID_DATA"); in ScratchFile()
55 filename_ += "/TmpFile-XXXXXX"; in ScratchFile()
56 int fd = mkstemp(&filename_[0]); in ScratchFile()
57 CHECK_NE(-1, fd) << strerror(errno) << " for " << filename_; in ScratchFile()
64 ScratchFile::ScratchFile(const std::string& filename) : filename_(filename) { in ScratchFile()
65 int fd = open(filename_.c_str(), O_RDWR | O_CREAT | O_CLOEXEC, 0666); in ScratchFile()
72 filename_ = file->GetPath(); in ScratchFile()
82 std::swap(filename_, other.filename_); in operator =()
105 if (!OS::FileExists(filename_.c_str())) { in Unlink()
109 int unlink_result = unlink(filename_.c_str()); in Unlink()
Dcommon_art_test.h77 return filename_; in GetFilename()
90 std::string filename_;
/art/runtime/
Doat_file_assistant.cc745 return filename_provided_ ? &filename_ : nullptr; in Filename()
766 std::string vdex_filename = GetVdexFilename(filename_); in Status()
856 executable = LocationIsOnSystem(filename_.c_str()); in GetFile()
858 VLOG(oat) << "Loading " << filename_ << " with executable: " << executable; in GetFile()
865 filename_.c_str(), in GetFile()
874 filename_.c_str(), in GetFile()
875 filename_.c_str(), in GetFile()
884 << filename_ << ": " << error_msg; in GetFile()
886 VLOG(oat) << "Successfully loaded " << filename_ << " with executable: " << executable; in GetFile()
959 filename_ = filename; in Reset()
Doat_file_assistant.h353 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 | O_CLOEXEC, 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()
877 std::string filename_; member in art::hprof::Hprof