Searched refs:numcols (Results 1 – 6 of 6) sorted by relevance
| /NextBSD/contrib/ncurses/ncurses/base/ |
| HD | lib_slkset.c | 55 int numcols; in NCURSES_EXPORT() local 79 numcols = 0; in NCURSES_EXPORT() 92 if (wcwidth(wc) + numcols > limit) in NCURSES_EXPORT() 94 numcols += wcwidth(wc); in NCURSES_EXPORT() 102 numcols = (int) (p - str); in NCURSES_EXPORT() 103 if (numcols > limit) in NCURSES_EXPORT() 104 numcols = limit; in NCURSES_EXPORT() 105 numchrs = numcols; in NCURSES_EXPORT() 124 offset = (limit - numcols) / 2; in NCURSES_EXPORT() 127 offset = limit - numcols; in NCURSES_EXPORT() [all …]
|
| /NextBSD/usr.bin/column/ |
| HD | column.c | 155 int chcnt, col, cnt, endcol, numcols; in c_columnate() local 158 numcols = termwidth / maxlength; in c_columnate() 165 if (++col == numcols) { in c_columnate() 184 int base, chcnt, cnt, col, endcol, numcols, numrows, row; in r_columnate() local 186 numcols = termwidth / maxlength; in r_columnate() 187 numrows = entries / numcols; in r_columnate() 188 if (entries % numcols) in r_columnate() 193 for (base = row, chcnt = col = 0; col < numcols; ++col) { in r_columnate()
|
| /NextBSD/contrib/dialog/ |
| HD | columns.c | 100 unsigned numcols = 1; in dlg_align_columns() local 126 if (numcols < cols) in dlg_align_columns() 127 numcols = cols; in dlg_align_columns() 133 realwidth = numcols - 1; in dlg_align_columns() 134 for (n = 0; n < numcols; ++n) { in dlg_align_columns()
|
| /NextBSD/contrib/nvi/common/ |
| HD | options.c | 833 int numcols, numrows, row; in opts_dump() local 846 for (numcols = 10; numcols > 1; --numcols) { in opts_dump() 847 colwidth = sp->cols / numcols & ~(STANDARD_TAB - 1); in opts_dump() 851 numcols = sp->cols / colwidth; in opts_dump() 927 if (s_num > numcols) { in opts_dump() 928 numrows = s_num / numcols; in opts_dump() 929 if (s_num % numcols) in opts_dump() 936 for (base = row, col = 0; col < numcols; ++col) { in opts_dump()
|
| /NextBSD/bin/ls/ |
| HD | print.c | 371 int numcols; in printcol() local 411 numcols = termwidth / colwidth; in printcol() 412 numrows = num / numcols; in printcol() 413 if (num % numcols) in printcol() 428 for (col = 0, chcnt = 0; col < numcols; ++col) { in printcol() 441 if (f_sortacross && col + 1 >= numcols) in printcol()
|
| /NextBSD/contrib/nvi/vi/ |
| HD | v_txt.c | 2155 size_t base, cnt, col, colwidth, numrows, numcols, prefix, row; in txt_fc_col() local 2221 numcols = (sp->cols - 1) / colwidth; in txt_fc_col() 2222 if (argc > numcols) { in txt_fc_col() 2223 numrows = argc / numcols; in txt_fc_col() 2224 if (argc % numcols) in txt_fc_col() 2231 for (base = row, col = 0; col < numcols; ++col) { in txt_fc_col()
|