Searched refs:expected_offset (Results 1 – 2 of 2) sorted by relevance
1276 uint32_t expected_offset; in CheckIntraIdSection() local1282 expected_offset = header_->string_ids_off_; in CheckIntraIdSection()1286 expected_offset = header_->type_ids_off_; in CheckIntraIdSection()1290 expected_offset = header_->proto_ids_off_; in CheckIntraIdSection()1294 expected_offset = header_->field_ids_off_; in CheckIntraIdSection()1298 expected_offset = header_->method_ids_off_; in CheckIntraIdSection()1302 expected_offset = header_->class_defs_off_; in CheckIntraIdSection()1311 if (UNLIKELY(offset != expected_offset)) { in CheckIntraIdSection()1312 ErrorStringPrintf("Bad offset for section: got %zx, expected %x", offset, expected_offset); in CheckIntraIdSection()
1274 uint32_t expected_offset = file_offset + oat_dex_files_[i]->dex_file_offset_; in WriteTables() local1275 off_t actual_offset = out->Seek(expected_offset, kSeekSet); in WriteTables()1276 if (static_cast<uint32_t>(actual_offset) != expected_offset) { in WriteTables()1279 << " Expected: " << expected_offset << " File: " << dex_file->GetLocation(); in WriteTables()