Lines Matching refs:cnt

186     int cnt;  in onecol()  local
266 rc = inln(inf,lbuf,LBUF,&cnt,&cps,0,&mor); in onecol()
267 if (cnt >= 0) { in onecol()
278 if (otln(obuf,cnt+off, &ips, &ops, mor)) in onecol()
281 if (otln(lbuf, cnt, &ips, &ops, mor)) in onecol()
349 int cnt; in vertcol() local
500 rc = inln(inf,ptbf,colwd,&cnt,&cps,1,&mor); in vertcol()
501 vc[cvc++].cnt = cnt; in vertcol()
502 if (cnt >= 0) { in vertcol()
503 ptbf += cnt; in vertcol()
514 else if ((pln = col-cnt) > 0) { in vertcol()
551 if (vc[0].cnt >= 0) { in vertcol()
579 cnt = vc[tvc].cnt; in vertcol()
581 cnt += cw; in vertcol()
586 cnt = vc[tvc].cnt + 1; in vertcol()
588 cnt += cw; in vertcol()
590 cnt = fullcol; in vertcol()
592 if (otln(vc[tvc].pt, cnt, &ips, &ops, 1)) in vertcol()
675 int cnt; in horzcol() local
748 rc = inln(inf,ptbf,colwd,&cnt,&cps,1, &mor); in horzcol()
749 if (cnt >= 0) { in horzcol()
753 ptbf += cnt; in horzcol()
767 else if ((pln = col - cnt) > 0) { in horzcol()
876 int cnt; in mulfile() local
1010 rc[j] = inln(fbuf[j], ptbf, colwd, &cnt, &cps, 1, &mor); in mulfile()
1011 if (cnt >= 0) { in mulfile()
1015 ptbf += cnt; in mulfile()
1019 cnt = 0; in mulfile()
1030 cnt = 0; in mulfile()
1044 if (cnt >= 0) in mulfile()
1045 pln = col - cnt; in mulfile()
1106 inln(FILE *inf, char *buf, int lim, int *cnt, int *cps, int trnc, int *mor) in inln() argument
1135 *cnt = -1; in inln()
1164 *cnt = col ? col : -1; in inln()
1170 *cnt = col; in inln()
1179 *cnt = col; in inln()
1204 *cnt = col; in inln()
1220 otln(char *buf, int cnt, int *svips, int *svops, int mor) in otln() argument
1236 endbuf = buf + cnt; in otln()
1349 if (cnt && (fwrite(buf, sizeof(char), cnt, stdout) <= 0)) { in otln()
1380 int cnt; in inskip() local
1383 cnt = lncnt; in inskip()
1385 if ((c == '\n') && (--cnt == 0)) in inskip()
1617 prtail(int cnt, int incomp) in prtail() argument
1662 cnt *= 2; in prtail()
1668 ++cnt; in prtail()
1687 cnt++; in prtail()
1689 cnt += TAILLEN; in prtail()
1690 while (--cnt >= 0) { in prtail()