Home | History | Annotate | Download | only in pr

Lines Matching defs:clcnt

83 static int	clcnt;			/* number of columns */
149 else if (clcnt == 1)
338 int mclcnt = clcnt - 1;
373 mvc = lines * clcnt;
434 for (i = 0; i < clcnt; ++i) {
518 if ((cnt < 0) && cvc && ((mvc-cvc) >= clcnt)){
519 pln = cvc/clcnt;
520 if (cvc % clcnt)
540 for (j = 0; j < clcnt; ++j) {
734 if (++j >= clcnt)
830 if ((fbuf = calloc(clcnt, sizeof(FILE *))) == NULL)
848 while (j < clcnt) {
865 clcnt = j;
867 colwd = (pgwd - clcnt - nmwd)/clcnt;
868 pgwd = ((colwd + 1) * clcnt) - nmwd - 2;
870 colwd = (pgwd + 1 - clcnt)/clcnt;
871 pgwd = ((colwd + 1) * clcnt) - 1;
875 "pr: page width too small for %d columns\n", clcnt);
878 actf = clcnt;
920 for (j = 0; j < clcnt; ++j) {
1006 for (j = 0; j < clcnt; j++)
1661 if ((clcnt = atoi(eoptarg)) < 1) {
1665 if (clcnt > 1)
1810 if (!clcnt) {
1812 if ((clcnt = argc - eoptind) <= 1) {
1813 clcnt = CLCNT;
1817 clcnt = CLCNT;
1820 if (clcnt == 1) {
1853 colwd = (pgwd + 1 - (clcnt * (nmwd + 2)))/clcnt;
1854 pgwd = ((colwd + nmwd + 2) * clcnt) - 1;
1856 colwd = (pgwd + 1 - clcnt)/clcnt;
1857 pgwd = ((colwd + 1) * clcnt) - 1;
1861 "pr: page width is too small for %d columns\n",clcnt);