Home
last modified time | relevance | path

Searched refs:readsize (Results 1 – 9 of 9) sorted by relevance

/openbsd/gnu/usr.bin/perl/dist/Devel-PPPort/parts/inc/
H A Dpv_tools56 STRLEN readsize = 1;
72 for (; pv < end && (!max || wrote < max) ; pv += readsize) {
75 isuni ? utf8_to_uvchr_buf((U8*)pv, end, &readsize) :
110 pv < end && isDIGIT((U8)*(pv+readsize))
/openbsd/gnu/usr.bin/perl/dist/Tie-File/lib/Tie/
H A DFile.pm681 my $readsize = ! defined($len) ? $blocksize
687 my $bytes_read = read $fh, my($data), $readsize;
712 my $readsize = ! defined($len) ? $blocksize
715 read $fh, my($old), $readsize;
716 my $last_read_was_short = length($old) < $readsize;
725 $writable = substr($data, 0, $readsize, "");
731 $len -= $readsize if defined $len;
732 $pos += $readsize;
/openbsd/sys/scsi/
H A Dst.c2062 int readsize, maxblksize = 1024; in st_touch_tape() local
2078 readsize = st->blksize; in st_touch_tape()
2082 readsize = 1; in st_touch_tape()
2087 st_read(st, buf, readsize, SCSI_SILENT); /* XXX */ in st_touch_tape()
2090 } while (readsize != 1 && readsize > st->blksize); in st_touch_tape()
/openbsd/gnu/usr.bin/binutils-2.17/bfd/
H A Dcoffgen.c152 bfd_size_type readsize; /* Length of file_info. */ in coff_real_object_p() local
186 readsize = (bfd_size_type) nscns * scnhsz; in coff_real_object_p()
187 external_sections = bfd_alloc (abfd, readsize); in coff_real_object_p()
191 if (bfd_bread ((void *) external_sections, readsize, abfd) != readsize) in coff_real_object_p()
/openbsd/gnu/usr.bin/binutils/bfd/
H A Dcoffgen.c182 bfd_size_type readsize; /* length of file_info */ local
216 readsize = (bfd_size_type) nscns * scnhsz;
217 external_sections = (char *) bfd_alloc (abfd, readsize);
221 if (bfd_bread ((PTR) external_sections, readsize, abfd) != readsize)
/openbsd/sys/dev/pci/bktr/
H A Dbktr_core.c1049 size_t readsize, readsize2; in vbi_read() local
1069 readsize = ulmin(uio->uio_resid, bktr->vbisize); in vbi_read()
1073 if (readsize >= VBI_BUFFER_SIZE - bktr->vbistart) { in vbi_read()
1079 status = uiomove((caddr_t)bktr->vbibuffer, (readsize - readsize2), uio); in vbi_read()
1082 status = uiomove((caddr_t)bktr->vbibuffer + bktr->vbistart, readsize, uio); in vbi_read()
1086 bktr->vbisize -= readsize; in vbi_read()
1089 bktr->vbistart += readsize; in vbi_read()
/openbsd/gnu/usr.bin/perl/
H A Ddump.c188 STRLEN readsize = 1; /* size of data just read */ in Perl_pv_escape() local
233 for ( ; pv < end ; pv += readsize ) { in Perl_pv_escape()
234 const UV u= (isuni) ? utf8_to_uvchr_buf((U8*)pv, (U8*) end, &readsize) : (U8)*pv; in Perl_pv_escape()
247 chsize = readsize; in Perl_pv_escape()
287 else if ((pv+readsize < end) && isDIGIT((U8)*(pv+readsize))) in Perl_pv_escape()
H A Dsv.c8699 STRLEN readsize; local
8716 readsize = recsize - charcount;
8718 readsize = skip - (bend - bufp) + recsize - charcount - 1;
8719 buffer = SvGROW(sv, append + bytesread + readsize + 1) + append;
8721 morebytesread = PerlIO_read(fp, bend, readsize);
/openbsd/gnu/usr.bin/perl/cpan/Term-ReadKey/
H A Dppport.h18028 STRLEN readsize = 1; in DPPP_() local
18044 for (; pv < end && (!max || wrote < max) ; pv += readsize) { in DPPP_()
18047 isuni ? utf8_to_uvchr_buf((U8*)pv, end, &readsize) : in DPPP_()
18082 pv < end && isDIGIT((U8)*(pv+readsize)) in DPPP_()