Searched refs:filename_ (Results 1 – 7 of 7) sorted by relevance
/art/runtime/ |
D | oat_file_assistant.cc | 755 return filename_provided_ ? &filename_ : nullptr; in Filename() 820 if (LocationIsOnArtApexData(filename_) && Runtime::Current()->DenyArtApexDataFiles()) { in GetFile() 821 LOG(WARNING) << "OatFileAssistant rejected file " << filename_ in GetFile() 828 if (android::base::EndsWith(filename_, kVdexExtension)) { in GetFile() 841 filename_, in GetFile() 849 vdex = VdexFile::Open(filename_, in GetFile() 856 VLOG(oat) << "unable to open vdex file " << filename_ << ": " << error_msg; in GetFile() 865 executable = LocationIsTrusted(filename_, /*trust_art_apex_data_files=*/ true); in GetFile() 867 VLOG(oat) << "Loading " << filename_ << " with executable: " << executable; in GetFile() 875 filename_.c_str(), in GetFile() [all …]
|
D | oat_file_assistant.h | 362 std::string filename_; variable
|
/art/libartbase/base/ |
D | common_art_test.cc | 86 filename_ = getenv("ANDROID_DATA"); in ScratchFile() 87 filename_ += "/TmpFile-XXXXXX"; in ScratchFile() 88 int fd = mkstemp(&filename_[0]); in ScratchFile() 89 CHECK_NE(-1, fd) << strerror(errno) << " for " << filename_; in ScratchFile() 96 ScratchFile::ScratchFile(const std::string& filename) : filename_(filename) { in ScratchFile() 97 int fd = open(filename_.c_str(), O_RDWR | O_CREAT | O_CLOEXEC, 0666); in ScratchFile() 104 filename_ = file->GetPath(); in ScratchFile() 114 std::swap(filename_, other.filename_); in operator =() 138 if (!OS::FileExists(filename_.c_str())) { in Unlink() 142 int unlink_result = unlink(filename_.c_str()); in Unlink()
|
D | common_art_test.h | 80 return filename_; in GetFilename() 93 std::string filename_;
|
/art/libartbase/base/metrics/ |
D | metrics_common.cc | 158 FileBackend::FileBackend(const std::string& filename) : filename_{filename} {} in FileBackend() 169 LockedFile::Open(filename_.c_str(), O_CREAT | O_WRONLY | O_APPEND, true, &error_message)}; in EndReport() 171 LOG(WARNING) << "Could open metrics file '" << filename_ << "': " << error_message; in EndReport()
|
D | metrics.h | 486 std::string filename_;
|
/art/runtime/hprof/ |
D | hprof.cc | 438 : 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
|