Lines Matching refs:max_cols
47 static int max_cols;
72 if (last > max_cols)
77 if (stop <= max_cols) {
90 int *result = typeCalloc(int, strlen(tab_list) + (unsigned) max_cols);
129 while (n < max_cols - 1) {
153 for (n = 0; n < max_cols; n += 10) {
161 printf("%.*s", ((max_cols - n) > 10) ? 10 : (max_cols - n), buffer);
166 for (n = 0, last = 0; (tab_list[n] > 0) && (last < max_cols); ++n) {
169 if (last <= max_cols) {
175 if (last <= max_cols) {
182 while (++last <= max_cols)
196 while ((stop = *tab_list++) > 0 && stop <= max_cols) {
200 if (stop < max_cols)
517 max_cols = (columns > 0) ? columns : 80;