• Home
  • Raw
  • Download

Lines Matching refs:oat_writer

108     OatWriter oat_writer(*compiler_options_,  in WriteElf()  local
116 if (!oat_writer.AddRawDexFileSource(raw_dex_file, in WriteElf()
123 vdex_file, oat_file, oat_writer, key_value_store, verify, CopyOption::kOnlyIfCompressed); in WriteElf()
135 OatWriter oat_writer(*compiler_options_, in WriteElf() local
140 if (!oat_writer.AddDexFileSource(dex_filename, dex_filename)) { in WriteElf()
144 return DoWriteElf(vdex_file, oat_file, oat_writer, key_value_store, verify, copy); in WriteElf()
156 OatWriter oat_writer(*compiler_options_, in WriteElf() local
160 if (!oat_writer.AddZippedDexFilesSource(std::move(zip_fd), location)) { in WriteElf()
163 return DoWriteElf(vdex_file, oat_file, oat_writer, key_value_store, verify, copy); in WriteElf()
168 OatWriter& oat_writer, in DoWriteElf() argument
179 if (!oat_writer.WriteAndOpenDexFiles( in DoWriteElf()
202 oat_writer.Initialize(compiler_driver_.get(), nullptr, dex_files); in DoWriteElf()
203 oat_writer.PrepareLayout(&patcher); in DoWriteElf()
204 elf_writer->PrepareDynamicSection(oat_writer.GetOatHeader().GetExecutableOffset(), in DoWriteElf()
205 oat_writer.GetCodeSize(), in DoWriteElf()
206 oat_writer.GetDataBimgRelRoSize(), in DoWriteElf()
207 oat_writer.GetBssSize(), in DoWriteElf()
208 oat_writer.GetBssMethodsOffset(), in DoWriteElf()
209 oat_writer.GetBssRootsOffset(), in DoWriteElf()
210 oat_writer.GetVdexSize()); in DoWriteElf()
214 if (!oat_writer.WriteVerifierDeps(vdex_out.get(), nullptr)) { in DoWriteElf()
217 if (!oat_writer.WriteQuickeningInfo(vdex_out.get())) { in DoWriteElf()
220 if (!oat_writer.WriteChecksumsAndVdexHeader(vdex_out.get())) { in DoWriteElf()
224 if (!oat_writer.WriteRodata(oat_rodata)) { in DoWriteElf()
230 if (!oat_writer.WriteCode(text)) { in DoWriteElf()
235 if (oat_writer.GetDataBimgRelRoSize() != 0u) { in DoWriteElf()
237 if (!oat_writer.WriteDataBimgRelRo(data_bimg_rel_ro)) { in DoWriteElf()
243 if (!oat_writer.WriteHeader(elf_writer->GetStream())) { in DoWriteElf()
248 elf_writer->WriteDebugInfo(oat_writer.GetDebugInfo()); in DoWriteElf()