Searched refs:expected_offset (Results 1 – 2 of 2) sorted by relevance
2311 uint32_t expected_offset; in CheckIntraIdSection() local2317 expected_offset = header_->string_ids_off_; in CheckIntraIdSection()2321 expected_offset = header_->type_ids_off_; in CheckIntraIdSection()2325 expected_offset = header_->proto_ids_off_; in CheckIntraIdSection()2329 expected_offset = header_->field_ids_off_; in CheckIntraIdSection()2333 expected_offset = header_->method_ids_off_; in CheckIntraIdSection()2337 expected_offset = header_->class_defs_off_; in CheckIntraIdSection()2346 if (UNLIKELY(offset != expected_offset)) { in CheckIntraIdSection()2347 ErrorStringPrintf("Bad offset for section: got %zx, expected %x", offset, expected_offset); in CheckIntraIdSection()
3556 uint32_t expected_offset = oat_data_offset_ + oat_size_; in WriteDexLayoutSections() local3557 off_t actual_offset = oat_rodata->Seek(expected_offset, kSeekSet); in WriteDexLayoutSections()3558 if (static_cast<uint32_t>(actual_offset) != expected_offset) { in WriteDexLayoutSections()3560 << " Expected: " << expected_offset << " File: " << oat_rodata->GetLocation(); in WriteDexLayoutSections()