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

/osnet-11/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;
H A Ddoupdate.c127 static short nlines = 0; local
132 if (lines <= nlines)
157 nlines = lines;
/osnet-11/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;
H A Ddoupdate.c128 static short nlines = 0; local
133 if (lines <= nlines)
162 nlines = lines;
/osnet-11/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) {
H A Dllib-lcurses77 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);
/osnet-11/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...]
/osnet-11/usr/src/lib/libcmd/common/
H A Dwclib.c105 static int invalid(const char *file, int nlines) argument
108 error_info.line = nlines;
112 return nlines;
172 register Sfoff_t nlines; local
186 nlines = nwords = nchars = nbytes = 0;
233 if (x == -1 && eline != nlines && !(wp->mode & WC_QUIET))
234 eline = invalid(file, nlines);
243 nlines++;
267 nlines++;
275 nlines
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/Pod/
H A DParser.pm1059 my ($nlines, $plines) = (0, 0);
1067 $textline = $self->preprocess_line($textline, ++$nlines);
1092 " in paragraph at line $nlines in file $file\n";
1099 parse_paragraph($self, $paragraph, ($nlines - $plines) + 1);
1105 parse_paragraph($self, $paragraph, ($nlines - $plines) + 1)

Completed in 76 milliseconds