Searched refs:expected_offset (Results 1 – 2 of 2) sorted by relevance
1249 uint32_t expected_offset; in CheckIntraIdSection() local1255 expected_offset = header_->string_ids_off_; in CheckIntraIdSection()1259 expected_offset = header_->type_ids_off_; in CheckIntraIdSection()1263 expected_offset = header_->proto_ids_off_; in CheckIntraIdSection()1267 expected_offset = header_->field_ids_off_; in CheckIntraIdSection()1271 expected_offset = header_->method_ids_off_; in CheckIntraIdSection()1275 expected_offset = header_->class_defs_off_; in CheckIntraIdSection()1284 if (UNLIKELY(offset != expected_offset)) { in CheckIntraIdSection()1285 ErrorStringPrintf("Bad offset for section: got %zx, expected %x", offset, expected_offset); in CheckIntraIdSection()
981 uint32_t expected_offset = file_offset + oat_dex_files_[i]->dex_file_offset_; in WriteTables() local982 off_t actual_offset = out->Seek(expected_offset, kSeekSet); in WriteTables()983 if (static_cast<uint32_t>(actual_offset) != expected_offset) { in WriteTables()986 << " Expected: " << expected_offset << " File: " << dex_file->GetLocation(); in WriteTables()