Lines Matching refs:clcnt
84 static int clcnt; /* number of columns */
132 else if (clcnt == 1)
341 int mclcnt = clcnt - 1;
380 mvc = lines * clcnt;
452 for (i = 0; i < clcnt; ++i) {
536 if ((cnt < 0) && cvc && ((mvc-cvc) >= clcnt)){
537 pln = cvc/clcnt;
538 if (cvc % clcnt)
554 for (j = 0; j < clcnt; ++j) {
745 if (++j >= clcnt)
833 if ((fbuf = (FILE **)malloc((unsigned)clcnt*sizeof(FILE *))) == NULL) {
855 while (j < clcnt) {
872 clcnt = j;
874 colwd = (pgwd - clcnt - nmwd)/clcnt;
875 pgwd = ((colwd + 1) * clcnt) - nmwd - 2;
877 colwd = (pgwd + 1 - clcnt)/clcnt;
878 pgwd = ((colwd + 1) * clcnt) - 1;
882 "pr: page width too small for %d columns\n", clcnt);
885 actf = clcnt;
931 for (j = 0; j < clcnt; ++j) {
1633 if ((clcnt = atoi(eoptarg)) < 1) {
1637 if (clcnt > 1)
1777 if (!clcnt) {
1779 if ((clcnt = argc - eoptind) <= 1) {
1780 clcnt = CLCNT;
1784 clcnt = CLCNT;
1787 if (clcnt == 1) {
1820 colwd = (pgwd + 1 - (clcnt * (nmwd + 2)))/clcnt;
1821 pgwd = ((colwd + nmwd + 2) * clcnt) - 1;
1823 colwd = (pgwd + 1 - clcnt)/clcnt;
1824 pgwd = ((colwd + 1) * clcnt) - 1;
1828 "pr: page width is too small for %d columns\n",clcnt);