Lines Matching refs:vdex_file
565 for (std::unique_ptr<File>& vdex_file : vdex_files_) { in ~Dex2Oat()
566 vdex_file.release(); // NOLINT in ~Dex2Oat()
1219 std::unique_ptr<File> vdex_file(OS::OpenFileReadWrite(vdex_filename.c_str())); in OpenFile() local
1220 vdex_files_.push_back(std::move(vdex_file)); in OpenFile()
1222 std::unique_ptr<File> vdex_file(OS::CreateEmptyFile(vdex_filename.c_str())); in OpenFile() local
1223 if (vdex_file == nullptr) { in OpenFile()
1227 if (fchmod(vdex_file->Fd(), 0644) != 0) { in OpenFile()
1229 vdex_file->Erase(); in OpenFile()
1232 vdex_files_.push_back(std::move(vdex_file)); in OpenFile()
1273 std::unique_ptr<File> vdex_file(new File( in OpenFile() local
1275 if (!vdex_file->IsOpened()) { in OpenFile()
1282 if (vdex_file->SetLength(0) != 0) { in OpenFile()
1284 vdex_file->Erase(); in OpenFile()
1288 vdex_files_.push_back(std::move(vdex_file)); in OpenFile()
1298 File* vdex_file = vdex_files_.back().get(); in OpenFile() local
1299 if (!vdex_file->PwriteFully(&VdexFile::VdexFileHeader::kVdexInvalidMagic, in OpenFile()
1302 PLOG(ERROR) << "Failed to invalidate vdex header. File: " << vdex_file->GetPath(); in OpenFile()
1306 if (vdex_file->Flush() != 0) { in OpenFile()
1308 << " File: " << vdex_file->GetPath(); in OpenFile()
2100 File* vdex_file = vdex_files_[i].get(); in WriteOutputFiles() local
2101 if (!oat_writers_[i]->FinishVdexFile(vdex_file, verifier_deps)) { in WriteOutputFiles()
2102 LOG(ERROR) << "Failed to finish VDEX file " << vdex_file->GetPath(); in WriteOutputFiles()