Searched defs:ncols (Results 1 - 21 of 21) sorted by relevance

/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dnewpad.c54 newpad(int nlines, int ncols) argument
58 w = __m_newwin((WINDOW *) 0, nlines, ncols, -1, -1);
66 subpad(WINDOW *parent, int nlines, int ncols, int begy, int begx) argument
70 w = subwin(parent, nlines, ncols, begy, begx);
H A Dnewwin.c70 int nlines, int ncols, int begy, int begx)
86 if (ncols == 0) {
87 ncols = columns;
89 ncols -= begx;
99 parent->_maxx < (begx-parent->_begx) + ncols)
109 if (ncols == 0)
110 ncols = parent->_maxx - (begx - parent->_begx);
121 if (columns < begx + ncols) {
146 w->_base = (cchar_t *) malloc((size_t) (nlines * ncols) *
154 w->_line[y] = &w->_line[y-1][ncols];
69 __m_newwin(WINDOW *parent, int nlines, int ncols, int begy, int begx) argument
266 derwin(WINDOW *parent, int nlines, int ncols, int begy, int begx) argument
284 newwin(int nlines, int ncols, int begy, int begx) argument
294 subwin(WINDOW *parent, int nlines, int ncols, int begy, int begx) argument
[all...]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dmakenew.c52 _makenew(int nlines, int ncols, int begy, int begx) argument
60 nlines, ncols, begy, begx);
96 win->_maxx = (short) ncols;
102 (nlines >= (LINES + SP->Yabove)) && (ncols >= COLS));
118 ncols--;
121 *lastch++ = (short) ncols;
H A Dwaddchnstr.c48 * Add ncols worth of data to win, using string as input.
52 waddchnstr(WINDOW *win, chtype *string, int ncols) argument
61 if (ncols < 0) {
76 while ((*string) && (remcols > 0) && (ncols > 0)) {
79 if ((remcols < sw) || (ncols < ew))
86 ncols -= ew;
H A DV3.upd_old_y.c49 _update_old_y_area(WINDOW *win, int nlines, int ncols, argument
55 for (num_cols = ncols, col = start_col; num_cols > 0;
H A Dnewwin.c51 newwin(int nlines, int ncols, int by, int bx) argument
58 if (ncols <= 0)
59 ncols = COLS - bx;
61 if ((by < 0) || (bx < 0) || ((win = _makenew(nlines, ncols, by,
67 memSset(&win->_y[counter][0], (chtype) ' ', ncols);
70 int i = ncols;
H A Dwinchnstr.c48 * Read in ncols worth of data from window win and assign the
54 winchnstr(WINDOW *win, chtype *string, int ncols) argument
62 if (ncols < 0)
63 ncols = MAXINT;
70 while ((counter < ncols) && maxcols > 0) {
74 if (counter + eucw > ncols)
89 if (counter < ncols)
H A Dwinnstr.c53 winnstr(WINDOW *win, char *str, int ncols) argument
66 if (ncols < -1)
67 ncols = MAXINT;
69 while (counter < ncols) {
72 if (counter + eucw > ncols)
96 if (counter < ncols)
H A Dwinnwstr.c44 winnwstr(WINDOW *win, wchar_t *wstr, int ncols) argument
58 if (ncols < -1)
59 ncols = MAXINT;
61 while (counter < ncols) {
91 if (counter < ncols)
H A Dwinwchnstr.c39 * Read in ncols worth of data from window win and assign the
45 winwchnstr(WINDOW *win, chtype *string, int ncols) argument
56 if (ncols < 0)
57 ncols = MAXINT;
64 while ((counter < ncols) && maxcols > 0) {
85 if (counter < ncols)
H A Dwaddwchnstr.c39 * Add ncols worth of data to win, using string as input.
44 waddwchnstr(WINDOW *win, chtype *string, int ncols) argument
66 if (ncols == -1)
67 ncols = MAXINT;
70 while ((ncols > 0) && (*string) && (counter > 0)) {
104 ncols--;
/illumos-gate/usr/src/cmd/raidz_test/
H A Draidz_bench.c75 int fn, ncols; local
85 ncols = rto_opts.rto_dcols + fn + 1;
88 BENCH_ASHIFT, ncols, fn+1);
109 d_bw * (double)(ncols),
138 int fn, ncols, nbad; local
156 ncols = rto_opts.rto_dcols + PARITY_PQR;
168 BENCH_ASHIFT, ncols, PARITY_PQR);
193 d_bw * (double)ncols,
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_vis.h263 var unsigned char *ncols['z'-'a'+2]; /* Cursor positions of marks */ variable
/illumos-gate/usr/src/uts/common/io/
H A Dtem.c815 int ncols, width; local
830 ncols = (tems.ts_p_dimension.width + (width - 1))/ width;
833 0, ncols, 0, B_TRUE, credp, called_from);
H A Dtem_safe.c1823 int nrows, ncols, width, height, offset; local
1833 ncols = (tems.ts_p_dimension.width + (width - 1))/ width;
1836 tem_safe_pix_cls_range(tem, 0, nrows, offset, 0, ncols, 0,
1853 int nrows, ncols, width, height; local
1872 ncols = (tems.ts_p_dimension.width + (width - 1))/ width;
1874 tem_safe_pix_cls_range(tem, 0, nrows, tems.ts_p_offset.y, 0, ncols,
2415 * ncols: the number of cols to clear
2423 screen_pos_t col, int ncols, int offset_x,
2453 for (j = 0; j < ncols; j++) {
2421 tem_safe_pix_cls_range(struct tem_vt_state *tem, screen_pos_t row, int nrows, int offset_y, screen_pos_t col, int ncols, int offset_x, boolean_t sroll_up, cred_t *credp, enum called_from called_from) argument
/illumos-gate/usr/src/cmd/mandoc/
H A Dmdoc.h124 size_t ncols; /* -column arg count */ member in struct:mdoc_bl
H A Dmdoc_term.c639 size_t ncols, dcol; local
703 ncols = bl->norm->Bl.ncols;
704 dcol = ncols < 5 ? term_len(p, 4) :
705 ncols == 5 ? term_len(p, 3) : term_len(p, 1);
713 nn->prev && i < (int)ncols;
727 if (i >= (int)ncols)
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_raidz_math_impl.h47 const unsigned ncols = raidz_ncols(rm); local
50 coeff[MUL_Q_X] = gf_exp2(255 - (ncols - x - 1));
56 const unsigned ncols = raidz_ncols(rm); local
59 coeff[MUL_R_X] = gf_exp4(255 - (ncols - x - 1));
65 const unsigned ncols = raidz_ncols(rm); local
71 b = gf_exp2(255 - (ncols - x - 1));
81 const unsigned ncols = raidz_ncols(rm); local
88 b = gf_exp4(255 - (ncols - x - 1));
98 const unsigned ncols = raidz_ncols(rm); local
104 nx = gf_exp2(ncols
119 const unsigned ncols = raidz_ncols(rm); local
356 const size_t ncols = raidz_ncols(rm); local
423 const size_t ncols = raidz_ncols(rm); local
496 const size_t ncols = raidz_ncols(rm); local
590 const size_t ncols = raidz_ncols(rm); local
666 const size_t ncols = raidz_ncols(rm); local
757 const size_t ncols = raidz_ncols(rm); local
894 const size_t ncols = raidz_ncols(rm); local
1051 const size_t ncols = raidz_ncols(rm); local
1214 const size_t ncols = raidz_ncols(rm); local
1397 const size_t ncols = raidz_ncols(rm); local
[all...]
/illumos-gate/usr/src/cmd/format/
H A Dio.c1688 int ncols; local
1719 ncols = 60 / width;
1724 (++col == ncols) ? 0 : width);
1725 if (col == ncols) {
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dtem.c778 int ncols, width; local
793 ncols = (tems.ts_p_dimension.width + (width - 1)) / width;
796 0, ncols, 0, B_TRUE);
2377 int nrows, ncols, width, height, offset; local
2384 ncols = (tems.ts_p_dimension.width + (width - 1)) / width;
2387 tem_pix_cls_range(tem, 0, nrows, offset, 0, ncols, 0,
2858 * ncols: the number of cols to clear
2866 screen_pos_t col, int ncols, int offset_x,
2892 for (j = 0; j < ncols; j++) {
2864 tem_pix_cls_range(struct tem_vt_state *tem, screen_pos_t row, int nrows, int offset_y, screen_pos_t col, int ncols, int offset_x, boolean_t sroll_up) argument
/illumos-gate/usr/src/cmd/ls/
H A Dls.c1204 int col, ncols = 1; local
1209 ncols = num_cols / colwidth;
1213 if (ncols == 1 || mflg || xflg || !Cflg) {
1227 nrows = (lp - slp - 1) / ncols + 1;
1229 for (col = 0; col < ncols; col++) {

Completed in 106 milliseconds