Home
last modified time | relevance | path

Searched refs:chcnt (Results 1 – 5 of 5) sorted by relevance

/original-bsd/usr.bin/column/
H A Dcolumn.c112 int chcnt, col, cnt, endcol, numcols; in c_columnate() local
118 for (chcnt = col = 0, lp = list;; ++lp) { in c_columnate()
119 chcnt += printf("%s", *lp); in c_columnate()
123 chcnt = col = 0; in c_columnate()
127 while ((cnt = (chcnt + TAB & ~(TAB - 1))) <= endcol) { in c_columnate()
129 chcnt = cnt; in c_columnate()
134 if (chcnt) in c_columnate()
141 int base, chcnt, cnt, col, endcol, numcols, numrows, row; in r_columnate() local
152 chcnt += printf("%s", list[base]); in r_columnate()
155 while ((cnt = (chcnt + TAB & ~(TAB - 1))) <= endcol) { in r_columnate()
[all …]
/original-bsd/bin/ls/
H A Dprint.c116 int base, chcnt, cnt, col, colwidth, num; local
159 chcnt += printaname(array[base], dp->s_inode,
163 while ((cnt = (chcnt + TAB & ~(TAB - 1))) <= endcol) {
165 chcnt = cnt;
183 int chcnt; local
186 chcnt = 0;
188 chcnt += printf("%*lu ", (int)inodefield, sp->st_ino);
190 chcnt += printf("%*qd ",
192 chcnt += printf("%s", p->fts_name);
194 chcnt += printtype(sp->st_mode);
[all …]
/original-bsd/games/hack/
H A Dhack.dog.c115 xchar cnt,chcnt,nix,niy; local
268 chcnt = 0;
336 if((nearer == 0 && !rn2(++chcnt)) || nearer<0 ||
343 if(nearer < 0) chcnt = 0;
H A Dhack.mon.c242 xchar gx,gy,nix,niy,chcnt; local
384 chcnt = 0;
403 (!appr && !rn2(++chcnt))){
H A Dhack.shk.c795 schar shkroom,chi,chcnt,cnt; local
896 chcnt = 0;
912 if((!appr && !rn2(++chcnt)) ||