/freebsd-11-stable/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) {
|
/freebsd-11-stable/contrib/libpcap/missing/ |
H A D | strlcpy.c | 37 size_t nleft = dsize; local 40 if (nleft != 0) { 41 while (--nleft != 0) { 48 if (nleft == 0) {
|
/freebsd-11-stable/usr.sbin/timed/timed/ |
H A D | cksum.c | 54 register int nleft = len; local 65 while( nleft > 1 ) { 67 nleft -= 2; 71 if( nleft == 1 )
|
/freebsd-11-stable/bin/pwait/ |
H A D | pwait.c | 70 int opt, nleft, n, i, duplicate, status; local 128 nleft = 0; 140 for (i = 0; i < nleft; i++) 144 EV_SET(e + nleft, pid, EVFILT_PROC, EV_ADD, NOTE_EXIT, 146 if (kevent(kq, e + nleft, 1, NULL, 0, NULL) == -1) 149 nleft++; 158 EV_SET(e + nleft, SIGALRM, EVFILT_SIGNAL, EV_ADD, 0, 0, NULL); 159 if (kevent(kq, e + nleft, 1, NULL, 0, NULL) == -1) 166 while (nleft > 0) { 167 n = kevent(kq, NULL, 0, e, nleft [all...] |
/freebsd-11-stable/bin/sh/ |
H A D | eval.h | 45 int nleft; /* number of chars in buffer */ member in struct:backcmd
|
H A D | output.h | 44 int nleft; member in struct:output 80 #define outc(c, file) (--(file)->nleft < 0? (emptyoutbuf(file), *(file)->nextc++ = (c)) : (*(file)->nextc++ = (c)))
|
H A D | input.c | 84 int nleft; /* number of chars left in this line */ member in struct:parsefile 94 int parsenleft; /* copy of parsefile->nleft */ 429 parsefile->nleft = parsenleft; 456 parsenleft = parsefile->nleft;
|
H A D | eval.c | 657 result->nleft = 0; 709 TRACE(("evalbackcmd done: fd=%d buf=%p nleft=%d jp=%p\n", 710 result->fd, result->buf, result->nleft, result->jp)); 1083 memout.nleft = 0; 1137 backcmd->nleft = memout.nextc - memout.buf;
|
H A D | expand.c | 472 if (--in.nleft < 0) { 480 in.nleft = i - 1;
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libpthread/ |
H A D | h_resolv.c | 146 int i, c, done, *nleft; local 172 if ((nleft = malloc(nthreads * sizeof(int))) == NULL) 181 nleft[i] = nhosts; 182 run(&nleft[i]); 188 if (nleft[i] != 0) { 203 free(nleft);
|
/freebsd-11-stable/crypto/openssl/crypto/cmac/ |
H A D | cmac.c | 233 size_t nleft; local 234 nleft = bl - ctx->nlast_block; 235 if (dlen < nleft) 236 nleft = dlen; 237 memcpy(ctx->last_block + ctx->nlast_block, data, nleft); 238 dlen -= nleft; 239 ctx->nlast_block += nleft; 243 data += nleft;
|
/freebsd-11-stable/tests/sys/opencrypto/ |
H A D | dpkt.py | 134 nleft = len(buf) 136 while nleft > 1: 139 nleft -= 2 140 if nleft:
|
/freebsd-11-stable/lib/libc/tests/resolv/ |
H A D | resolv_test.c | 234 int i, c, done, *nleft; local 243 nleft = malloc(nthreads * sizeof(int)); 244 ATF_REQUIRE(nleft != NULL); 253 nleft[i] = nhosts; 254 run(&nleft[i]); 260 if (nleft[i] != 0) { 275 free(nleft);
|
/freebsd-11-stable/contrib/libreadline/ |
H A D | display.c | 893 int nleft, pos, changed_screen_line, tx; local 972 nleft = _rl_screenwidth - _rl_last_c_pos; 974 nleft = _rl_screenwidth + wrap_offset - _rl_last_c_pos; 975 if (nleft) 976 _rl_clear_to_eol (nleft); 1019 nleft = prompt_visible_length + wrap_offset; 1033 _rl_output_some_chars (local_prompt, nleft); 1035 _rl_last_c_pos = _rl_col_width (local_prompt, 0, nleft) - wrap_offset; 1037 _rl_last_c_pos = nleft; 1043 /* nleft 1082 int lmargin, ndisp, nleft, phys_c_pos, t; local 2436 int ret, nleft; local [all...] |
/freebsd-11-stable/usr.bin/gcore/ |
H A D | elfcore.c | 255 uintmax_t nleft = php->p_filesz; local 259 while (nleft > 0) { 264 if (nleft > sizeof(buf)) 267 nwant = nleft; 280 nleft -= nwant;
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdio/ |
H A D | t_fmemopen.c | 1113 size_t len0, len1, nleft; local 1131 nleft = t0->n - len0; 1133 if (nleft == 0 || len1 == nleft - 1) { 1135 == nleft); 1139 == nleft - 1);
|
/freebsd-11-stable/sbin/ping/ |
H A D | ping.c | 1377 int nleft, sum; local 1385 nleft = len; 1394 while (nleft > 1) { 1396 nleft -= 2; 1400 if (nleft == 1) {
|
/freebsd-11-stable/sys/dev/sound/pcm/ |
H A D | mixer.c | 500 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-11-stable/usr.sbin/traceroute6/ |
H A D | traceroute6.c | 1670 int nleft = len; local 1681 while (nleft > 1) { 1683 nleft -= 2; 1687 if (nleft == 1)
|
/freebsd-11-stable/contrib/traceroute/ |
H A D | traceroute.c | 1751 register int nleft = len; local 1762 while (nleft > 1) { 1764 nleft -= 2; 1768 if (nleft == 1)
|
/freebsd-11-stable/usr.sbin/bhyve/ |
H A D | pci_e82545.c | 1083 int mss, paylen, seg, tiovcnt, left, now, nleft, nnow, pv, pvoff; local 1372 for (nleft = now; pv < iovcnt && nleft > 0; nleft -= nnow) { 1373 nnow = MIN(nleft, iov[pv].iov_len - pvoff);
|
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | daemon.c | 3538 int nleft; local 3748 nleft = sizeof(ibuf) - 1; 3749 while ((i = read(s, p, nleft)) > 0) 3754 nleft -= i; 3765 if (nleft <= 0)
|