Lines Matching refs:expected_size
245 uint32_t expected_size = header_->file_size_; in CheckHeader() local
246 if (size_ != expected_size) { in CheckHeader()
247 ErrorStringPrintf("Bad file size (%zd, expected %ud)", size_, expected_size); in CheckHeader()
255 adler_checksum = adler32(adler_checksum, non_sum_ptr, expected_size - non_sum); in CheckHeader()
1250 uint32_t expected_size; in CheckIntraIdSection() local
1256 expected_size = header_->string_ids_size_; in CheckIntraIdSection()
1260 expected_size = header_->type_ids_size_; in CheckIntraIdSection()
1264 expected_size = header_->proto_ids_size_; in CheckIntraIdSection()
1268 expected_size = header_->field_ids_size_; in CheckIntraIdSection()
1272 expected_size = header_->method_ids_size_; in CheckIntraIdSection()
1276 expected_size = header_->class_defs_size_; in CheckIntraIdSection()
1288 if (UNLIKELY(count != expected_size)) { in CheckIntraIdSection()
1289 ErrorStringPrintf("Bad size for section: got %x, expected %x", count, expected_size); in CheckIntraIdSection()