Searched refs:ncols (Results 1 - 25 of 25) sorted by relevance

/opensolaris-onvv-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dnewpad.c47 (newpad)(nlines, ncols)
48 int nlines, ncols;
53 __m_trace("newpad(%d, %d)", nlines, ncols);
56 w = __m_newwin((WINDOW *) 0, nlines, ncols, -1, -1);
62 (subpad)(parent, nlines, ncols, begy, begx)
64 int nlines, ncols, begy, begx;
71 parent, nlines, ncols, begy, begx
75 w = subwin(parent, nlines, ncols, begy, begx);
H A Dnewwin.c62 __m_newwin(parent, nlines, ncols, begy, begx)
64 int nlines, ncols, begy, begx;
72 parent, nlines, ncols, begy, begx
83 if (ncols == 0) {
84 ncols = columns;
86 ncols -= begx;
95 || parent->_maxx < (begx-parent->_begx) + ncols)
104 if (ncols == 0)
105 ncols = parent->_maxx - (begx - parent->_begx);
114 if (columns < begx + ncols)
[all...]
/opensolaris-onvv-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...]
/opensolaris-onvv-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 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 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 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 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 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--;
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 Dllib-lcurses77 void _update_old_y_area(WINDOW *win, int nlines, int ncols, int start_line,
750 WINDOW *_makenew(int nlines, int ncols, int begy, int begx);
840 WINDOW *newwin(int nlines, int ncols, int by, int bx);
1102 int waddchnstr(WINDOW *win, chtype *string, int ncols);
1114 int waddwchnstr(WINDOW *win, chtype *string, int ncols);
1168 int winchnstr(WINDOW *win, chtype *string, int ncols);
1174 int winnstr(WINDOW *win, char *string, int ncols);
1177 int winnwstr(WINDOW *win, wchar_t *wstr, int ncols);
1201 int winwchnstr(WINDOW *win, chtype *string, int ncols);
/opensolaris-onvv-gate/usr/src/cmd/parted/
H A Dtable.c56 unsigned int ncols; member in struct:__anon1169
63 Table* table_new(int ncols) argument
65 assert ( ncols >= 0 );
69 t->ncols = ncols;
83 assert (t->ncols > 0);
87 for (c = 0; c < t->ncols; ++c)
113 assert(t->ncols > 0);
116 t->widths = xmalloc (t->ncols * sizeof(t->widths[0]));
118 for (c = 0; c < t->ncols;
177 table_render_row(Table* t, int rownum, int ncols, wchar_t** s) argument
[all...]
H A Dtable.h41 Table* table_new(int ncols);
/opensolaris-onvv-gate/usr/src/cmd/vi/port/
H A Dex_vis.h263 var unsigned char *ncols['z'-'a'+2]; /* Cursor positions of marks */ variable
H A Dex_cmdsub.c771 extern unsigned char *ncols['z'-'a'+2];
774 ncols['t'-'a'] = cursor;
899 extern unsigned char *ncols['z'-'a'+2];
902 ncols['t'-'a'] = cursor;
H A Dex_subr.c339 ncols['z'-'a'+1] = cursor;
H A Dex_vmain.c476 ncols[c - 'a'] = cursor;
/opensolaris-onvv-gate/usr/src/uts/common/io/
H A Dtem_safe.c1531 int nrows, ncols, width, height; local
1540 ncols = (tems.ts_p_dimension.width + (width - 1))/ width;
1542 tem_safe_pix_cls_range(tem, 0, nrows, 0, 0, ncols, 0,
1554 int nrows, ncols, width, height; local
1563 ncols = (tems.ts_p_dimension.width + (width - 1))/ width;
1565 tem_safe_pix_cls_range(tem, 0, nrows, 0, 0, ncols, 0,
2181 * ncols: the number of cols to clear
2189 screen_pos_t col, int ncols, int offset_x,
2216 for (j = 0; j < ncols; j++) {
2187 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
H A Dtem.c791 int ncols, width; local
806 ncols = (tems.ts_p_dimension.width + (width - 1))/ width;
809 0, ncols, 0, B_TRUE, credp, called_from);
/opensolaris-onvv-gate/usr/src/cmd/format/
H A Dio.c1727 int ncols; local
1758 ncols = 60 / width;
1763 (++col == ncols) ? 0 : width);
1764 if (col == ncols) {
/opensolaris-onvv-gate/usr/src/cmd/ls/
H A Dls.c1202 int col, ncols; local
1207 ncols = 1;
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++) {
/opensolaris-onvv-gate/usr/src/cmd/man/src/util/instant.src/
H A Dtables.c583 if (!TheTab.ncols) {

Completed in 112 milliseconds