Lines Matching refs:vdex_file
848 for (std::unique_ptr<File>& vdex_file : vdex_files_) { in ~Dex2Oat()
849 vdex_file.release(); // NOLINT in ~Dex2Oat()
1495 std::unique_ptr<File> vdex_file(OS::OpenFileReadWrite(vdex_filename.c_str())); in OpenFile() local
1496 vdex_files_.push_back(std::move(vdex_file)); in OpenFile()
1498 std::unique_ptr<File> vdex_file(OS::CreateEmptyFile(vdex_filename.c_str())); in OpenFile() local
1499 if (vdex_file == nullptr) { in OpenFile()
1503 if (fchmod(vdex_file->Fd(), 0644) != 0) { in OpenFile()
1505 vdex_file->Erase(); in OpenFile()
1508 vdex_files_.push_back(std::move(vdex_file)); in OpenFile()
1549 std::unique_ptr<File> vdex_file(new File( in OpenFile() local
1551 if (!vdex_file->IsOpened()) { in OpenFile()
1558 if (vdex_file->SetLength(0) != 0) { in OpenFile()
1560 vdex_file->Erase(); in OpenFile()
1564 vdex_files_.push_back(std::move(vdex_file)); in OpenFile()
1574 File* vdex_file = vdex_files_.back().get(); in OpenFile() local
1575 if (!vdex_file->PwriteFully(&VdexFile::VerifierDepsHeader::kVdexInvalidMagic, in OpenFile()
1578 PLOG(ERROR) << "Failed to invalidate vdex header. File: " << vdex_file->GetPath(); in OpenFile()
1582 if (vdex_file->Flush() != 0) { in OpenFile()
1584 << " File: " << vdex_file->GetPath(); in OpenFile()
2310 File* vdex_file = vdex_files_[i].get(); in WriteOutputFiles() local
2311 if (!oat_writers_[i]->FinishVdexFile(vdex_file, verifier_deps)) { in WriteOutputFiles()
2312 LOG(ERROR) << "Failed to finish VDEX file " << vdex_file->GetPath(); in WriteOutputFiles()