Lines Matching refs:vdex_file
485 bool OatWriter::AddVdexDexFilesSource(const VdexFile& vdex_file, const char* location) { in AddVdexDexFilesSource() argument
487 DCHECK(vdex_file.HasDexSection()); in AddVdexDexFilesSource()
490 for (; i < vdex_file.GetNumberOfDexFiles(); ++i) { in AddVdexDexFilesSource()
491 current_dex_data = vdex_file.GetNextDexFileData(current_dex_data, i); in AddVdexDexFilesSource()
506 vdex_file.GetLocationChecksum(i))) { in AddVdexDexFilesSource()
511 if (vdex_file.GetNextDexFileData(current_dex_data, i) != nullptr) { in AddVdexDexFilesSource()
557 File* vdex_file, in WriteAndOpenDexFiles() argument
574 if (!WriteDexFiles(vdex_file, verify, use_existing_vdex, copy_dex_files, &dex_files_map) || in WriteAndOpenDexFiles()
575 !OpenDexFiles(vdex_file, &dex_files_map, &dex_files)) { in WriteAndOpenDexFiles()
3650 bool OatWriter::FinishVdexFile(File* vdex_file, verifier::VerifierDeps* verifier_deps) { in FinishVdexFile() argument
3659 if (vdex_file->SetLength(vdex_size_) != 0) { in FinishVdexFile()
3660 PLOG(ERROR) << "Failed to resize vdex file " << vdex_file->GetPath(); in FinishVdexFile()
3680 vdex_file->Fd(), in FinishVdexFile()
3683 vdex_file->GetPath().c_str(), in FinishVdexFile()
3686 LOG(ERROR) << "Failed to mmap() vdex file tail. File: " << vdex_file->GetPath() in FinishVdexFile()
3699 vdex_file->Fd(), in FinishVdexFile()
3702 vdex_file->GetPath().c_str(), in FinishVdexFile()
3705 LOG(ERROR) << "Failed to mmap() vdex file. File: " << vdex_file->GetPath() in FinishVdexFile()
3759 PLOG(ERROR) << "Failed to sync vdex file contents" << vdex_file->GetPath(); in FinishVdexFile()
3764 PLOG(ERROR) << "Failed to sync vdex file contents" << vdex_file->GetPath(); in FinishVdexFile()
3777 PLOG(ERROR) << "Failed to sync vdex file header " << vdex_file->GetPath(); in FinishVdexFile()