Searched refs:nlines (Results 1 - 25 of 41) 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/boot/lib/libstand/
H A Dpager.c48 int nlines; local
51 nlines = 24; /* sensible default */
53 nlines = strtol(cp, &lp, 0);
56 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/lvm/libmeta/common/
H A Dmeta_tab.c54 for (line = 0; (line < tabp->nlines); ++line) {
108 size_t nlines
112 nlines = roundup(nlines, TAB_LINE_ALLOC);
113 if (nlines < tabp->alloc)
119 tabp->lines = Malloc(nlines * sizeof (*tabp->lines));
123 Realloc(tabp->lines, (nlines * sizeof (*tabp->lines)));
128 ((nlines - tabp->alloc) * sizeof (*tabp->lines)));
131 tabp->alloc = nlines;
167 realloc_lines(tabp, (tabp->nlines
[all...]
/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/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/pg/
H A Dpg.c504 off_t nlines; local
536 nlines = number();
563 if (nlines == 0)
564 nlines = (off_t)window;
566 if (nlines > 1)
567 window = (int)nlines;
627 if (nlines == 0)
628 nlines++;
629 nlines = nlines * (windo
[all...]
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_cmdsub.c357 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...]
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.c607 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/tools/codereview/
H A Dlwlp.c674 int nlines = 0; local
687 nlines++;
694 nlines++;
702 nlines++;
725 nlines++;
736 nlines++;
739 return (nlines);

Completed in 118 milliseconds

12