Searched defs:nlines (Results 1 - 25 of 33) sorted by relevance

12

/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;
H A Ddoupdate.c128 static short nlines = 0; local
133 if (lines <= nlines)
162 nlines = lines;
/illumos-gate/usr/src/lib/libcurses/screen/
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 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 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 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++) {
/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/cmd/vi/port/
H A Dex_unix.c375 int nlines = lineDOL(); local
435 netchHAD(nlines);
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_re.c77 int nlines = lineDOL(); local
211 netchHAD(nlines);
704 snote(int total, int nlines) argument
709 if (nlines != 1 && nlines != total)
725 total, nlines);
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...]
/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/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/lib/libxcurses/src/libc/xcurses/
H A Dsetup.c494 int nlines = strtol(env, (char **) 0, 10); local
495 if (0 < nlines)
496 lines = nlines;
H A Ddoupdate.c126 static short nlines = 0; local
131 if (lines <= nlines)
156 nlines = lines;
/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/abi/spectrans/parser/
H A Dfrontend.c543 int nlines = 0; local
548 nlines++;
562 nlines++;
568 return (nlines);
/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++) {
/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))) {
H A Dcollect.c622 int nlines; local
632 nlines =
637 if (--nlines <= 0)
641 if (nlines <= 0) {
/illumos-gate/usr/src/lib/libtecla/
H A Dlibtecla.h913 int nlines; /* The number of lines in the history list */ member in struct:__anon4354
/illumos-gate/usr/src/cmd/latencytop/common/
H A Ddisplay.c152 print_statistics(WINDOW * window, int begin_line, int nlines, void *list) argument
167 while (i < nlines && lt_stat_list_has_item(list, i)) {

Completed in 98 milliseconds

12