Home
last modified time | relevance | path

Searched refs:numcols (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/ncurses/ncurses/base/
H A Dlib_slkset.c56 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/contrib/dialog/
H A Dcolumns.c98 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/usr.bin/column/
H A Dcolumn.c142 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/nvi/common/
H A Doptions.c821 int numcols, numrows, row; in opts_dump() local
834 for (numcols = 10; numcols > 1; --numcols) { in opts_dump()
835 colwidth = sp->cols / numcols & ~(STANDARD_TAB - 1); in opts_dump()
839 numcols = sp->cols / colwidth; in opts_dump()
915 if (s_num > numcols) { in opts_dump()
916 numrows = s_num / numcols; in opts_dump()
917 if (s_num % numcols) in opts_dump()
924 for (base = row, col = 0; col < numcols; ++col) { in opts_dump()
/freebsd/bin/ls/
H A Dprint.c306 int numcols; in printcol() local
347 numcols = termwidth / colwidth; in printcol()
348 numrows = num / numcols; in printcol()
349 if (num % numcols) in printcol()
362 for (col = 0, chcnt = 0; col < numcols; ++col) { in printcol()
373 if (f_sortacross && col + 1 >= numcols) in printcol()
/freebsd/contrib/nvi/vi/
H A Dv_txt.c2131 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()