| /illumos-gate/usr/src/lib/libbc/libc/stdio/common/ |
| H A D | fwrite.c | 54 register unsigned nleft; local 63 nleft = count*size; 69 if (((iop->_flag & _IONBF) != 0) || (nleft >= BUFSIZ)) { 70 if ((n=write(fileno(iop),ptr,nleft)) != nleft) 84 return (count - (nleft + size - 1)/size); 85 n = MIN(nleft, n); 91 if ((nleft -= n) == 0) {
|
| H A D | fread.c | 49 unsigned int nleft; local 53 nleft = count * size; 61 return (count - (nleft + size - 1)/size); 65 n = MIN(nleft, iop->_cnt); 70 if ((nleft -= n) == 0)
|
| /illumos-gate/usr/src/boot/lib/libc/string/ |
| H A D | strlcpy.c | 34 size_t nleft = dsize; local 37 if (nleft != 0) { 38 while (--nleft != 0) { 45 if (nleft == 0) {
|
| /illumos-gate/usr/src/lib/libtecla/common/ |
| H A D | errmsg.c | 122 int nleft = ERR_MSG_LEN - msglen; local 131 if(nleft > 0) { 132 int nnew = slen < nleft ? slen : nleft;
|
| H A D | chrqueue.c | 180 int nleft; /* The amount of space remaining in cq->buffers.tail */ local 244 nleft = GL_CQ_SIZE - boff; 252 nnew = nleft < ntodo ? nleft : ntodo;
|
| H A D | cplfile.c | 241 int nleft; /* The number of characters still to be processed */ local 260 nleft = word_end - word_start; 269 if(nleft > 0 && *lptr == '~') { 271 if(!cf_read_name(cf, "User", ++lptr, --nleft, cf->usrnam, USR_LEN)) 278 nleft -= slen; 283 if(nleft > 0) { 296 nleft -= FS_DIR_SEP_LEN; 314 while(nleft > 0) { 320 for(seglen=0; seglen < nleft; seglen++) { 332 if(nleft > [all...] |
| /illumos-gate/usr/src/lib/libcmd/common/ |
| H A D | revlib.c | 39 register int n, nleft=0; local 74 if(nleft==0) 78 nleft= 1; 85 nleft += cpold-cp; 92 if(nleft) 94 if(nleft==1) 96 else if(sfmove(in,out,nleft,-1) != nleft) 98 nleft = 0; 105 if(nleft) [all...] |
| H A D | tail.c | 205 register Sfoff_t nleft = number; local 219 if ((nleft -= n) <= 0) 223 nleft = number; 226 if (nleft == number) 240 if ((n = number - nleft) > 0)
|
| /illumos-gate/usr/src/cmd/vi/port/ |
| H A D | ex_temp.h | 98 var short nleft; /* Number usable chars left in output buffer */ variable
|
| H A D | ex_io.c | 265 int nleft = NCARGS; local 317 if (--nleft <= 0) 321 --nleft;
|
| /illumos-gate/usr/src/cmd/mdb/common/mdb/ |
| H A D | mdb_pipeio.c | 80 size_t n, nleft; local 85 for (nleft = nbytes; nleft == nbytes; nleft -= n) { 95 n = MIN(pd->pipe_used, nleft); 132 if (nleft == nbytes) { 139 return (nbytes - nleft); 146 size_t n, nleft; local 151 for (nleft = nbytes; nleft ! [all...] |
| H A D | mdb_io.c | 1775 size_t m, n, nleft = nbytes; local 1791 while ((p = strnpbrk(q, "\t\n", nleft)) != NULL) { 1800 nleft -= (size_t)(p - q) + 1; /* Update byte count */ 1810 while (nleft != 0) { 1819 m = MIN(nleft, n); /* copy at most n bytes in this pass */ 1822 nleft -= m; 1828 if (m == n && nleft != 0) {
|
| /illumos-gate/usr/src/lib/libkmf/ber_der/common/ |
| H A D | io.c | 53 size_t nleft; local 55 nleft = ber->ber_end - ber->ber_ptr; 56 actuallen = nleft < len ? nleft : len;
|
| /illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
| H A D | expand.c | 36 int nleft; variable 98 nleft = NCARGS - 4; 603 nleft -= len; 604 if (nleft <= 0 || ++eargc >= GAVSIZ)
|
| /illumos-gate/usr/src/lib/libshell/common/sh/ |
| H A D | nvtree.c | 1045 int nleft = 0; local 1071 nleft = array_elem(ap); 1072 if(nleft==0)
|
| /illumos-gate/usr/src/lib/libslp/clib/ |
| H A D | slp_net.c | 576 size_t nleft; local 581 nleft = 5; 583 while (nleft != 0) { 592 nleft -= nread; 607 nleft = len - 5; 609 while (nleft != 0) { 610 if ((nread = read(sockfd, p, nleft)) < 0) { 624 nleft -= nread;
|
| /illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/ |
| H A D | io.c | 213 ber_uint_t nleft; local 215 nleft = ber->ber_end - ber->ber_ptr; 216 actuallen = nleft < len ? nleft : len;
|
| /illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ilb/ |
| H A D | ilb_probe.c | 135 int nleft = len; local 147 while (nleft > 1) { 149 nleft -= 2; 153 if (nleft == 1) {
|
| /illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
| H A D | mpd_probe.c | 2655 register int nleft = len; local 2667 while (nleft > 1) { 2669 nleft -= 2; 2673 if (nleft == 1) {
|
| /illumos-gate/usr/src/cmd/sendmail/src/ |
| H A D | daemon.c | 3402 int nleft; local 3614 nleft = sizeof(ibuf) - 1; 3615 while ((i = read(s, p, nleft)) > 0) 3620 nleft -= i; 3631 if (nleft <= 0)
|
| /illumos-gate/usr/src/psm/stand/boot/sparc/common/ |
| H A D | wanboot.c | 473 long nleft; local 499 nleft = ramdisk_size - *offset; 501 if (nleft > sizeof (buffer)) 502 nleft = sizeof (buffer); 504 len = http_read_body(handle, addr, nleft);
|
| /illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/ |
| H A D | in.rdisc.c | 1010 register int nleft = len; local 1022 while (nleft > 1) { 1024 nleft -= 2; 1028 if (nleft == 1) {
|
| /illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/ |
| H A D | traceroute.c | 1877 int nleft = len; local 1888 while (nleft > 1) { 1890 nleft -= 2; 1894 if (nleft == 1)
|
| /illumos-gate/usr/src/uts/common/io/ |
| H A D | cryptmod.c | 1282 size_t nleft; local 1345 nleft = length - (nblocks - 1) * DEFAULT_AES_BLOCKLEN; 1350 nleft); 1354 nleft);
|
| /illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/ |
| H A D | ping.c | 2375 int nleft = len; local 2387 while (nleft > 1) { 2389 nleft -= 2; 2393 if (nleft == 1) {
|