Lines Matching refs:filesize
155 my $filesize = read(R, $rom, MAXROMSIZE+1);
157 defined($filesize) and $filesize >= 3 or die "Cannot get first 3 bytes of file\n";
158 print "$filesize bytes read\n" if $opts{'v'};
170 $romsize = ($filesize + 511) & ~511
175 $romsize > MINROMSIZE and $romsize >= 2*$filesize;
178 if ($filesize > $romsize) {
181 $romsize = ($filesize + 511) & ~511;
216 my $filesize = read(R, $rom, MAXROMSIZE+1);
218 defined($filesize) and $filesize >= 3 or die "Cannot get first 3 bytes of file\n";
219 print "$filesize bytes read\n" if $opts{'v'};