Searched refs:nleft (Results 1 - 17 of 17) sorted by relevance

/freebsd-10.1-release/usr.sbin/timed/timed/
H A Dcksum.c54 register int nleft = len; local
65 while( nleft > 1 ) {
67 nleft -= 2;
71 if( nleft == 1 )
/freebsd-10.1-release/bin/pwait/
H A Dpwait.c69 int opt, nleft, n, i, duplicate, status; local
97 nleft = 0;
109 for (i = 0; i < nleft; i++)
113 EV_SET(e + nleft, pid, EVFILT_PROC, EV_ADD, NOTE_EXIT,
115 if (kevent(kq, e + nleft, 1, NULL, 0, NULL) == -1)
118 nleft++;
122 while (nleft > 0) {
123 n = kevent(kq, NULL, 0, e, nleft, NULL);
141 nleft -= n;
/freebsd-10.1-release/bin/sh/
H A Deval.h45 int nleft; /* number of chars in buffer */ member in struct:backcmd
H A Doutput.h43 int nleft; member in struct:output
78 #define outc(c, file) (--(file)->nleft < 0? (emptyoutbuf(file), *(file)->nextc++ = (c)) : (*(file)->nextc++ = (c)))
H A Dinput.c84 int nleft; /* number of chars left in this line */ member in struct:parsefile
94 int parsenleft; /* copy of parsefile->nleft */
127 int nleft = len; local
130 while (--nleft > 0) {
463 parsefile->nleft = parsenleft;
490 parsenleft = parsefile->nleft;
H A Deval.c654 result->nleft = 0;
703 TRACE(("evalbackcmd done: fd=%d buf=%p nleft=%d jp=%p\n",
704 result->fd, result->buf, result->nleft, result->jp));
1090 memout.nleft = 0;
1144 backcmd->nleft = memout.nextc - memout.buf;
H A Dexpand.c464 if (--in.nleft < 0) {
472 in.nleft = i - 1;
/freebsd-10.1-release/crypto/openssl/crypto/cmac/
H A Dcmac.c225 size_t nleft; local
226 nleft = bl - ctx->nlast_block;
227 if (dlen < nleft)
228 nleft = dlen;
229 memcpy(ctx->last_block + ctx->nlast_block, data, nleft);
230 dlen -= nleft;
231 ctx->nlast_block += nleft;
235 data += nleft;
/freebsd-10.1-release/sys/boot/powerpc/ps3/
H A Dps3stor.c126 uint64_t nleft, nread, nsectors; local
131 nleft = sector_count;
134 while (nleft) {
135 nsectors = MIN(nleft, BOUNCE_SECTORS);
164 nleft -= nsectors;
/freebsd-10.1-release/tools/regression/lib/libc/resolv/
H A Dresolv.c249 int i, c, done, *nleft; local
287 if ((nleft = malloc(nthreads * sizeof(int))) == NULL)
296 nleft[i] = nhosts;
297 run(&nleft[i]);
303 if (nleft[i] != 0) {
318 free(nleft);
/freebsd-10.1-release/contrib/libreadline/
H A Ddisplay.c893 int nleft, pos, changed_screen_line, tx; local
962 nleft = _rl_screenwidth - _rl_last_c_pos;
964 nleft = _rl_screenwidth + wrap_offset - _rl_last_c_pos;
965 if (nleft)
966 _rl_clear_to_eol (nleft);
1009 nleft = prompt_visible_length + wrap_offset;
1023 _rl_output_some_chars (local_prompt, nleft);
1025 _rl_last_c_pos = _rl_col_width (local_prompt, 0, nleft) - wrap_offset;
1027 _rl_last_c_pos = nleft;
1033 /* nleft
1072 int lmargin, ndisp, nleft, phys_c_pos, t; local
2413 int ret, nleft; local
[all...]
/freebsd-10.1-release/usr.bin/gcore/
H A Delfcore.c194 uintmax_t nleft = php->p_filesz; local
198 while (nleft > 0) {
203 if (nleft > sizeof(buf))
206 nwant = nleft;
219 nleft -= nwant;
/freebsd-10.1-release/contrib/texinfo/util/
H A Dtexindex.c1509 int nleft;
1575 nleft = nfiles;
1577 while (nleft)
1622 nleft--;
1497 int nleft; local
/freebsd-10.1-release/sbin/ping/
H A Dping.c1279 int nleft, sum; local
1287 nleft = len;
1296 while (nleft > 1) {
1298 nleft -= 2;
1302 if (nleft == 1) {
/freebsd-10.1-release/sys/dev/sound/pcm/
H A Dmixer.c500 int i, nvalues, nwrote, nleft, ncopied; local
506 nleft = sizeof(ei->strings);
512 ncopied = strlcpy(loc, snd_mixernames[i], nleft) + 1;
516 nleft -= ncopied;
525 if ((nleft <= 0) || (nvalues >= OSS_ENUM_MAXVALUE)) {
/freebsd-10.1-release/contrib/traceroute/
H A Dtraceroute.c1520 register int nleft = len; local
1531 while (nleft > 1) {
1533 nleft -= 2;
1537 if (nleft == 1)
/freebsd-10.1-release/contrib/sendmail/src/
H A Ddaemon.c3409 int nleft; local
3621 nleft = sizeof(ibuf) - 1;
3622 while ((i = read(s, p, nleft)) > 0)
3627 nleft -= i;
3638 if (nleft <= 0)

Completed in 218 milliseconds