Lines Matching refs:oat_writer
1997 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()
2046 oat_writer->GetVdexSize()); in WriteOutputFiles()
2053 oat_writer->GetOatDataOffset(), in WriteOutputFiles()
2054 oat_writer->GetOatSize()); in WriteOutputFiles()
2061 std::unique_ptr<linker::OatWriter>& oat_writer = oat_writers_[i]; in WriteOutputFiles() local
2065 debug::DebugInfo debug_info = oat_writer->GetDebugInfo(); // Keep the variable alive. in WriteOutputFiles()
2070 if (!oat_writer->WriteRodata(rodata)) { in WriteOutputFiles()
2078 if (!oat_writer->WriteCode(text)) { in WriteOutputFiles()
2084 if (oat_writer->GetDataBimgRelRoSize() != 0u) { in WriteOutputFiles()
2086 if (!oat_writer->WriteDataBimgRelRo(data_bimg_rel_ro)) { in WriteOutputFiles()
2094 if (!oat_writer->WriteHeader(elf_writer->GetStream())) { in WriteOutputFiles()
2103 image_writer_->UpdateOatFileHeader(i, oat_writer->GetOatHeader()); in WriteOutputFiles()
2107 elf_writer->WriteDebugInfo(oat_writer->GetDebugInfo()); in WriteOutputFiles()
2120 oat_writer.reset(); in WriteOutputFiles()