Searched refs:bytesread (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | xdr.c | 530 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()
|
/illumos-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()
|
/illumos-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()
|
/illumos-gate/usr/src/psm/stand/boot/common/ |
H A D | readfile.c | 152 size_t bytesread = 0; in xread() local 156 while (bytesread < nbytes) { in xread() 157 i = read(fd, p, nbytes - bytesread); in xread() 164 bytesread += i; in xread() 167 return (bytesread); in xread()
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_dnames.c | 1303 Dwarf_Unsigned bytesread = 0; in dwarf_debugnames_entrypool_values() local 1305 endpool,&val,&bytesread,error); in dwarf_debugnames_entrypool_values() 1309 poolptr += bytesread; in dwarf_debugnames_entrypool_values() 1310 pooloffset += bytesread; in dwarf_debugnames_entrypool_values()
|
/illumos-gate/usr/src/cmd/cpio/ |
H A D | cpio.c | 2289 size_t bytesread; in read_bytes() local 2292 for (bytesread = 0; bytesread < bytes; bytesread += got) { in read_bytes() 2298 if ((got = read_chunk(ifd, buf + bytesread, in read_bytes() 2299 min(bytes - bytesread, rdblocksz), in read_bytes() 2307 if (bytesread == 0) { in read_bytes() 2312 return (bytes - bytesread); in read_bytes()
|
/illumos-gate/usr/src/cmd/tar/ |
H A D | tar.c | 3880 size_t bytesread; in xblocks() local 3934 for (bytesread = 0; bytesread < maxwrite; bytesread += TBLOCK) { in xblocks() 3935 readtape(buf + bytesread); in xblocks()
|