Home
last modified time | relevance | path

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

/art/libdexfile/dex/
Ddex_file_verifier.cc2220 uint32_t expected_offset; in CheckIntraIdSection() local
2226 expected_offset = header_->string_ids_off_; in CheckIntraIdSection()
2230 expected_offset = header_->type_ids_off_; in CheckIntraIdSection()
2234 expected_offset = header_->proto_ids_off_; in CheckIntraIdSection()
2238 expected_offset = header_->field_ids_off_; in CheckIntraIdSection()
2242 expected_offset = header_->method_ids_off_; in CheckIntraIdSection()
2246 expected_offset = header_->class_defs_off_; in CheckIntraIdSection()
2255 if (UNLIKELY(offset != expected_offset)) { in CheckIntraIdSection()
2256 ErrorStringPrintf("Bad offset for section: got %zx, expected %x", offset, expected_offset); in CheckIntraIdSection()
/art/dex2oat/linker/
Doat_writer.cc3604 uint32_t expected_offset = oat_data_offset_ + oat_size_; in WriteTypeLookupTables() local
3605 off_t actual_offset = oat_rodata->Seek(expected_offset, kSeekSet); in WriteTypeLookupTables()
3606 if (static_cast<uint32_t>(actual_offset) != expected_offset) { in WriteTypeLookupTables()
3608 << " Expected: " << expected_offset << " File: " << oat_rodata->GetLocation(); in WriteTypeLookupTables()
3691 uint32_t expected_offset = oat_data_offset_ + oat_size_; in WriteDexLayoutSections() local
3692 off_t actual_offset = oat_rodata->Seek(expected_offset, kSeekSet); in WriteDexLayoutSections()
3693 if (static_cast<uint32_t>(actual_offset) != expected_offset) { in WriteDexLayoutSections()
3695 << " Expected: " << expected_offset << " File: " << oat_rodata->GetLocation(); in WriteDexLayoutSections()