/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | newwin.c | 62 int nlines, ncols, begy, begx; 76 if (nlines == 0) { 77 nlines = lines; 79 nlines -= begy; 100 if (nlines == 0) 108 if (lines < begy + nlines) 121 (size_t) (nlines + nlines), sizeof *w->_first 152 } while (++y < nlines-1); 171 w->_maxy = (short) nlines; 177 w->_bottom = (short) nlines; [all …]
|
H A D | newpad.c | 45 (newpad)(nlines, ncols) 46 int nlines, ncols; 51 __m_trace("newpad(%d, %d)", nlines, ncols); 54 w = __m_newwin((WINDOW *) 0, nlines, ncols, -1, -1); 60 (subpad)(parent, nlines, ncols, begy, begx) 62 int nlines, ncols, begy, begx; variable 69 parent, nlines, ncols, begy, begx 73 w = subwin(parent, nlines, ncols, begy, begx);
|
H A D | setup.c | 492 int nlines = strtol(env, (char **) 0, 10); local 493 if (0 < nlines) 494 lines = nlines;
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | newwin.c | 79 if (nlines == 0) { in __m_newwin() 80 nlines = lines; in __m_newwin() 82 nlines -= begy; in __m_newwin() 105 if (nlines == 0) in __m_newwin() 114 if (lines < begy + nlines) { in __m_newwin() 129 w->_first = (short *) calloc((size_t) (nlines + nlines), in __m_newwin() 134 w->_last = &w->_first[nlines]; in __m_newwin() 169 for (y = 0; y < nlines; ++y) in __m_newwin() 176 w->_maxy = (short) nlines; in __m_newwin() 182 w->_bottom = (short) nlines; in __m_newwin() [all …]
|
H A D | newpad.c | 53 newpad(int nlines, int ncols) in newpad() argument 57 w = __m_newwin((WINDOW *) 0, nlines, ncols, -1, -1); in newpad() 65 subpad(WINDOW *parent, int nlines, int ncols, int begy, int begx) in subpad() argument 69 w = subwin(parent, nlines, ncols, begy, begx); in subpad()
|
H A D | setup.c | 517 int nlines = (int) strtol(env, (char **) 0, 10); in restartterm() local 518 if (0 < nlines) in restartterm() 519 lines = nlines; in restartterm()
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | makenew.c | 50 _makenew(int nlines, int ncols, int begy, int begx) in _makenew() argument 58 nlines, ncols, begy, begx); in _makenew() 63 if ((win->_y = (chtype **) malloc(nlines * sizeof (chtype *))) == NULL) in _makenew() 67 calloc(1, nlines * sizeof (_ochtype *))) == NULL)) { in _makenew() 71 if ((win->_firstch = (short *) malloc(2 * nlines * sizeof (short))) in _makenew() 88 win->_lastch = win->_firstch + nlines; in _makenew() 92 win->_maxy = (short) nlines; in _makenew() 100 (nlines >= (LINES + SP->Yabove)) && (ncols >= COLS)); in _makenew() 105 win->_bmarg = nlines - 1; in _makenew() 111 (void) memset((char *) win->_firstch, 0, (nlines * sizeof (short))); in _makenew() [all …]
|
H A D | newwin.c | 49 newwin(int nlines, int ncols, int by, int bx) in newwin() argument 54 if (nlines <= 0) in newwin() 55 nlines = LINES - by; in newwin() 59 if ((by < 0) || (bx < 0) || ((win = _makenew(nlines, ncols, by, in newwin() 64 while (counter < nlines) { in newwin() 84 int i, nlines = win->_maxy; in _image() local 94 for (i = 0; i < nlines; i++) { in _image()
|
H A D | dupwin.c | 59 int i, ncolumns = win->_maxx, nlines = win->_maxy; in dupwin() local 60 size_t line_size = nlines * sizeof (short); in dupwin() 77 win->_lastch = win->_firstch + nlines; in dupwin() 79 if ((new->_y = (chtype **) malloc(nlines * sizeof (chtype *))) == in dupwin() 105 for (i = 0; i < nlines; ++i, ++wincp, ++newcp) { in dupwin()
|
H A D | V3.upd_old_y.c | 47 _update_old_y_area(WINDOW *win, int nlines, int ncols, in _update_old_y_area() argument 52 for (row = start_line; nlines > 0; nlines--, row++) in _update_old_y_area()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | wclib.c | 112 return nlines; in invalid() 243 nlines++; in wc_count() 267 nlines++; in wc_count() 275 nlines++; in wc_count() 288 nlines++; in wc_count() 311 nlines++; in wc_count() 332 nlines++; in wc_count() 362 nlines++; in wc_count() 399 nlines++; in wc_count() 510 nlines++; in wc_count() [all …]
|
/illumos-gate/usr/src/cmd/pg/ |
H A D | pg.c | 503 off_t nlines; in command() local 565 if (nlines > 1) in command() 627 nlines++; in command() 628 nlines = nlines * (window - 1); in command() 640 nlines++; in command() 664 nlines++; in command() 668 nlines = (nlines - 1) * (window - 1); in command() 704 nlines++; in command() 716 nlines++; in command() 740 nlines++; in command() [all …]
|
/illumos-gate/usr/src/cmd/more/ |
H A D | more.c | 996 lastarg = nlines; in command() 1020 if (nlines == 0) nlines++; in command() 1028 if (nlines > 1) in command() 1053 if (nlines == 0) nlines = dlines; in command() 1055 ret (nlines); in command() 1058 if (nlines != 0) nscroll = nlines; in command() 1066 if (nlines == 0) nlines++; in command() 1092 nlines--; in command() 1096 if (nlines != 0) in command() 1100 ret (nlines); in command() [all …]
|
/illumos-gate/usr/src/common/ficl/ficlplatform/ |
H A D | pager.c | 56 int nlines; in pager_open() local 68 nlines = 24; /* sensible default */ in pager_open() 71 nlines = strtol(cp, &lp, 0); in pager_open() 74 nlines = ws.ws_row; in pager_open() 76 p_maxlines = nlines - 1; in pager_open()
|
/illumos-gate/usr/src/cmd/banner/ |
H A D | banner.c | 37 #define nlines 7 /* number of lines in a banner character */ macro 45 char alpha[nlines][pposs]; 48 static char ctbl[nchars][nlines] = { 237 for (i = 0; i < nlines; i++) { in banfil() 248 for (i = 0; i < nlines; i++) in banset() 257 for (i = 0; i < nlines; i++) { in banprt()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | pager.c | 49 int nlines; in pager_open() local 52 nlines = 24; /* sensible default */ in pager_open() 54 nlines = strtol(cp, &lp, 0); in pager_open() 57 p_maxlines = nlines - 1; in pager_open()
|
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_cmdsub.c | 358 int nlines; in move1() local 1011 int c, nlines, op; in zop() local 1045 nlines = c - '0'; in zop() 1050 nlines *= 10; in zop() 1057 nlines += 2; in zop() 1071 zop2(nlines, op); in zop() 1103 nlines--; in zop2() 1104 nlines >>= 1; in zop2() 1106 nlines--; in zop2() 1110 addr2 += nlines; in zop2() [all …]
|
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); 704 snote(int total, int nlines) in snote() argument 709 if (nlines != 1 && nlines != total) in snote() 725 total, nlines); in snote()
|
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/ |
H A D | getnr2tm.awk | 66 process($1); nlines++; 69 if(w)process(w); t=1; print NR " lines in " t " sec: " NR+0 " lines/sec; nlines=" nlines;
|
H A D | getnr2tm.ok | 1 1 lines in 1 sec: 1 lines/sec; nlines=1
|
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/pragma/ |
H A D | tst.temporal.ksh | 74 nlines=$(wc -l $file | awk '{ print $1 - 1}') 75 head -n $nlines $file > $file.2
|
/illumos-gate/usr/src/cmd/mailx/ |
H A D | cmd1.c | 443 long nlines; in type1() local 458 nlines = 0; in type1() 459 for (ip = msgvec, nlines = 0; in type1() 461 nlines += message[*ip - 1].m_lines; in type1() 464 nlines > (*cp == '\0' ? screensize() - 2 : atoi(cp))) { in type1()
|
/illumos-gate/usr/src/cmd/abi/spectrans/parser/ |
H A D | frontend.c | 541 int nlines = 0; in readline() local 546 nlines++; in readline() 560 nlines++; in readline() 566 return (nlines); in readline()
|
/illumos-gate/usr/src/cmd/fmthard/ |
H A D | fmthard.c | 610 int nlines = 0; in load64() local 626 mem = realloc(mem, sizeof (*mem) * (nlines + 1)); in load64() 631 mem[nlines] = strdup(line); in load64() 632 if (mem[nlines] == NULL) { in load64() 636 nlines++; in load64() 655 for (i = 0; i < nlines; i++) { in load64()
|