Home
last modified time | relevance | path

Searched refs:oat_writer (Results 1 – 5 of 5) sorted by relevance

/art/dex2oat/linker/
Dimage_test.h290 OatWriter* const oat_writer = oat_writers[i].get(); in DoCompile() local
293 oat_writer->Initialize(driver, writer.get(), cur_dex_files); in DoCompile()
298 oat_writer->WriteVerifierDeps(vdex_out.get(), nullptr); in DoCompile()
299 oat_writer->WriteQuickeningInfo(vdex_out.get()); in DoCompile()
300 oat_writer->WriteChecksumsAndVdexHeader(vdex_out.get()); in DoCompile()
302 oat_writer->PrepareLayout(&patcher); in DoCompile()
303 elf_writer->PrepareDynamicSection(oat_writer->GetOatHeader().GetExecutableOffset(), in DoCompile()
304 oat_writer->GetCodeSize(), in DoCompile()
305 oat_writer->GetDataBimgRelRoSize(), in DoCompile()
306 oat_writer->GetBssSize(), in DoCompile()
[all …]
Doat_writer_test.cc108 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
[all …]
Doat_writer.cc220 bool Write(OatWriter* oat_writer, OutputStream* out, const size_t file_offset) const;
247 bool Write(OatWriter* oat_writer, OutputStream* out) const;
302 bool Write(OatWriter* oat_writer, OutputStream* out) const;
303 bool WriteClassOffsets(OatWriter* oat_writer, OutputStream* out);
4058 bool OatWriter::OatDexFile::Write(OatWriter* oat_writer, OutputStream* out) const { in Write() argument
4059 const size_t file_offset = oat_writer->oat_data_offset_; in Write()
4066 oat_writer->size_oat_dex_file_location_size_ += sizeof(dex_file_location_size_); in Write()
4072 oat_writer->size_oat_dex_file_location_data_ += dex_file_location_size_; in Write()
4078 oat_writer->size_oat_dex_file_location_checksum_ += sizeof(dex_file_location_checksum_); in Write()
4084 oat_writer->size_oat_dex_file_offset_ += sizeof(dex_file_offset_); in Write()
[all …]
/art/dex2oat/
Ddex2oat.cc1997 std::unique_ptr<linker::OatWriter>& oat_writer = oat_writers_[i]; in WriteOutputFiles() local
1999 oat_writer->Initialize(driver_.get(), image_writer_.get(), dex_files); in WriteOutputFiles()
2037 std::unique_ptr<linker::OatWriter>& oat_writer = oat_writers_[i]; in WriteOutputFiles() local
2039 oat_writer->PrepareLayout(&patcher); in WriteOutputFiles()
2040 elf_writer->PrepareDynamicSection(oat_writer->GetOatHeader().GetExecutableOffset(), in WriteOutputFiles()
2041 oat_writer->GetCodeSize(), in WriteOutputFiles()
2042 oat_writer->GetDataBimgRelRoSize(), in WriteOutputFiles()
2043 oat_writer->GetBssSize(), in WriteOutputFiles()
2044 oat_writer->GetBssMethodsOffset(), in WriteOutputFiles()
2045 oat_writer->GetBssRootsOffset(), in WriteOutputFiles()
[all …]
DAndroid.bp29 "linker/oat_writer.cc",