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

12

/illumos-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
78 if (nlines == 0) {
79 nlines = lines;
81 nlines -= begy;
94 || parent->_maxy < (begy-parent->_begy) + nlines
102 if (nlines == 0)
103 nlines = parent->_maxy - (begy - parent->_begy);
110 if (lines < begy + nlines)
[all...]
H A Dsetup.c494 int nlines = strtol(env, (char **) 0, 10); local
495 if (0 < nlines)
496 lines = nlines;
/illumos-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)
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 Dsetup.c519 int nlines = (int) strtol(env, (char **) 0, 10); local
520 if (0 < nlines)
521 lines = nlines;
/illumos-gate/usr/src/lib/libcurses/screen/
H A DV3.upd_old_y.c49 _update_old_y_area(WINDOW *win, int nlines, int ncols, argument
54 for (row = start_line; nlines > 0; nlines--, row++)
H A Dmakenew.c52 _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 Dnewwin.c51 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++) {
H A Ddupwin.c61 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) {
/illumos-gate/usr/src/test/util-tests/tests/awk/gnu/
H A Dgetnr2tm.awk52 #1 lines in 1 sec: 1 lines/sec; nlines=1 chipmunk:/ram0# awkerr1 a1 �
53 #lines in 1 sec: 1 lines/sec; nlines=1 #?! first char is an uppercase
66 process($1); nlines++;
69 if(w)process(w); t=1; print NR " lines in " t " sec: " NR+0 " lines/sec; nlines=" nlines;
/illumos-gate/usr/src/boot/lib/libstand/
H A Dpager.c49 int nlines; local
52 nlines = 24; /* sensible default */
54 nlines = strtol(cp, &lp, 0);
57 p_maxlines = nlines - 1;
/illumos-gate/usr/src/common/ficl/ficlplatform/
H A Dpager.c56 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/lib/libcmd/common/
H A Dwclib.c102 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/banner/
H A Dbanner.c39 #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/cmd/pg/
H A Dpg.c503 off_t nlines; local
535 nlines = number();
562 if (nlines == 0)
563 nlines = (off_t)window;
565 if (nlines > 1)
566 window = (int)nlines;
626 if (nlines == 0)
627 nlines++;
628 nlines = nlines * (windo
[all...]
/illumos-gate/usr/src/cmd/more/
H A Dmore.c227 static int colon(char *filename, int cmd, off_t nlines);
968 register off_t nlines; local
986 nlines = number (&comchar);
991 nlines = lastarg;
996 lastarg = nlines;
1006 retval = colon (filename, colonch, nlines);
1020 if (nlines == 0) nlines++;
1027 printf (gettext("...back %lld page"), nlines);
1028 if (nlines >
1206 colon(char *filename, int cmd, off_t nlines) argument
[all...]
/illumos-gate/usr/src/cmd/mandoc/
H A Dtag.c40 size_t nlines; member in struct:tag_entry
168 entry->maxlines = entry->nlines = 0;
194 entry->nlines = 0;
199 if (entry->maxlines == entry->nlines) {
204 entry->lines[entry->nlines++] = line;
231 for (i = 0; i < entry->nlines; i++)
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_cmdsub.c358 int nlines; local
361 nlines = (addr2 - addr1) + 1;
395 undap2 = undap1 + nlines;
1011 int c, nlines, op; local
1045 nlines = c - '0';
1050 nlines *= 10;
1051 nlines += c - '0';
1053 if (nlines < lines)
1055 value(vi_WINDOW) = nlines;
1057 nlines
1075 zop2(int nlines, int op) argument
[all...]
H A Dex_vops.c235 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 Dex_unix.c375 int nlines = lineDOL(); local
435 netchHAD(nlines);
/illumos-gate/usr/src/lib/libtecla/common/
H A Dhistory.h153 unsigned long *newest, int *nlines);
/illumos-gate/usr/src/cmd/abi/spectrans/parser/
H A Dfrontend.c543 int nlines = 0; local
548 nlines++;
562 nlines++;
568 return (nlines);
/illumos-gate/usr/src/cmd/mailx/
H A Dcmd1.c443 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))) {
/illumos-gate/usr/src/cmd/fmthard/
H A Dfmthard.c610 int nlines = 0; local
626 mem = realloc(mem, sizeof (*mem) * (nlines + 1));
631 mem[nlines] = strdup(line);
632 if (mem[nlines] == NULL) {
636 nlines++;
655 for (i = 0; i < nlines; i++) {

Completed in 251 milliseconds

12