/freebsd-12-stable/contrib/nvi/vi/ |
H A D | v_match.c | 42 int cnt, isempty, matchc, startc, (*gc)(SCR *, VCS *); local 76 cnt = cp - match_chars; 77 matchc = match_chars[cnt ^ 1]; 78 gc = cnt & 1 ? cs_prev : cs_next; 87 for (cnt = 1;;) { 96 ++cnt; 97 else if (cs.cs_ch == matchc && --cnt == 0) 100 if (cnt) {
|
H A D | v_xchar.c | 83 u_long cnt; local 90 cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1; 91 if (cnt >= vp->m_start.cno) 94 vp->m_start.cno -= cnt;
|
H A D | vs_smap.c | 49 size_t cnt, oldy, oldx; local 92 for (p = HMAP, cnt = sp->t_rows; cnt--; ++p) 99 for (p = HMAP, cnt = sp->t_rows; cnt--; ++p) 180 size_t cnt; local 183 for (p = HMAP, cnt = sp->t_rows; cnt--; ++p) 234 cnt = vs_screens(sp, HMAP->lno, NULL); 235 if (cnt < HMA 362 size_t cnt_orig, cnt, coff; local 416 size_t cnt_orig, cnt_new, cnt, diff; local 780 vs_deleteln(SCR *sp, int cnt) argument 1013 vs_insertln(SCR *sp, int cnt) argument 1140 vs_sm_position(SCR *sp, MARK *rp, u_long cnt, pos_t pos) argument [all...] |
H A D | v_sentence.c | 60 u_long cnt; local 67 cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1; 78 if (--cnt == 0) { 92 if ((state == PERIOD || state == BLANK) && --cnt == 0) { 104 if (--cnt == 0) 108 if (--cnt == 0) 135 if (state == BLANK && --cnt == 0) { 199 u_long cnt; local 214 cnt = F_ISSET(vp, VC_C1SET) ? vp->count : 1; 254 if (--cnt [all...] |
/freebsd-12-stable/contrib/elftoolchain/libdwarf/ |
H A D | libdwarf_ranges.c | 33 uint64_t off, Dwarf_Ranges *rg, Dwarf_Unsigned *cnt) 62 if (cnt != NULL) 63 *cnt = i; 108 Dwarf_Unsigned cnt; local 123 ret = _dwarf_ranges_parse(dbg, cu, ds, off, NULL, &cnt); 129 rl->rl_rglen = cnt; 130 if (cnt != 0) { 131 if ((rl->rl_rgarray = calloc(cnt, sizeof(Dwarf_Ranges))) == 32 _dwarf_ranges_parse(Dwarf_Debug dbg, Dwarf_CU cu, Dwarf_Section *ds, uint64_t off, Dwarf_Ranges *rg, Dwarf_Unsigned *cnt) argument
|
/freebsd-12-stable/sys/mips/mips/ |
H A D | mem.c | 85 vm_size_t cnt; local 87 cnt = 0; 104 cnt = PAGE_SIZE - ((vm_offset_t)iov->iov_base & 106 cnt = min(cnt, PAGE_SIZE - off); 107 cnt = min(cnt, iov->iov_len); 111 error = uiomove_fromphys(&marr, off, cnt, uio);
|
/freebsd-12-stable/sys/dev/sound/pcm/ |
H A D | feeder_mixer.c | 184 uint32_t cnt, maxfeed; local 196 cnt = sndbuf_getsize(b); 200 cnt = FEEDER_FEED(c->feeder->source, c, b->tmpbuf, 201 min(cnt, maxfeed), c->bufhard); 202 if (cnt != 0) { 203 sndbuf_acquire(b, b->tmpbuf, cnt); 204 cnt = sndbuf_getfree(b); 206 } while (cnt != 0); 237 cnt = sndbuf_getfree(bs); 238 if (cnt < sndbuf_getalig 288 uint32_t cnt, mcnt, rcnt, sz; local [all...] |
/freebsd-12-stable/contrib/nvi/ex/ |
H A D | ex_screen.c | 105 int cnt, col, len, sep; local 114 for (cnt = 1; tsp != NULL && !INTERRUPTED(sp); 121 } else if (cnt != 1) { 126 ++cnt;
|
/freebsd-12-stable/sys/contrib/ngatm/netnatm/msg/ |
H A D | genmsgh.awk | 69 for(i = 0; i < cnt; i++) {
|
/freebsd-12-stable/usr.bin/column/ |
H A D | column.c | 157 int chcnt, col, cnt, endcol, numcols; local 172 while ((cnt = roundup(chcnt + 1, TAB)) <= endcol) { 174 chcnt = cnt; 186 int base, chcnt, cnt, col, endcol, numcols, numrows, row; local 200 while ((cnt = roundup(chcnt + 1, TAB)) <= endcol) { 202 chcnt = cnt; 213 int cnt; local 216 for (cnt = entries, lp = list; cnt--; ++lp) 230 int coloff, cnt; local [all...] |
/freebsd-12-stable/usr.bin/tr/ |
H A D | extern.h | 44 int cnt; /* character count */ member in struct:__anon17341
|
/freebsd-12-stable/sys/crypto/skein/ |
H A D | skein_debug.c | 19 static void Show64_step(size_t cnt,const u64b_t *X,size_t step) argument 22 for (i=j=0;i < cnt;i++,j+=step) 26 if (i % 4 == 3 || i==cnt-1) printf("\n"); 31 #define Show64(cnt,X) Show64_step(cnt,X,1) 33 static void Show64_flag(size_t cnt,const u64b_t *X) argument 41 Show64_step(cnt,X,step); 44 static void Show08(size_t cnt,const u08b_t *b) argument 47 for (i=0;i < cnt;i++) 52 if (i %16 == 15 || i==cnt 76 Skein_Show_Final(uint_t bits,const Skein_Ctxt_Hdr_t *h,size_t cnt,const u08b_t *outPtr) argument [all...] |
/freebsd-12-stable/lib/libc/gen/ |
H A D | getvfsbyname.c | 68 int cnt, i; local 79 cnt = buflen / sizeof(struct xvfsconf); 80 for (i = 0; i < cnt; i++) {
|
/freebsd-12-stable/crypto/heimdal/appl/telnet/libtelnet/ |
H A D | enc_des.c | 245 int cfb64_is(unsigned char *data, int cnt) argument 247 return(fb64_is(data, cnt, &fb[CFB])); 250 int ofb64_is(unsigned char *data, int cnt) argument 252 return(fb64_is(data, cnt, &fb[OFB])); 256 int fb64_is(unsigned char *data, int cnt, struct fb *fbp) argument 261 if (cnt-- < 1) 266 if (cnt != sizeof(DES_cblock)) { 296 printd(data, cnt); 327 int cfb64_reply(unsigned char *data, int cnt) argument 329 return(fb64_reply(data, cnt, 332 ofb64_reply(unsigned char *data, int cnt) argument 338 fb64_reply(unsigned char *data, int cnt, struct fb *fbp) argument 444 fb64_printsub(unsigned char *data, size_t cnt, unsigned char *buf, size_t buflen, char *type) argument 485 cfb64_printsub(unsigned char *data, size_t cnt, unsigned char *buf, size_t buflen) argument 491 ofb64_printsub(unsigned char *data, size_t cnt, unsigned char *buf, size_t buflen) argument [all...] |
/freebsd-12-stable/contrib/telnet/libtelnet/ |
H A D | enc_des.c | 235 cfb64_is(unsigned char *data, int cnt) argument 237 return(fb64_is(data, cnt, &fb[CFB])); 241 ofb64_is(unsigned char *data, int cnt) argument 243 return(fb64_is(data, cnt, &fb[OFB])); 247 fb64_is(unsigned char *data, int cnt, struct fb *fbp) argument 252 if (cnt-- < 1) 257 if (cnt != sizeof(Block)) { 287 printd(data, cnt); 318 cfb64_reply(unsigned char *data, int cnt) argument 320 return(fb64_reply(data, cnt, 324 ofb64_reply(unsigned char *data, int cnt) argument 330 fb64_reply(unsigned char *data, int cnt, struct fb *fbp) argument 439 fb64_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen, const char *type) argument 480 cfb64_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument 486 ofb64_printsub(unsigned char *data, int cnt, unsigned char *buf, int buflen) argument [all...] |
H A D | rsaencpwd.c | 189 rsaencpwd_is(ap, data, cnt) 192 int cnt; 203 cnt--; 206 memmove((void *)auth.dat, (void *)data, auth.length = cnt); 309 rsaencpwd_reply(ap, data, cnt) 312 int cnt; 321 if (cnt-- < 1) 325 if (cnt > 0) { 327 cnt, data); 341 memmove((void *)chalkey, (void *)data, cnt); [all...] |
/freebsd-12-stable/crypto/openssl/crypto/ |
H A D | ppccpuid.pl | 205 my ($out,$cnt,$max)=("r3","r4","r5"); 213 mtctr $cnt 235 mr r3,$cnt 245 mr r0,$cnt 246 slwi $cnt,$cnt,2 281 sub. $cnt,$cnt,$tick # conditional --$cnt 286 srwi $cnt, [all...] |
/freebsd-12-stable/usr.bin/pr/ |
H A D | pr.c | 177 int cnt = -1; local 262 if ((cnt = inln(inf,lbuf,LBUF,&cps,0,&mor)) < 0) 274 if (otln(obuf,cnt+off, &ips, &ops, mor)) 276 } else if (otln(lbuf, cnt, &ips, &ops, mor)) 305 if (cnt < 0) 333 int cnt = -1; local 489 cnt = inln(inf,ptbf,colwd,&cps,1,&mor); 490 vc[cvc++].cnt = cnt; 491 if (cnt < 662 int cnt = -1; local 813 int cnt; local 1133 otln(char *buf, int cnt, int *svips, int *svops, int mor) argument 1273 int cnt; local 1490 prtail(int cnt, int incomp) argument [all...] |
/freebsd-12-stable/contrib/sendmail/src/ |
H A D | ratectrl.c | 269 int cnt; local 283 cnt = 0; 391 cnt += cth->ct_Count; 399 if (cnt < ratelimit) 431 ++*prv, ++cnt; 442 clflags, cnt, ratelimit, 460 return cnt; 505 int cnt = 0; local 531 cnt += ct->ct_Count; 536 "total: cnt 548 int i, j, cnt; local [all...] |
/freebsd-12-stable/sys/netinet/ |
H A D | ip_options.c | 107 int opt, optlen, cnt, off, code, type = ICMP_PARAMPROB, forward = 0; local 125 cnt = (ip->ip_hl << 2) - sizeof (struct ip); 126 for (; cnt > 0; cnt -= optlen, cp += optlen) { 133 if (cnt < IPOPT_OLEN + sizeof(*cp)) { 138 if (optlen < IPOPT_OLEN + sizeof(*cp) || optlen > cnt) { 563 int opt, optlen, cnt; local 567 cnt = (ip->ip_hl << 2) - sizeof (struct ip); 568 for (; cnt > 0; cnt 606 int cnt, optlen; local 726 int opt, optlen, cnt, found_ra; local [all...] |
/freebsd-12-stable/contrib/ntp/sntp/ |
H A D | utilities.c | 194 int cnt; local 199 cnt = snprintf(result, LIB_BUFLENGTH, "%s %s", 202 cnt = snprintf(result, LIB_BUFLENGTH, "%s", addrtxt); 203 if (cnt >= LIB_BUFLENGTH) 206 LIB_BUFLENGTH, cnt + 1);
|
/freebsd-12-stable/contrib/nvi/common/ |
H A D | util.c | 88 size_t cnt, len, off; local 103 for (cnt = off, p = &p[off], 104 len -= off; len && ISBLANK(*p); ++cnt, ++p, --len); 107 *cnop = len ? cnt : cnt - 1;
|
/freebsd-12-stable/lib/libc/db/recno/ |
H A D | rec_delete.c | 152 indx_t *ip, cnt, offset; local 181 for (cnt = &h->linp[idx] - (ip = &h->linp[0]); cnt--; ++ip) 184 for (cnt = &h->linp[NEXTINDEX(h)] - ip; --cnt; ++ip)
|
/freebsd-12-stable/tests/sys/cddl/zfs/tests/cli_root/zfs_rollback/ |
H A D | zfs_rollback_001_pos.ksh | 81 typeset -i cnt=$2 85 (( cnt > 3 || pointcnt > cnt )) && \ 99 *r*) setup_snap_env $cnt ;; 100 *R*) setup_clone_env $cnt ;;
|
/freebsd-12-stable/sys/powerpc/powerpc/ |
H A D | mem.c | 100 vm_size_t cnt; local 102 cnt = 0; 118 cnt = PAGE_SIZE - ((vm_offset_t)iov->iov_base & 120 cnt = min(cnt, PAGE_SIZE - off); 121 cnt = min(cnt, iov->iov_len); 123 if (mem_valid(v, cnt)) { 128 if (hw_direct_map && !pmap_dev_direct_mapped(v, cnt)) { 129 error = uiomove((void *)PHYS_TO_DMAP(v), cnt, [all...] |