/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | V3.upd_old_y.c | 49 _update_old_y_area(WINDOW *win, int nlines, int ncols, argument 54 for (row = start_line; nlines > 0; nlines--, row++)
|
H A D | makenew.c | 52 _makenew(int nlines, int ncols, int begy, int begx) argument 60 nlines, ncols, begy, begx); 65 if ((win->_y = (chtype **) malloc(nlines * sizeof (chtype *))) == NULL) 69 calloc(1, nlines * sizeof (_ochtype *))) == NULL)) { 73 if ((win->_firstch = (short *) malloc(2 * nlines * sizeof (short))) 90 win->_lastch = win->_firstch + nlines; 94 win->_maxy = (short) nlines; 102 (nlines >= (LINES + SP->Yabove)) && (ncols >= COLS)); 107 win->_bmarg = nlines - 1; 113 (void) memset((char *) win->_firstch, 0, (nlines * sizeo [all...] |
H A D | dupwin.c | 61 int i, ncolumns = win->_maxx, nlines = win->_maxy; local 62 size_t line_size = nlines * sizeof (short); 79 win->_lastch = win->_firstch + nlines; 81 if ((new->_y = (chtype **) malloc(nlines * sizeof (chtype *))) == 107 for (i = 0; i < nlines; ++i, ++wincp, ++newcp) {
|
H A D | newwin.c | 51 newwin(int nlines, int ncols, int by, int bx) argument 56 if (nlines <= 0) 57 nlines = LINES - by; 61 if ((by < 0) || (bx < 0) || ((win = _makenew(nlines, ncols, by, 66 while (counter < nlines) { 86 int i, nlines = win->_maxy; local 96 for (i = 0; i < nlines; i++) {
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | newpad.c | 54 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 D | newwin.c | 70 int nlines, int ncols, int begy, int begx) 81 if (nlines == 0) { 82 nlines = lines; 84 nlines -= begy; 98 parent->_maxy < (begy-parent->_begy) + nlines || 107 if (nlines == 0) 108 nlines = parent->_maxy - (begy - parent->_begy); 116 if (lines < begy + nlines) { 131 w->_first = (short *) calloc((size_t) (nlines + nlines), 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...] |
H A D | setup.c | 519 int nlines = (int) strtol(env, (char **) 0, 10); local 520 if (0 < nlines) 521 lines = nlines;
|
H A D | doupdate.c | 128 static short nlines = 0; local 133 if (lines <= nlines) 162 nlines = lines;
|
/illumos-gate/usr/src/common/ficl/ficlplatform/ |
H A D | pager.c | 56 int nlines; local 68 nlines = 24; /* sensible default */ 71 nlines = strtol(cp, &lp, 0); 74 nlines = ws.ws_row; 76 p_maxlines = nlines - 1;
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | pager.c | 48 int nlines; local 51 nlines = 24; /* sensible default */ 53 nlines = strtol(cp, &lp, 0); 56 p_maxlines = nlines - 1;
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_unix.c | 375 int nlines = lineDOL(); local 435 netchHAD(nlines);
|
H A D | ex_vops.c | 235 int nlines, more; local 265 nlines = dol - zero; 266 while ((line *) endcore - truedol < nlines) 269 copyw(truedol+1, zero+1, nlines); 270 truedol += nlines; 294 truedol -= nlines; 295 copyw(zero+1, truedol+1, nlines);
|
H A D | ex_re.c | 77 int nlines = lineDOL(); local 211 netchHAD(nlines); 703 snote(int total, int nlines) argument 708 if (nlines != 1 && nlines != total) 724 total, nlines);
|
H A D | ex_cmdsub.c | 357 int nlines; local 360 nlines = (addr2 - addr1) + 1; 394 undap2 = undap1 + nlines; 1010 int c, nlines, op; local 1042 nlines = c - '0'; 1047 nlines *= 10; 1048 nlines += c - '0'; 1050 if (nlines < lines) 1052 value(vi_WINDOW) = nlines; 1054 nlines 1072 zop2(int nlines, int op) argument [all...] |
/illumos-gate/usr/src/cmd/banner/ |
H A D | banner.c | 39 #define nlines 7 /* number of lines in a banner character */ macro 47 char alpha[nlines][pposs]; 50 static char ctbl[nchars][nlines] = { 239 for (i = 0; i < nlines; i++) { 250 for (i = 0; i < nlines; i++) 259 for (i = 0; i < nlines; i++) {
|
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | setup.c | 494 int nlines = strtol(env, (char **) 0, 10); local 495 if (0 < nlines) 496 lines = nlines;
|
H A D | doupdate.c | 126 static short nlines = 0; local 131 if (lines <= nlines) 156 nlines = lines;
|
/illumos-gate/usr/src/lib/libcmd/common/ |
H A D | wclib.c | 102 static int invalid(const char *file, int nlines) argument 105 error_info.line = nlines; 109 return nlines; 169 register Sfoff_t nlines; local 183 nlines = nwords = nchars = nbytes = 0; 230 if (x == -1 && eline != nlines && !(wp->mode & WC_QUIET)) 231 eline = invalid(file, nlines); 240 nlines++; 264 nlines++; 272 nlines [all...] |
/illumos-gate/usr/src/cmd/mailx/ |
H A D | cmd1.c | 443 long nlines; local 458 nlines = 0; 459 for (ip = msgvec, nlines = 0; 461 nlines += message[*ip - 1].m_lines; 464 nlines > (*cp == '\0' ? screensize() - 2 : atoi(cp))) {
|
H A D | collect.c | 622 int nlines; local 632 nlines = 637 if (--nlines <= 0) 641 if (nlines <= 0) {
|
/illumos-gate/usr/src/cmd/fmthard/ |
H A D | fmthard.c | 607 int nlines = 0; local 623 mem = realloc(mem, sizeof (*mem) * (nlines + 1)); 628 mem[nlines] = strdup(line); 629 if (mem[nlines] == NULL) { 633 nlines++; 652 for (i = 0; i < nlines; i++) {
|
/illumos-gate/usr/src/cmd/abi/spectrans/parser/ |
H A D | frontend.c | 543 int nlines = 0; local 548 nlines++; 562 nlines++; 568 return (nlines);
|
/illumos-gate/usr/src/lib/libtecla/ |
H A D | libtecla.h | 913 int nlines; /* The number of lines in the history list */ member in struct:__anon4107
|
/illumos-gate/usr/src/cmd/latencytop/common/ |
H A D | display.c | 152 print_statistics(WINDOW * window, int begin_line, int nlines, void *list) argument 167 while (i < nlines && lt_stat_list_has_item(list, i)) {
|
/illumos-gate/usr/src/lib/libtecla/common/ |
H A D | history.c | 2100 * nlines int * The number of lines currently in the history 2104 unsigned long *newest, int *nlines) 2111 if(nlines) 2112 *nlines = glh->nline; 2103 _glh_range_of_history(GlHistory *glh, unsigned long *oldest, unsigned long *newest, int *nlines) argument
|