Searched defs:expected_offset (Results 1 - 2 of 2) sorted by relevance

/art/compiler/
H A Doat_writer.cc972 uint32_t expected_offset = file_offset + oat_dex_files_[i]->dex_file_offset_; local
973 off_t actual_offset = out->Seek(expected_offset, kSeekSet);
974 if (static_cast<uint32_t>(actual_offset) != expected_offset) {
977 << " Expected: " << expected_offset << " File: " << dex_file->GetLocation();
/art/runtime/
H A Ddex_file_verifier.cc1249 uint32_t expected_offset; local
1255 expected_offset = header_->string_ids_off_;
1259 expected_offset = header_->type_ids_off_;
1263 expected_offset = header_->proto_ids_off_;
1267 expected_offset = header_->field_ids_off_;
1271 expected_offset = header_->method_ids_off_;
1275 expected_offset = header_->class_defs_off_;
1284 if (UNLIKELY(offset != expected_offset)) {
1285 ErrorStringPrintf("Bad offset for section: got %zx, expected %x", offset, expected_offset);

Completed in 411 milliseconds