Lines Matching refs:to_read
793 unsigned int to_read; in vms_get_remaining_object_record() local
814 to_read = PRIV (recrd.rec_size); in vms_get_remaining_object_record()
816 to_read += VMS_OBJECT_ADJUSTMENT; in vms_get_remaining_object_record()
819 if (to_read > PRIV (recrd.buf_size)) in vms_get_remaining_object_record()
822 = (unsigned char *) bfd_realloc (PRIV (recrd.buf), to_read); in vms_get_remaining_object_record()
825 PRIV (recrd.buf_size) = to_read; in vms_get_remaining_object_record()
829 to_read -= read_so_far; in vms_get_remaining_object_record()
831 vms_debug2 ((8, "vms_get_remaining_obj_record: to_read %d\n", to_read)); in vms_get_remaining_object_record()
833 if (bfd_bread (PRIV (recrd.buf) + read_so_far, to_read, abfd) != to_read) in vms_get_remaining_object_record()
2483 unsigned int to_read; in alpha_vms_object_p() local
2510 to_read = MIN (VMS_BLOCK_SIZE - test_len, remaining); in alpha_vms_object_p()
2515 if (bfd_bread (buf + read_so_far, to_read, abfd) != to_read) in alpha_vms_object_p()
2518 read_so_far += to_read; in alpha_vms_object_p()
2519 remaining -= to_read; in alpha_vms_object_p()
2521 to_read = MIN (VMS_BLOCK_SIZE, remaining); in alpha_vms_object_p()