/titanic_44/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | newwin.c | 62 __m_newwin(parent, nlines, ncols, begy, begx) in __m_newwin() argument 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 …]
|
H A D | newpad.c | 47 (newpad)(nlines, ncols) 48 int nlines, ncols; variable 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; variable 71 parent, nlines, ncols, begy, begx 75 w = subwin(parent, nlines, ncols, begy, begx);
|
/titanic_44/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | newwin.c | 70 int nlines, int ncols, int begy, int begx) in __m_newwin() argument 86 if (ncols == 0) { in __m_newwin() 87 ncols = columns; in __m_newwin() 89 ncols -= begx; in __m_newwin() 99 parent->_maxx < (begx-parent->_begx) + ncols) in __m_newwin() 109 if (ncols == 0) in __m_newwin() 110 ncols = parent->_maxx - (begx - parent->_begx); in __m_newwin() 121 if (columns < begx + ncols) { in __m_newwin() 146 w->_base = (cchar_t *) malloc((size_t) (nlines * ncols) * in __m_newwin() 154 w->_line[y] = &w->_line[y-1][ncols]; in __m_newwin() [all …]
|
H A D | newpad.c | 54 newpad(int nlines, int ncols) in newpad() argument 58 w = __m_newwin((WINDOW *) 0, nlines, ncols, -1, -1); in newpad() 66 subpad(WINDOW *parent, int nlines, int ncols, int begy, int begx) in subpad() argument 70 w = subwin(parent, nlines, ncols, begy, begx); in subpad()
|
/titanic_44/usr/src/lib/libcurses/screen/ |
H A D | winchnstr.c | 54 winchnstr(WINDOW *win, chtype *string, int ncols) in winchnstr() argument 62 if (ncols < 0) in winchnstr() 63 ncols = MAXINT; in winchnstr() 70 while ((counter < ncols) && maxcols > 0) { in winchnstr() 74 if (counter + eucw > ncols) in winchnstr() 89 if (counter < ncols) in winchnstr()
|
H A D | winnstr.c | 53 winnstr(WINDOW *win, char *str, int ncols) in winnstr() argument 66 if (ncols < -1) in winnstr() 67 ncols = MAXINT; in winnstr() 69 while (counter < ncols) { in winnstr() 72 if (counter + eucw > ncols) in winnstr() 96 if (counter < ncols) in winnstr()
|
H A D | waddchnstr.c | 52 waddchnstr(WINDOW *win, chtype *string, int ncols) in waddchnstr() argument 61 if (ncols < 0) { in waddchnstr() 76 while ((*string) && (remcols > 0) && (ncols > 0)) { in waddchnstr() 79 if ((remcols < sw) || (ncols < ew)) in waddchnstr() 86 ncols -= ew; in waddchnstr()
|
H A D | winnwstr.c | 44 winnwstr(WINDOW *win, wchar_t *wstr, int ncols) in winnwstr() argument 58 if (ncols < -1) in winnwstr() 59 ncols = MAXINT; in winnwstr() 61 while (counter < ncols) { in winnwstr() 91 if (counter < ncols) in winnwstr()
|
H A D | winwchnstr.c | 45 winwchnstr(WINDOW *win, chtype *string, int ncols) in winwchnstr() argument 56 if (ncols < 0) in winwchnstr() 57 ncols = MAXINT; in winwchnstr() 64 while ((counter < ncols) && maxcols > 0) { in winwchnstr() 85 if (counter < ncols) in winwchnstr()
|
H A D | newwin.c | 51 newwin(int nlines, int ncols, int by, int bx) in newwin() argument 58 if (ncols <= 0) in newwin() 59 ncols = COLS - bx; in newwin() 61 if ((by < 0) || (bx < 0) || ((win = _makenew(nlines, ncols, by, in newwin() 67 memSset(&win->_y[counter][0], (chtype) ' ', ncols); in newwin() 70 int i = ncols; in newwin()
|
H A D | makenew.c | 52 _makenew(int nlines, int ncols, int begy, int begx) in _makenew() argument 60 nlines, ncols, begy, begx); in _makenew() 96 win->_maxx = (short) ncols; in _makenew() 102 (nlines >= (LINES + SP->Yabove)) && (ncols >= COLS)); in _makenew() 118 ncols--; in _makenew() 121 *lastch++ = (short) ncols; in _makenew()
|
H A D | waddwchnstr.c | 44 waddwchnstr(WINDOW *win, chtype *string, int ncols) in waddwchnstr() argument 66 if (ncols == -1) in waddwchnstr() 67 ncols = MAXINT; in waddwchnstr() 70 while ((ncols > 0) && (*string) && (counter > 0)) { in waddwchnstr() 104 ncols--; in waddwchnstr()
|
H A D | V3.upd_old_y.c | 49 _update_old_y_area(WINDOW *win, int nlines, int ncols, in _update_old_y_area() argument 55 for (num_cols = ncols, col = start_col; num_cols > 0; in _update_old_y_area()
|
H A D | llib-lcurses | 77 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);
|
/titanic_44/usr/src/cmd/mandoc/ |
H A D | mdoc_term.c | 623 size_t width, offset, ncols, dcol; in termp_it_pre() local 659 ncols = bl->norm->Bl.ncols; in termp_it_pre() 662 dcol = ncols < 5 ? term_len(p, 4) : in termp_it_pre() 663 ncols == 5 ? term_len(p, 3) : term_len(p, 1); in termp_it_pre() 671 nn->prev && i < (int)ncols; in termp_it_pre() 682 if (i >= (int)ncols) in termp_it_pre()
|
H A D | mdoc.h | 312 size_t ncols; /* -column arg count */ member
|
H A D | mdoc_validate.c | 711 n->norm->Bl.ncols = in pre_bl() 1323 cols = (int)n->norm->Bl.ncols; in post_it() 1548 if (mdoc->last->norm->Bl.ncols && mdoc->last->nchild) { in post_bl_head() 1574 mdoc->last->norm->Bl.ncols = np->args->argv[j].sz; in post_bl_head()
|
/titanic_44/usr/src/cmd/vi/port/ |
H A D | ex_vis.h | 263 var unsigned char *ncols['z'-'a'+2]; /* Cursor positions of marks */ variable
|
H A D | ex_cmdsub.c | 773 extern unsigned char *ncols['z'-'a'+2]; 776 ncols['t'-'a'] = cursor; 901 extern unsigned char *ncols['z'-'a'+2]; 904 ncols['t'-'a'] = cursor;
|
H A D | ex_subr.c | 339 ncols['z'-'a'+1] = cursor; in markpr()
|
H A D | ex_voper.c | 744 wcursor = d == '`' ? ncols[c - 'a'] : 0; in operate()
|
/titanic_44/usr/src/uts/common/io/ |
H A D | tem_safe.c | 1531 int nrows, ncols, width, height; in tem_safe_pix_clear_prom_output() local 1540 ncols = (tems.ts_p_dimension.width + (width - 1))/ width; in tem_safe_pix_clear_prom_output() 1542 tem_safe_pix_cls_range(tem, 0, nrows, 0, 0, ncols, 0, in tem_safe_pix_clear_prom_output() 1554 int nrows, ncols, width, height; in tem_safe_pix_clear_entire_screen() local 1563 ncols = (tems.ts_p_dimension.width + (width - 1))/ width; in tem_safe_pix_clear_entire_screen() 1565 tem_safe_pix_cls_range(tem, 0, nrows, 0, 0, ncols, 0, in tem_safe_pix_clear_entire_screen() 2189 screen_pos_t col, int ncols, int offset_x, in tem_safe_pix_cls_range() argument 2216 for (j = 0; j < ncols; j++) { in tem_safe_pix_cls_range()
|
H A D | tem.c | 791 int ncols, width; in tem_prom_scroll_up() local 806 ncols = (tems.ts_p_dimension.width + (width - 1))/ width; in tem_prom_scroll_up() 809 0, ncols, 0, B_TRUE, credp, called_from); in tem_prom_scroll_up()
|
/titanic_44/usr/src/cmd/format/ |
H A D | io.c | 1728 int ncols; local 1759 ncols = 60 / width; 1764 (++col == ncols) ? 0 : width); 1765 if (col == ncols) {
|
/titanic_44/usr/src/cmd/ls/ |
H A D | ls.c | 1204 int col, ncols = 1; in pem() local 1209 ncols = num_cols / colwidth; in pem() 1213 if (ncols == 1 || mflg || xflg || !Cflg) { in pem() 1227 nrows = (lp - slp - 1) / ncols + 1; in pem() 1229 for (col = 0; col < ncols; col++) { in pem()
|