| /src/usr.bin/column/ |
| column.c | 143 int chcnt, col, cnt, endcol, numcols; local 146 numcols = termwidth / maxlength; 152 if (++col == numcols) { 171 int base, chcnt, cnt, col, endcol, numcols, numrows, row; local 173 numcols = termwidth / maxlength; 174 numrows = entries / numcols; 175 if (entries % numcols) 180 for (base = row, chcnt = col = 0; col < numcols; ++col) {
|
| /src/bin/ls/ |
| print.c | 218 int numcols, numrows, row; local 261 numcols = termwidth / colwidth; 262 colwidth = termwidth / numcols; /* spread out if possible */ 263 numrows = num / numcols; 264 if (num % numcols) 268 for (base = row, chcnt = col = 0; col < numcols; ++col) { 285 int numcols; local 308 numcols = termwidth / colwidth; 309 colwidth = termwidth / numcols; /* spread out if possible */ 315 if (col >= numcols) { [all...] |
| /src/external/bsd/nvi/dist/common/ |
| options.c | 866 int numcols, numrows, row; local 879 for (numcols = 10; numcols > 1; --numcols) { 880 colwidth = sp->cols / numcols & ~(STANDARD_TAB - 1); 884 numcols = sp->cols / colwidth; 960 if (s_num > numcols) { 961 numrows = s_num / numcols; 962 if (s_num % numcols) 969 for (base = row, col = 0; col < numcols; ++col) [all...] |
| /src/external/ibm-public/postfix/dist/src/global/ |
| dict_pgsql.c | 264 int numcols; local 343 numcols = PQnfields(query_res); 346 for (j = 0; j < numcols; j++) {
|
| /src/external/bsd/nvi/dist/vi/ |
| v_txt.c | 2153 size_t base, cnt, col, colwidth, numrows, numcols, prefix, row; local 2220 numcols = (sp->cols - 1) / colwidth; 2221 if ((size_t)argc > numcols) { 2222 numrows = argc / numcols; 2223 if (argc % numcols) 2230 for (base = row, col = 0; col < numcols; ++col) {
|