Home
last modified time | relevance | path

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

/art/odrefresh/
Dodr_metrics_record_test.cc33 std::ofstream ofs(file_path_); in WriteFile()
57 file_path_ = scratch_dir_->GetPath() + "/metrics-record.xml"; in SetUp()
63 std::string file_path_; member in art::odrefresh::OdrMetricsRecordTest
97 ASSERT_THAT(expected.WriteToFile(file_path_), Ok()); in TEST_F()
100 ASSERT_THAT(actual.ReadFromFile(file_path_), Ok()); in TEST_F()
135 ASSERT_THAT(record.ReadFromFile(file_path_), testing::Not(Ok())); in TEST_F()
139 std::ofstream ofs(file_path_); in TEST_F()
144 ASSERT_THAT(record.ReadFromFile(file_path_), in TEST_F()
145 HasError(WithMessage("odrefresh_metrics element not found in " + file_path_))); in TEST_F()
154 record.ReadFromFile(file_path_), in TEST_F()
[all …]
/art/libartbase/base/unix_file/
Dfd_file.cc159 file_path_(path), in FdFile()
179 LOG(ERROR) << "File " << file_path_ << " wasn't explicitly flushed before destruction."; in Destroy()
182 LOG(ERROR) << "File " << file_path_ << " wasn't explicitly closed before destruction."; in Destroy()
188 PLOG(WARNING) << "Failed to close file with fd=" << fd_ << " path=" << file_path_; in Destroy()
196 file_path_(std::move(other.file_path_)), in FdFile()
218 file_path_ = std::move(other.file_path_); in operator =()
308 file_path_ = path; in Open()
329 DCHECK_GE(guard_state_, GuardState::kFlushed) << "File " << file_path_ in Close()
344 file_path_ = ""; in Close()
488 LOG(ERROR) << "File " << file_path_ << " has not been flushed before renaming."; in Rename()
[all …]
Dfd_file.h104 return file_path_; in GetPath()
213 std::string file_path_; variable
/art/runtime/oat/
Delf_file.cc290 file_path_.c_str()); in CheckAndSet()
583 CHECK(IsSymbolSectionType(section_type)) << file_path_ << " " << section_type; in GetSymbolSectionStart()
603 CHECK(IsSymbolSectionType(section_type)) << file_path_ << " " << section_type; in GetStringSectionStart()
621 CHECK(IsSymbolSectionType(section_type)) << file_path_ << " " << section_type; in GetString()
679 CHECK_LT(i, GetProgramHeaderNum()) << file_path_; // Validity check for caller. in GetProgramHeader()
705 CHECK(!program_header_only_) << file_path_; in GetSectionHeader()
720 CHECK(!program_header_only_) << file_path_; in FindSectionByType()
806 << file_path_ << " " << section_header.sh_type; in GetSymbolNum()
807 CHECK_NE(0U, section_header.sh_entsize) << file_path_; in GetSymbolNum()
823 CHECK(IsSymbolSectionType(section_type)) << file_path_ << " " << section_type; in GetSymbolTable()
[all …]
Delf_file_impl.h60 return file_path_; in GetFilePath()
193 const std::string file_path_; variable