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

/osnet-11/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...]
/osnet-11/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...]
/osnet-11/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);
/osnet-11/usr/src/cmd/parted/
H A Dtable.c52 unsigned int ncols; member in struct:__anon76
59 Table* table_new(int ncols) argument
61 assert ( ncols >= 0 );
65 t->ncols = ncols;
79 assert (t->ncols > 0);
83 for (c = 0; c < t->ncols; ++c)
105 assert(t->ncols > 0);
108 t->widths = xmalloc (t->ncols * sizeof(t->widths[0]));
110 for (c = 0; c < t->ncols;
169 table_render_row(Table* t, int rownum, int ncols, wchar_t** s) argument
[all...]
H A Dtable.h41 Table* table_new(int ncols);

Completed in 294 milliseconds