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

/illumos-gate/usr/src/lib/libcurses/screen/
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 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 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/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/cmd/vi/port/
H A Dex_vis.h263 var unsigned char *ncols['z'-'a'+2]; /* Cursor positions of marks */ variable
/illumos-gate/usr/src/cmd/format/
H A Dio.c1728 int ncols; local
1759 ncols = 60 / width;
1764 (++col == ncols) ? 0 : width);
1765 if (col == ncols) {
/illumos-gate/usr/src/uts/common/io/
H A Dtem.c789 int ncols, width; local
804 ncols = (tems.ts_p_dimension.width + (width - 1))/ width;
807 0, ncols, 0, B_TRUE, credp, called_from);
H A Dtem_safe.c1581 int nrows, ncols, width, height; local
1590 ncols = (tems.ts_p_dimension.width + (width - 1))/ width;
1592 tem_safe_pix_cls_range(tem, 0, nrows, 0, 0, ncols, 0,
1604 int nrows, ncols, width, height; local
1613 ncols = (tems.ts_p_dimension.width + (width - 1))/ width;
1615 tem_safe_pix_cls_range(tem, 0, nrows, 0, 0, ncols, 0,
2235 * ncols: the number of cols to clear
2243 screen_pos_t col, int ncols, int offset_x,
2270 for (j = 0; j < ncols; j++) {
2241 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_term.c610 size_t ncols, dcol; local
674 ncols = bl->norm->Bl.ncols;
675 dcol = ncols < 5 ? term_len(p, 4) :
676 ncols == 5 ? term_len(p, 3) : term_len(p, 1);
684 nn->prev && i < (int)ncols;
695 if (i >= (int)ncols)
H A Dmdoc.h246 size_t ncols; /* -column arg count */ member in struct:mdoc_bl
/illumos-gate/usr/src/cmd/ls/
H A Dls.c1214 int col, ncols = 1; local
1219 ncols = num_cols / colwidth;
1223 if (ncols == 1 || mflg || xflg || !Cflg) {
1237 nrows = (lp - slp - 1) / ncols + 1;
1239 for (col = 0; col < ncols; col++) {

Completed in 149 milliseconds