Searched refs:oat_writer (Results 1 – 5 of 5) sorted by relevance
/art/dex2oat/linker/ |
D | image_test.h | 287 OatWriter* const oat_writer = oat_writers[i].get(); in DoCompile() local 290 bool start_rodata_ok = oat_writer->StartRoData(cur_dex_files, in DoCompile() 294 oat_writer->Initialize(driver, writer.get(), cur_dex_files); in DoCompile() 296 oat_writer->FinishVdexFile(out_helper.vdex_files[i].GetFile(), /*verifier_deps=*/ nullptr); in DoCompile() 298 oat_writer->PrepareLayout(&patcher); in DoCompile() 299 elf_writer->PrepareDynamicSection(oat_writer->GetOatHeader().GetExecutableOffset(), in DoCompile() 300 oat_writer->GetCodeSize(), in DoCompile() 301 oat_writer->GetDataBimgRelRoSize(), in DoCompile() 302 oat_writer->GetBssSize(), in DoCompile() 303 oat_writer->GetBssMethodsOffset(), in DoCompile() [all …]
|
D | oat_writer_test.cc | 109 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 …]
|
D | oat_writer.cc | 231 bool Write(OatWriter* oat_writer, OutputStream* out, const size_t file_offset) const; 258 bool Write(OatWriter* oat_writer, OutputStream* out) const; 320 bool Write(OatWriter* oat_writer, OutputStream* out) const; 321 bool WriteClassOffsets(OatWriter* oat_writer, OutputStream* out); 3892 bool OatWriter::OatDexFile::Write(OatWriter* oat_writer, OutputStream* out) const { in Write() argument 3893 const size_t file_offset = oat_writer->oat_data_offset_; in Write() 3900 oat_writer->size_oat_dex_file_location_size_ += sizeof(dex_file_location_size_); in Write() 3906 oat_writer->size_oat_dex_file_location_data_ += dex_file_location_size_; in Write() 3912 oat_writer->size_oat_dex_file_location_checksum_ += sizeof(dex_file_location_checksum_); in Write() 3918 oat_writer->size_oat_dex_file_offset_ += sizeof(dex_file_offset_); in Write() [all …]
|
/art/dex2oat/ |
D | dex2oat.cc | 2090 std::unique_ptr<linker::OatWriter>& oat_writer = oat_writers_[i]; in WriteOutputFiles() local 2092 oat_writer->Initialize(driver_.get(), image_writer_.get(), dex_files); in WriteOutputFiles() 2115 std::unique_ptr<linker::OatWriter>& oat_writer = oat_writers_[i]; in WriteOutputFiles() local 2117 oat_writer->PrepareLayout(&patcher); in WriteOutputFiles() 2118 elf_writer->PrepareDynamicSection(oat_writer->GetOatHeader().GetExecutableOffset(), in WriteOutputFiles() 2119 oat_writer->GetCodeSize(), in WriteOutputFiles() 2120 oat_writer->GetDataBimgRelRoSize(), in WriteOutputFiles() 2121 oat_writer->GetBssSize(), in WriteOutputFiles() 2122 oat_writer->GetBssMethodsOffset(), in WriteOutputFiles() 2123 oat_writer->GetBssRootsOffset(), in WriteOutputFiles() [all …]
|
D | Android.bp | 37 "linker/oat_writer.cc",
|