Searched refs:expected_offset (Results 1 – 2 of 2) sorted by relevance
1484 uint32_t expected_offset; in CheckIntraIdSection() local1490 expected_offset = header_->string_ids_off_; in CheckIntraIdSection()1494 expected_offset = header_->type_ids_off_; in CheckIntraIdSection()1498 expected_offset = header_->proto_ids_off_; in CheckIntraIdSection()1502 expected_offset = header_->field_ids_off_; in CheckIntraIdSection()1506 expected_offset = header_->method_ids_off_; in CheckIntraIdSection()1510 expected_offset = header_->class_defs_off_; in CheckIntraIdSection()1519 if (UNLIKELY(offset != expected_offset)) { in CheckIntraIdSection()1520 ErrorStringPrintf("Bad offset for section: got %zx, expected %x", offset, expected_offset); in CheckIntraIdSection()
1672 uint32_t expected_offset = oat_data_offset_ + oat_dex_file.class_offsets_offset_; in WriteClassOffsets() local1673 off_t actual_offset = out->Seek(expected_offset, kSeekSet); in WriteClassOffsets()1674 if (static_cast<uint32_t>(actual_offset) != expected_offset) { in WriteClassOffsets()1676 << " Expected: " << expected_offset << " File: " << oat_dex_file.GetLocation(); in WriteClassOffsets()2074 uint32_t expected_offset = oat_data_offset_ + oat_header_->GetHeaderSize(); in WriteOatDexFiles() local2075 off_t actual_offset = rodata->Seek(expected_offset, kSeekSet); in WriteOatDexFiles()2076 if (static_cast<uint32_t>(actual_offset) != expected_offset) { in WriteOatDexFiles()2078 << " Expected: " << expected_offset << " File: " << rodata->GetLocation(); in WriteOatDexFiles()