Lines Matching refs:oat_rodata
707 OutputStream* oat_rodata, in StartRoData() argument
712 if (!RecordOatDataOffset(oat_rodata)) { in StartRoData()
723 ChecksumUpdatingOutputStream checksum_updating_rodata(oat_rodata, this); in StartRoData()
3600 bool OatWriter::WriteTypeLookupTables(OutputStream* oat_rodata, in WriteTypeLookupTables() argument
3605 off_t actual_offset = oat_rodata->Seek(expected_offset, kSeekSet); in WriteTypeLookupTables()
3608 << " Expected: " << expected_offset << " File: " << oat_rodata->GetLocation(); in WriteTypeLookupTables()
3648 if (!oat_rodata->WriteFully(buffer.data(), padding_size)) { in WriteTypeLookupTables()
3651 << " Output: " << oat_rodata->GetLocation(); in WriteTypeLookupTables()
3657 static_cast<size_t>(oat_rodata->Seek(0u, kSeekCurrent))); in WriteTypeLookupTables()
3660 if (!oat_rodata->WriteFully(table.RawData(), table_size)) { in WriteTypeLookupTables()
3663 << " Output: " << oat_rodata->GetLocation(); in WriteTypeLookupTables()
3674 if (!oat_rodata->Flush()) { in WriteTypeLookupTables()
3676 << " File: " << oat_rodata->GetLocation(); in WriteTypeLookupTables()
3683 bool OatWriter::WriteDexLayoutSections(OutputStream* oat_rodata, in WriteDexLayoutSections() argument
3692 off_t actual_offset = oat_rodata->Seek(expected_offset, kSeekSet); in WriteDexLayoutSections()
3695 << " Expected: " << expected_offset << " File: " << oat_rodata->GetLocation(); in WriteDexLayoutSections()
3710 if (!oat_rodata->WriteFully(buffer.data(), padding_size)) { in WriteDexLayoutSections()
3713 << " Output: " << oat_rodata->GetLocation(); in WriteDexLayoutSections()
3722 static_cast<size_t>(oat_rodata->Seek(0u, kSeekCurrent))); in WriteDexLayoutSections()
3724 if (!oat_rodata->WriteFully(&oat_dex_file->dex_sections_layout_, in WriteDexLayoutSections()
3728 << " Output: " << oat_rodata->GetLocation(); in WriteDexLayoutSections()
3737 if (!oat_rodata->Flush()) { in WriteDexLayoutSections()
3739 << " File: " << oat_rodata->GetLocation(); in WriteDexLayoutSections()