Searched refs:numcols (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/ncurses/ncurses/base/ |
H A D | lib_slkset.c | 56 int numcols; in NCURSES_EXPORT() local 80 numcols = 0; in NCURSES_EXPORT() 93 if (_nc_wacs_width(wc) + numcols > limit) in NCURSES_EXPORT() 95 numcols += _nc_wacs_width(wc); in NCURSES_EXPORT() 103 numcols = (int) (p - str); in NCURSES_EXPORT() 104 if (numcols > limit) in NCURSES_EXPORT() 105 numcols = limit; in NCURSES_EXPORT() 106 numchrs = numcols; in NCURSES_EXPORT() 125 offset = (limit - numcols) / 2; in NCURSES_EXPORT() 128 offset = limit - numcols; in NCURSES_EXPORT() [all …]
|
/freebsd/usr.bin/column/ |
H A D | column.c | 142 int chcnt, col, cnt, endcol, numcols; in c_columnate() local 145 numcols = termwidth / maxlength; in c_columnate() 152 if (++col == numcols) { in c_columnate() 171 int base, chcnt, cnt, col, endcol, numcols, numrows, row; in r_columnate() local 173 numcols = termwidth / maxlength; in r_columnate() 174 numrows = entries / numcols; in r_columnate() 175 if (entries % numcols) in r_columnate() 180 for (base = row, chcnt = col = 0; col < numcols; ++col) { in r_columnate()
|
/freebsd/contrib/dialog/ |
H A D | columns.c | 98 unsigned numcols = 1; in dlg_align_columns() local 125 if (numcols < cols) in dlg_align_columns() 126 numcols = cols; in dlg_align_columns() 132 realwidth = numcols - 1; in dlg_align_columns() 133 for (n = 0; n < numcols; ++n) { in dlg_align_columns()
|
/freebsd/contrib/nvi/common/ |
H A D | options.c | 823 int numcols, numrows, row; in opts_dump() local 836 for (numcols = 10; numcols > 1; --numcols) { in opts_dump() 837 colwidth = sp->cols / numcols & ~(STANDARD_TAB - 1); in opts_dump() 841 numcols = sp->cols / colwidth; in opts_dump() 917 if (s_num > numcols) { in opts_dump() 918 numrows = s_num / numcols; in opts_dump() 919 if (s_num % numcols) in opts_dump() 926 for (base = row, col = 0; col < numcols; ++col) { in opts_dump()
|
/freebsd/contrib/nvi/vi/ |
H A D | v_txt.c | 2131 size_t base, cnt, col, colwidth, numrows, numcols, prefix, row; in txt_fc_col() local 2197 numcols = (sp->cols - 1) / colwidth; in txt_fc_col() 2198 if (argc > numcols) { in txt_fc_col() 2199 numrows = argc / numcols; in txt_fc_col() 2200 if (argc % numcols) in txt_fc_col() 2207 for (base = row, col = 0; col < numcols; ++col) { in txt_fc_col()
|