Home
last modified time | relevance | path

Searched refs:expected_offset (Results 1 – 2 of 2) sorted by relevance

/art/compiler/
Doat_writer.cc2205 uint32_t expected_offset = oat_data_offset_ + oat_dex_file.class_offsets_offset_; in WriteClassOffsets() local
2206 off_t actual_offset = out->Seek(expected_offset, kSeekSet); in WriteClassOffsets()
2207 if (static_cast<uint32_t>(actual_offset) != expected_offset) { in WriteClassOffsets()
2209 << " Expected: " << expected_offset << " File: " << oat_dex_file.GetLocation(); in WriteClassOffsets()
2710 uint32_t expected_offset = oat_data_offset_ + oat_header_->GetHeaderSize(); in WriteOatDexFiles() local
2711 off_t actual_offset = rodata->Seek(expected_offset, kSeekSet); in WriteOatDexFiles()
2712 if (static_cast<uint32_t>(actual_offset) != expected_offset) { in WriteOatDexFiles()
2714 << " Expected: " << expected_offset << " File: " << rodata->GetLocation(); in WriteOatDexFiles()
2824 uint32_t expected_offset = oat_data_offset_ + oat_size_; in WriteTypeLookupTables() local
2825 off_t actual_offset = oat_rodata->Seek(expected_offset, kSeekSet); in WriteTypeLookupTables()
[all …]
/art/runtime/
Ddex_file_verifier.cc1775 uint32_t expected_offset; in CheckIntraIdSection() local
1781 expected_offset = header_->string_ids_off_; in CheckIntraIdSection()
1785 expected_offset = header_->type_ids_off_; in CheckIntraIdSection()
1789 expected_offset = header_->proto_ids_off_; in CheckIntraIdSection()
1793 expected_offset = header_->field_ids_off_; in CheckIntraIdSection()
1797 expected_offset = header_->method_ids_off_; in CheckIntraIdSection()
1801 expected_offset = header_->class_defs_off_; in CheckIntraIdSection()
1810 if (UNLIKELY(offset != expected_offset)) { in CheckIntraIdSection()
1811 ErrorStringPrintf("Bad offset for section: got %zx, expected %x", offset, expected_offset); in CheckIntraIdSection()