Lines Matching refs:expected_size
574 uint32_t expected_size = header_->file_size_; in CheckHeader() local
575 if (size_ != expected_size) { in CheckHeader()
576 ErrorStringPrintf("Bad file size (%zd, expected %u)", size_, expected_size); in CheckHeader()
2221 uint32_t expected_size; in CheckIntraIdSection() local
2227 expected_size = header_->string_ids_size_; in CheckIntraIdSection()
2231 expected_size = header_->type_ids_size_; in CheckIntraIdSection()
2235 expected_size = header_->proto_ids_size_; in CheckIntraIdSection()
2239 expected_size = header_->field_ids_size_; in CheckIntraIdSection()
2243 expected_size = header_->method_ids_size_; in CheckIntraIdSection()
2247 expected_size = header_->class_defs_size_; in CheckIntraIdSection()
2259 if (UNLIKELY(count != expected_size)) { in CheckIntraIdSection()
2260 ErrorStringPrintf("Bad size for section: got %x, expected %x", count, expected_size); in CheckIntraIdSection()