Home
last modified time | relevance | path

Searched refs:bytesread (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/lib/libnsl/rpc/
H A Dxdr.c530 uint64_t bytesread; in xdr_string() local
575 bytesread = 0; in xdr_string()
577 block = MIN(size - bytesread, FRAGMENT); in xdr_string()
582 newsp = realloc(sp, bytesread + block + 1); in xdr_string()
589 if (!xdr_opaque(xdrs, &sp[bytesread], block)) { in xdr_string()
593 bytesread += block; in xdr_string()
594 } while (bytesread < size); in xdr_string()
596 sp[bytesread] = 0; /* terminate the string with a NULL */ in xdr_string()
/titanic_41/usr/src/lib/libsasl/lib/
H A Dsaslutil.c355 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()
/titanic_41/usr/src/lib/libc/port/gen/
H A Dattrat.c179 int bytesread; in cgetattr() local
192 bytesread = read(fd, nv_response, nv_responselen); in cgetattr()
193 if (bytesread != nv_responselen) { in cgetattr()
/titanic_41/usr/src/psm/stand/boot/common/
H A Dreadfile.c186 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()
/titanic_41/usr/src/cmd/cpio/
H A Dcpio.c2281 size_t bytesread; in read_bytes() local
2284 for (bytesread = 0; bytesread < bytes; bytesread += got) { in read_bytes()
2290 if ((got = read_chunk(ifd, buf + bytesread, in read_bytes()
2291 min(bytes - bytesread, rdblocksz), in read_bytes()
2299 if (bytesread == 0) { in read_bytes()
2304 return (bytes - bytesread); in read_bytes()
/titanic_41/usr/src/cmd/tar/
H A Dtar.c3821 size_t bytesread; in xblocks() local
3875 for (bytesread = 0; bytesread < maxwrite; bytesread += TBLOCK) { in xblocks()
3876 readtape(buf + bytesread); in xblocks()