Home
last modified time | relevance | path

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

/art/runtime/
Dcommon_runtime_test.cc71 filename_ = getenv("ANDROID_DATA"); in ScratchFile()
72 filename_ += "/TmpFile-XXXXXX"; in ScratchFile()
73 int fd = mkstemp(&filename_[0]); in ScratchFile()
79 filename_ = other.GetFilename(); in ScratchFile()
80 filename_ += suffix; in ScratchFile()
81 int fd = open(filename_.c_str(), O_RDWR | O_CREAT, 0666); in ScratchFile()
88 filename_ = file->GetPath(); in ScratchFile()
109 if (!OS::FileExists(filename_.c_str())) { in Unlink()
113 int unlink_result = unlink(filename_.c_str()); in Unlink()
Dcommon_runtime_test.h50 return filename_; in GetFilename()
63 std::string filename_;
/art/runtime/hprof/
Dhprof.cc412 : filename_(output_filename), in Hprof()
419 LOG(INFO) << "hprof: heap dump \"" << filename_ << "\" starting..."; in Hprof()
657 out_fd = open(filename_.c_str(), O_WRONLY|O_CREAT|O_TRUNC, 0644); in DumpToFile()
659 ThrowRuntimeException("Couldn't dump heap; open(\"%s\") failed: %s", filename_.c_str(), in DumpToFile()
665 std::unique_ptr<File> file(new File(out_fd, filename_, true)); in DumpToFile()
688 filename_.c_str(), strerror(errno))); in DumpToFile()
730 std::string filename_; member in art::hprof::Hprof