Lines Matching refs:bytes
456 unsigned int bytes, min_bytes; in srec_scan() local
478 check_sum = bytes = HEX (hdr + 1); in srec_scan()
484 if (bytes < min_bytes) in srec_scan()
487 abfd, lineno, bytes); in srec_scan()
492 if (bytes * 2 > bufsize) in srec_scan()
496 buf = (bfd_byte *) bfd_malloc ((bfd_size_type) bytes * 2); in srec_scan()
499 bufsize = bytes * 2; in srec_scan()
502 if (bfd_bread (buf, (bfd_size_type) bytes * 2, abfd) != bytes * 2) in srec_scan()
506 --bytes; in srec_scan()
523 --bytes; in srec_scan()
529 --bytes; in srec_scan()
538 bytes -= 2; in srec_scan()
545 sec->size += bytes; in srec_scan()
564 sec->size = bytes; in srec_scan()
568 while (bytes > 0) in srec_scan()
572 bytes--; in srec_scan()
730 unsigned int bytes; in srec_read_section() local
746 bytes = HEX (hdr + 1); in srec_read_section()
748 if (bytes * 2 > bufsize) in srec_read_section()
752 buf = (bfd_byte *) bfd_malloc ((bfd_size_type) bytes * 2); in srec_read_section()
755 bufsize = bytes * 2; in srec_read_section()
758 if (bfd_bread (buf, (bfd_size_type) bytes * 2, abfd) != bytes * 2) in srec_read_section()
774 --bytes; in srec_read_section()
779 --bytes; in srec_read_section()
786 bytes -= 2; in srec_read_section()
798 --bytes; in srec_read_section()
800 while (bytes-- != 0) in srec_read_section()