Home
last modified time | relevance | path

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

/art/dex2oat/linker/
Dimage_test.h288 OatWriter* const oat_writer = oat_writers[i].get(); in DoCompile() local
291 bool start_rodata_ok = oat_writer->StartRoData(cur_dex_files, in DoCompile()
295 oat_writer->Initialize(driver, writer.get(), cur_dex_files); in DoCompile()
300 oat_writer->WriteVerifierDeps(vdex_out.get(), nullptr); in DoCompile()
301 oat_writer->WriteQuickeningInfo(vdex_out.get()); in DoCompile()
302 oat_writer->WriteChecksumsAndVdexHeader(vdex_out.get()); in DoCompile()
304 oat_writer->PrepareLayout(&patcher); in DoCompile()
305 elf_writer->PrepareDynamicSection(oat_writer->GetOatHeader().GetExecutableOffset(), in DoCompile()
306 oat_writer->GetCodeSize(), in DoCompile()
307 oat_writer->GetDataBimgRelRoSize(), in DoCompile()
[all …]
Doat_writer_test.cc109 OatWriter oat_writer(*compiler_options_, in WriteElf() local
117 if (!oat_writer.AddRawDexFileSource(raw_dex_file, in WriteElf()
124 vdex_file, oat_file, oat_writer, key_value_store, verify, CopyOption::kOnlyIfCompressed); in WriteElf()
136 OatWriter oat_writer(*compiler_options_, in WriteElf() local
141 if (!oat_writer.AddDexFileSource(dex_filename, dex_filename)) { in WriteElf()
145 return DoWriteElf(vdex_file, oat_file, oat_writer, key_value_store, verify, copy); in WriteElf()
158 OatWriter oat_writer(*compiler_options_, in WriteElf() local
162 if (!oat_writer.AddDexFileSource(std::move(dex_file_fd), location)) { in WriteElf()
165 return DoWriteElf(vdex_file, oat_file, oat_writer, key_value_store, verify, copy); in WriteElf()
170 OatWriter& oat_writer, in DoWriteElf() argument
[all …]
Doat_writer.cc221 bool Write(OatWriter* oat_writer, OutputStream* out, const size_t file_offset) const;
248 bool Write(OatWriter* oat_writer, OutputStream* out) const;
303 bool Write(OatWriter* oat_writer, OutputStream* out) const;
304 bool WriteClassOffsets(OatWriter* oat_writer, OutputStream* out);
4075 bool OatWriter::OatDexFile::Write(OatWriter* oat_writer, OutputStream* out) const { in Write() argument
4076 const size_t file_offset = oat_writer->oat_data_offset_; in Write()
4083 oat_writer->size_oat_dex_file_location_size_ += sizeof(dex_file_location_size_); in Write()
4089 oat_writer->size_oat_dex_file_location_data_ += dex_file_location_size_; in Write()
4095 oat_writer->size_oat_dex_file_location_checksum_ += sizeof(dex_file_location_checksum_); in Write()
4101 oat_writer->size_oat_dex_file_offset_ += sizeof(dex_file_offset_); in Write()
[all …]
/art/dex2oat/
Ddex2oat.cc2277 std::unique_ptr<linker::OatWriter>& oat_writer = oat_writers_[i]; in WriteOutputFiles() local
2279 oat_writer->Initialize(driver_.get(), image_writer_.get(), dex_files); in WriteOutputFiles()
2317 std::unique_ptr<linker::OatWriter>& oat_writer = oat_writers_[i]; in WriteOutputFiles() local
2319 oat_writer->PrepareLayout(&patcher); in WriteOutputFiles()
2320 elf_writer->PrepareDynamicSection(oat_writer->GetOatHeader().GetExecutableOffset(), in WriteOutputFiles()
2321 oat_writer->GetCodeSize(), in WriteOutputFiles()
2322 oat_writer->GetDataBimgRelRoSize(), in WriteOutputFiles()
2323 oat_writer->GetBssSize(), in WriteOutputFiles()
2324 oat_writer->GetBssMethodsOffset(), in WriteOutputFiles()
2325 oat_writer->GetBssRootsOffset(), in WriteOutputFiles()
[all …]
DAndroid.bp29 "linker/oat_writer.cc",