Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/ncurses/ncurses/base/
Dlib_slkset.c55 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 …]
/freebsd-12-stable/usr.bin/column/
Dcolumn.c157 int chcnt, col, cnt, endcol, numcols; in c_columnate() local
160 numcols = termwidth / maxlength; in c_columnate()
167 if (++col == numcols) { in c_columnate()
186 int base, chcnt, cnt, col, endcol, numcols, numrows, row; in r_columnate() local
188 numcols = termwidth / maxlength; in r_columnate()
189 numrows = entries / numcols; in r_columnate()
190 if (entries % numcols) in r_columnate()
195 for (base = row, chcnt = col = 0; col < numcols; ++col) { in r_columnate()
/freebsd-12-stable/contrib/dialog/
Dcolumns.c100 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()
/freebsd-12-stable/contrib/nvi/common/
Doptions.c819 int numcols, numrows, row; in opts_dump() local
832 for (numcols = 10; numcols > 1; --numcols) { in opts_dump()
833 colwidth = sp->cols / numcols & ~(STANDARD_TAB - 1); in opts_dump()
837 numcols = sp->cols / colwidth; in opts_dump()
913 if (s_num > numcols) { in opts_dump()
914 numrows = s_num / numcols; in opts_dump()
915 if (s_num % numcols) in opts_dump()
922 for (base = row, col = 0; col < numcols; ++col) { in opts_dump()
/freebsd-12-stable/bin/ls/
Dprint.c311 int numcols; in printcol() local
352 numcols = termwidth / colwidth; in printcol()
353 numrows = num / numcols; in printcol()
354 if (num % numcols) in printcol()
367 for (col = 0, chcnt = 0; col < numcols; ++col) { in printcol()
378 if (f_sortacross && col + 1 >= numcols) in printcol()
/freebsd-12-stable/contrib/nvi/vi/
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()