/netbsd-current/external/bsd/libpcap/dist/missing/ |
H A D | strlcpy.c | 37 size_t nleft = dsize; local 40 if (nleft != 0) { 41 while (--nleft != 0) { 48 if (nleft == 0) {
|
/netbsd-current/usr.sbin/timed/timed/ |
H A D | cksum.c | 57 int nleft = len; local 67 while (nleft > 1) { 73 nleft -= 2; 77 if (nleft == 1)
|
/netbsd-current/external/bsd/openldap/dist/libraries/liblutil/ |
H A D | passfile.c | 43 size_t nread, nleft, nr; local 78 nleft = passwd->bv_len; 80 if( nleft == 0 ) { 91 nleft = passwd->bv_len; 96 nr = fread( &passwd->bv_val[nread], 1, nleft, f ); 98 if( nr < nleft && ferror( f ) ) { 107 nleft -= nr;
|
/netbsd-current/usr.bin/pwait/ |
H A D | pwait.c | 77 size_t nleft, n, i; local 131 nleft = 0; 145 for (i = 0; i < nleft; i++) 149 EV_SET(e + nleft, (uintptr_t)pid, EVFILT_PROC, EV_ADD, 151 if (kevent(kq, e + nleft, 1, NULL, 0, NULL) == -1) 154 nleft++; 158 while (nleft > 0) { 161 switch (rv = kevent(kq, NULL, 0, e, nleft, tsp)) { 194 nleft -= n;
|
/netbsd-current/sys/arch/atari/dev/ |
H A D | nvram.c | 141 int nleft; local 155 nleft = uio->uio_resid; 156 if (offset + nleft >= MC_NVRAM_CSUM) { 159 nleft = MC_NVRAM_CSUM - offset; 160 if (nleft <= 0) 163 DPRINTF(("Translated: offset = %d, bytes: %d\n", (long)offset, nleft)); 166 for (i = 0, p = buf; i < nleft; i++, p++) 169 if ((i = uiomove(buf, nleft, uio)) != 0) 172 for (i = 0, p = buf; i < nleft; i++, p++)
|
/netbsd-current/tests/lib/libpthread/ |
H A D | h_resolv.c | 148 int i, c, done, *nleft; local 174 if ((nleft = malloc(nthreads * sizeof(int))) == NULL) 185 nleft[i] = nhosts; 186 threads[i] = run(&nleft[i]); 192 if (nleft[i] != 0) { 210 free(nleft);
|
/netbsd-current/bin/sh/ |
H A D | eval.h | 46 int nleft; /* number of chars in buffer */ member in struct:backcmd
|
H A D | output.h | 43 int nleft; member in struct:output 103 #define outc(c, file) (--(file)->nleft < 0? (emptyoutbuf(file), *(file)->nextc++ = (c)) : (*(file)->nextc++ = (c)))
|
H A D | output.c | 86 /* nextc nleft bufsize buf fd flags chain */ 124 file->nleft = --length; 270 dest->nleft = sizeof out_junk; 276 dest->nleft = dest->bufsize; 279 dest->nleft, dest->buf, dest->fd)); 285 dest->nleft = dest->bufsize - offset; 291 dest->nleft--; 314 dest->nleft = dest->bufsize; 325 output.nleft = 0; 373 strout.nleft [all...] |
H A D | input.c | 91 int nleft; /* number of chars left in this line */ member in struct:parsefile 102 int parsenleft; /* copy of parsefile->nleft */ 144 int nleft = len; 147 while (--nleft > 0) { 603 parsefile->nleft = parsenleft; 631 parsenleft = parsefile->nleft;
|
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/cmac/ |
H A D | cmac.c | 164 size_t nleft; local 165 nleft = bl - ctx->nlast_block; 166 if (dlen < nleft) 167 nleft = dlen; 168 memcpy(ctx->last_block + ctx->nlast_block, data, nleft); 169 dlen -= nleft; 170 ctx->nlast_block += nleft; 174 data += nleft;
|
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/cmac/ |
H A D | cmac.c | 176 size_t nleft; local 178 nleft = bl - ctx->nlast_block; 179 if (dlen < nleft) 180 nleft = dlen; 181 memcpy(ctx->last_block + ctx->nlast_block, data, nleft); 182 dlen -= nleft; 183 ctx->nlast_block += nleft; 187 data += nleft;
|
/netbsd-current/usr.sbin/mrouted/ |
H A D | inet.c | 201 int nleft = (int)len; local 217 while (nleft > 1) { 219 nleft -= 2; 223 if (nleft == 1) {
|
H A D | main.c | 378 int nleft = nroutes - nsent; local 379 while (nleft > 0) { 382 nleft -= n;
|
/netbsd-current/external/gpl3/gdb.old/dist/readline/readline/ |
H A D | display.c | 1114 int nleft, pos, changed_screen_line, tx; local 1201 nleft = _rl_screenwidth - _rl_last_c_pos; 1203 nleft = _rl_screenwidth + wrap_offset - _rl_last_c_pos; 1204 if (nleft) 1205 _rl_clear_to_eol (nleft); 1264 nleft = prompt_visible_length + wrap_offset; 1281 _rl_output_some_chars (local_prompt, nleft); 1283 _rl_last_c_pos = _rl_col_width (local_prompt, 0, nleft, 1) - wrap_offset + modmark; 1285 _rl_last_c_pos = nleft + modmark; 1291 /* nleft 1331 int lmargin, ndisp, nleft, phys_c_pos, t; local 3122 int ret, nleft; local [all...] |
/netbsd-current/external/gpl3/gdb/dist/readline/readline/ |
H A D | display.c | 1208 int nleft, pos, changed_screen_line, tx; local 1315 nleft = _rl_screenwidth - _rl_last_c_pos; 1317 nleft = _rl_screenwidth + wrap_offset - _rl_last_c_pos; 1318 if (nleft) 1319 _rl_clear_to_eol (nleft); 1343 nleft = _rl_screenwidth - _rl_last_c_pos; 1345 nleft = _rl_screenwidth + wrap_offset - _rl_last_c_pos; 1346 if (nleft) 1347 _rl_clear_to_eol (nleft); 1395 nleft 1453 int lmargin, ndisp, nleft, phys_c_pos, t; local 3422 int ret, nleft; local [all...] |
/netbsd-current/external/bsd/openldap/dist/libraries/liblber/ |
H A D | io.c | 60 ber_len_t actuallen, nleft; local 65 nleft = ber_pvt_ber_remaining( ber ); 66 actuallen = nleft < len ? nleft : len; 83 ber_len_t actuallen, nleft; local 89 nleft = ber_pvt_ber_remaining( ber ); 90 actuallen = nleft < len ? nleft : len;
|
/netbsd-current/external/gpl3/binutils/dist/gprofng/src/ |
H A D | vec.h | 492 size_t nleft = mid - base; local 493 size_t nright = nelem - nleft - 1; 494 if (nleft <= nright) 496 qsort (base, nleft, qcmp, arg); 503 nelem = nleft;
|
/netbsd-current/usr.bin/rdist/ |
H A D | expand.c | 62 int nleft; variable 120 nleft = NCARGS - 4; 532 nleft -= len; 533 if (nleft <= 0 || ++eargc >= GAVSIZ)
|
/netbsd-current/external/bsd/openldap/dist/libraries/libldap/ |
H A D | tavl.c | 434 int nleft, nright; local 439 nleft = ldap_tavl_free( ldap_avl_lchild( root ), dfree ); 447 return( nleft + nright + 1 );
|
H A D | avl.c | 509 int nleft, nright; local 514 nleft = nright = 0; 516 nleft = ldap_avl_free( root->avl_left, dfree ); 525 return( nleft + nright + 1 );
|
/netbsd-current/bin/ksh/ |
H A D | emacs.c | 516 int nleft = xep - xcp; local 518 if (!nleft) { 522 if (x_arg > nleft) 523 x_arg = nleft; 775 int nleft = xep - xcp; local 777 if (!nleft) { 781 if (x_arg > nleft) 782 x_arg = nleft;
|
/netbsd-current/sys/arch/sparc/sparc/ |
H A D | pmap.c | 4698 int nleft, pmeg, inmmu; local 4707 if ((nleft = sp->sg_npte) == 0) 4746 nleft--; 4748 if (nleft < 0) 4764 if (sp->sg_nwired > nleft || sp->sg_nwired < 0) 4765 panic("pmap_rmk: pm %p, va %lx: nleft=%d, nwired=%d", 4766 pm, va, nleft, sp->sg_nwired); 4768 if ((sp->sg_npte = nleft) == 0) 4843 int nleft, pmeg, inmmu; local 4851 if ((nleft 4950 int nleft; local 5046 int flags, nleft, s, ctx; local 5355 int flags, nleft, s; local 6052 int nleft, pmeg; local [all...] |
/netbsd-current/tests/lib/libc/stdio/ |
H A D | t_fmemopen.c | 1105 size_t len0, len1, nleft; local 1123 nleft = t0->n - len0; 1125 if (nleft == 0 || len1 == nleft - 1) { 1127 == nleft); 1131 == nleft - 1);
|
/netbsd-current/sys/uvm/ |
H A D | uvm_vnode.c | 289 unsigned int flags, struct uvm_page_array *a, unsigned int nleft) 314 pg = uvm_page_array_fill_and_peek(a, offset, nleft); 288 uvn_findpage(struct uvm_object *uobj, voff_t offset, struct vm_page **pgp, unsigned int flags, struct uvm_page_array *a, unsigned int nleft) argument
|