Lines Matching refs:vdex_file

595 bool OatWriter::AddVdexDexFilesSource(const VdexFile& vdex_file,  in AddVdexDexFilesSource()  argument
599 DCHECK(vdex_file.HasDexSection()); in AddVdexDexFilesSource()
601 for (size_t i = 0; i < vdex_file.GetVerifierDepsHeader().GetNumberOfDexFiles(); ++i) { in AddVdexDexFilesSource()
602 current_dex_data = vdex_file.GetNextDexFileData(current_dex_data); in AddVdexDexFilesSource()
620 vdex_file.GetLocationChecksum(i), in AddVdexDexFilesSource()
624 if (vdex_file.GetNextDexFileData(current_dex_data) != nullptr) { in AddVdexDexFilesSource()
680 File* vdex_file, in WriteAndOpenDexFiles() argument
695 if (!WriteDexFiles(vdex_file, update_input_vdex, copy_dex_files, &dex_files_map) || in WriteAndOpenDexFiles()
696 !OpenDexFiles(vdex_file, verify, &dex_files_map, &dex_files)) { in WriteAndOpenDexFiles()
3746 bool OatWriter::FinishVdexFile(File* vdex_file, verifier::VerifierDeps* verifier_deps) { in FinishVdexFile() argument
3756 if (vdex_file->SetLength(vdex_size_) != 0) { in FinishVdexFile()
3757 PLOG(ERROR) << "Failed to resize vdex file " << vdex_file->GetPath(); in FinishVdexFile()
3777 vdex_file->Fd(), in FinishVdexFile()
3780 vdex_file->GetPath().c_str(), in FinishVdexFile()
3783 LOG(ERROR) << "Failed to mmap() vdex file tail. File: " << vdex_file->GetPath() in FinishVdexFile()
3796 vdex_file->Fd(), in FinishVdexFile()
3799 vdex_file->GetPath().c_str(), in FinishVdexFile()
3802 LOG(ERROR) << "Failed to mmap() vdex file. File: " << vdex_file->GetPath() in FinishVdexFile()
3846 PLOG(ERROR) << "Failed to sync vdex file contents" << vdex_file->GetPath(); in FinishVdexFile()
3851 PLOG(ERROR) << "Failed to sync vdex file contents" << vdex_file->GetPath(); in FinishVdexFile()
3868 PLOG(ERROR) << "Failed to sync vdex file header " << vdex_file->GetPath(); in FinishVdexFile()