Home | History | Annotate | Download | only in toolbox

Lines Matching refs:cnt

258 		u_int cnt;
262 for (cnt = 0; cnt < 0377; ++cnt)
263 casetab[cnt] = tolower(ctab[cnt]);
265 for (cnt = 0; cnt < 0377; ++cnt)
266 casetab[cnt] = toupper(ctab[cnt]);
270 for (cnt = 0; cnt < 0377; ++cnt)
271 casetab[cnt] = tolower(cnt);
273 for (cnt = 0; cnt < 0377; ++cnt)
274 casetab[cnt] = toupper(cnt);
492 int64_t cnt, n, nw;
513 for (cnt = n;; cnt -= nw) {
518 for (i = 0; i < cnt; i++)
524 pending += cnt;
525 outp += cnt;
540 nw = bwrite(out.fd, outp, cnt);
572 if (nw == cnt)
627 int bcnt, cnt, nr, warned;
647 for (bcnt = in.dbsz, cnt = in.offset, warned = 0; cnt;) {
652 --cnt;
655 --cnt;
694 int cnt, n;
725 for (cnt = 0; cnt < out.offset; ++cnt) {
738 * the EOF mark. Note, cnt has not yet been incremented, so
749 while (cnt++ < out.offset)
770 uint64_t cnt;
775 for (inp = in.dbp - (cnt = in.dbrcnt); cnt--; ++inp)
827 uint64_t cnt, maxlen;
838 for (inp = in.db, cnt = in.dbrcnt;
839 cnt && *inp++ != '\n'; --cnt);
840 if (!cnt) {
847 in.dbcnt = cnt - 1;
848 in.dbp = inp + cnt - 1;
858 for (cnt = 0;
859 cnt < maxlen && (ch = *inp++) != '\n'; ++cnt)
862 for (cnt = 0;
863 cnt < maxlen && (ch = *inp++) != '\n'; ++cnt)
875 in.dbcnt -= cnt;
880 if (cnt < cbsz)
881 (void)memset(outp, ctab ? ctab[' '] : ' ', cbsz - cnt);
938 uint64_t cnt;
944 for (cnt = in.dbrcnt, inp = in.dbp - 1; cnt--; inp--)
954 cnt = t - inp + 1;
955 (void)memmove(out.dbp, inp, cnt);
956 out.dbp += cnt;
957 out.dbcnt += cnt;
972 uint64_t cnt;
979 cnt = t - in.db + 1;
980 (void)memmove(out.dbp, in.db, cnt);
981 out.dbp += cnt;
982 out.dbcnt += cnt;