Searched refs:bytesread (Results 1 – 8 of 8) sorted by relevance
| /onnv-gate/usr/src/lib/libnsl/rpc/ |
| H A D | xdr.c | 538 uint64_t bytesread; in xdr_string() local 583 bytesread = 0; in xdr_string() 585 block = MIN(size - bytesread, FRAGMENT); in xdr_string() 590 newsp = realloc(sp, bytesread + block + 1); in xdr_string() 597 if (!xdr_opaque(xdrs, &sp[bytesread], block)) { in xdr_string() 601 bytesread += block; in xdr_string() 602 } while (bytesread < size); in xdr_string() 604 sp[bytesread] = 0; /* terminate the string with a NULL */ in xdr_string()
|
| /onnv-gate/usr/src/lib/libsasl/lib/ |
| H A D | saslutil.c | 355 ssize_t bytesread = 0; in getranddata() local 359 bytesread = read(fd, buf, bytesleft); in getranddata() 360 if(bytesread == -1 && errno == EINTR) continue; in getranddata() 361 else if(bytesread <= 0) break; in getranddata() 362 bytesleft -= bytesread; in getranddata() 363 buf += bytesread; in getranddata()
|
| /onnv-gate/usr/src/lib/libc/port/gen/ |
| H A D | attrat.c | 179 int bytesread; in cgetattr() local 192 bytesread = read(fd, nv_response, nv_responselen); in cgetattr() 193 if (bytesread != nv_responselen) { in cgetattr()
|
| /onnv-gate/usr/src/psm/stand/boot/common/ |
| H A D | readfile.c | 186 size_t bytesread = 0; in xread() local 190 while (bytesread < nbytes) { in xread() 191 i = read(fd, p, nbytes - bytesread); in xread() 198 bytesread += i; in xread() 201 return (bytesread); in xread()
|
| /onnv-gate/usr/src/cmd/cpio/ |
| H A D | cpio.c | 2276 size_t bytesread; in read_bytes() local 2279 for (bytesread = 0; bytesread < bytes; bytesread += got) { in read_bytes() 2285 if ((got = read_chunk(ifd, buf + bytesread, in read_bytes() 2286 min(bytes - bytesread, rdblocksz), in read_bytes() 2294 if (bytesread == 0) { in read_bytes() 2299 return (bytes - bytesread); in read_bytes()
|
| /onnv-gate/usr/src/cmd/tar/ |
| H A D | tar.c | 3782 size_t bytesread; in xblocks() local 3836 for (bytesread = 0; bytesread < maxwrite; bytesread += TBLOCK) { in xblocks() 3837 readtape(buf + bytesread); in xblocks()
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/ |
| H A D | sv.c | 6177 I32 bytesread; in Perl_sv_gets() local 6190 bytesread = PerlLIO_read(PerlIO_fileno(fp), buffer, recsize); in Perl_sv_gets() 6192 bytesread = PerlIO_read(fp, buffer, recsize); in Perl_sv_gets() 6194 if (bytesread < 0) in Perl_sv_gets() 6195 bytesread = 0; in Perl_sv_gets() 6196 SvCUR_set(sv, bytesread += append); in Perl_sv_gets() 6197 buffer[bytesread] = '\0'; in Perl_sv_gets()
|
| /onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/ |
| H A D | CPAN.pm | 5740 my($line,$bytesread); 5741 $bytesread = $gz->gzreadline($line); 5742 return undef if $bytesread <= 0;
|