Home
last modified time | relevance | path

Searched refs:nlines (Results 1 – 25 of 40) sorted by relevance

12

/titanic_51/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dnewwin.c62 __m_newwin(parent, nlines, ncols, begy, begx) in __m_newwin() argument
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)
253 derwin(parent,nlines,ncols,begy,begx) derwin() argument
279 newwin(nlines,ncols,begy,begx) newwin() argument
294 subwin(parent,nlines,ncols,begy,begx) subwin() argument
[all...]
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; variable
71 parent, nlines, ncols, begy, begx
75 w = subwin(parent, nlines, ncols, begy, begx);
H A Dsetup.c494 int nlines = strtol(env, (char **) 0, 10); local
495 if (0 < nlines)
496 lines = nlines;
/titanic_51/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dnewwin.c70 int nlines, int ncols, int begy, int begx) in __m_newwin() argument
81 if (nlines == 0) { in __m_newwin()
82 nlines = lines; in __m_newwin()
84 nlines -= begy; in __m_newwin()
98 parent->_maxy < (begy-parent->_begy) + nlines || in __m_newwin()
107 if (nlines == 0) in __m_newwin()
108 nlines = parent->_maxy - (begy - parent->_begy); in __m_newwin()
116 if (lines < begy + nlines) { in __m_newwin()
131 w->_first = (short *) calloc((size_t) (nlines + nlines), in __m_newwin()
267 derwin(WINDOW * parent,int nlines,int ncols,int begy,int begx) derwin() argument
284 newwin(int nlines,int ncols,int begy,int begx) newwin() argument
294 subwin(WINDOW * parent,int nlines,int ncols,int begy,int begx) subwin() argument
[all...]
H A Dnewpad.c54 newpad(int nlines, int ncols) in newpad() argument
58 w = __m_newwin((WINDOW *) 0, nlines, ncols, -1, -1); in newpad()
66 subpad(WINDOW *parent, int nlines, int ncols, int begy, int begx) in subpad() argument
70 w = subwin(parent, nlines, ncols, begy, begx); in subpad()
H A Dsetup.c519 int nlines = (int) strtol(env, (char **) 0, 10); in restartterm() local
520 if (0 < nlines) in restartterm()
521 lines = nlines; in restartterm()
/titanic_51/usr/src/lib/libcurses/screen/
H A Dmakenew.c52 _makenew(int nlines, int ncols, int begy, int begx) in _makenew() argument
60 nlines, ncols, begy, begx); in _makenew()
65 if ((win->_y = (chtype **) malloc(nlines * sizeof (chtype *))) == NULL) in _makenew()
69 calloc(1, nlines * sizeof (_ochtype *))) == NULL)) { in _makenew()
73 if ((win->_firstch = (short *) malloc(2 * nlines * sizeof (short))) in _makenew()
90 win->_lastch = win->_firstch + nlines; in _makenew()
94 win->_maxy = (short) nlines; in _makenew()
102 (nlines >= (LINES + SP->Yabove)) && (ncols >= COLS)); in _makenew()
107 win->_bmarg = nlines - 1; in _makenew()
113 (void) memset((char *) win->_firstch, 0, (nlines * sizeo in _makenew()
[all...]
H A Dnewwin.c51 newwin(int nlines, int ncols, int by, int bx) in newwin() argument
56 if (nlines <= 0) in newwin()
57 nlines = LINES - by; in newwin()
61 if ((by < 0) || (bx < 0) || ((win = _makenew(nlines, ncols, by, in newwin()
66 while (counter < nlines) { in newwin()
86 int i, nlines = win->_maxy; in _image() local
96 for (i = 0; i < nlines; i++) { in _image()
H A Ddupwin.c61 int i, ncolumns = win->_maxx, nlines = win->_maxy; in dupwin() local
62 size_t line_size = nlines * sizeof (short); in dupwin()
79 win->_lastch = win->_firstch + nlines; in dupwin()
81 if ((new->_y = (chtype **) malloc(nlines * sizeof (chtype *))) == in dupwin()
107 for (i = 0; i < nlines; ++i, ++wincp, ++newcp) { in dupwin()
H A DV3.upd_old_y.c49 _update_old_y_area(WINDOW *win, int nlines, int ncols, in _update_old_y_area() argument
54 for (row = start_line; nlines > 0; nlines--, row++) in _update_old_y_area()
/titanic_51/usr/src/contrib/ast/src/lib/libcmd/
H A Dwclib.c105 static int invalid(const char *file, int nlines) in invalid() argument
108 error_info.line = nlines; in invalid()
112 return nlines; in invalid()
172 register Sfoff_t nlines; in wc_count() local
186 nlines = nwords = nchars = nbytes = 0; in wc_count()
233 if (x == -1 && eline != nlines && !(wp->mode & WC_QUIET)) in wc_count()
234 eline = invalid(file, nlines); in wc_count()
243 nlines++; in wc_count()
267 nlines++; in wc_count()
275 nlines in wc_count()
[all...]
/titanic_51/usr/src/lib/libcmd/common/
H A Dwclib.c102 static int invalid(const char *file, int nlines) in invalid() argument
105 error_info.line = nlines; in invalid()
109 return nlines; in invalid()
169 register Sfoff_t nlines; in wc_count() local
183 nlines = nwords = nchars = nbytes = 0; in wc_count()
230 if (x == -1 && eline != nlines && !(wp->mode & WC_QUIET)) in wc_count()
231 eline = invalid(file, nlines); in wc_count()
240 nlines++; in wc_count()
264 nlines++; in wc_count()
272 nlines++; in wc_count()
[all …]
/titanic_51/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...]
/titanic_51/usr/src/cmd/more/
H A Dmore.c227 static int colon(char *filename, int cmd, off_t nlines);
968 register off_t nlines; in command() local
986 nlines = number (&comchar); in command()
991 nlines = lastarg; in command()
996 lastarg = nlines; in command()
1006 retval = colon (filename, colonch, nlines); in command()
1020 if (nlines == 0) nlines++; in command()
1027 printf (gettext("...back %lld page"), nlines); in command()
1028 if (nlines > in command()
1206 colon(char * filename,int cmd,off_t nlines) colon() argument
[all...]
/titanic_51/usr/src/common/ficl/ficlplatform/
H A Dpager.c56 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()
/titanic_51/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++) { in banfil()
250 for (i = 0; i < nlines; i++) in banset()
259 for (i = 0; i < nlines; i++) { in banprt()
/titanic_51/usr/src/boot/lib/libstand/
H A Dpager.c48 int nlines; in pager_open() local
51 nlines = 24; /* sensible default */ in pager_open()
53 nlines = strtol(cp, &lp, 0); in pager_open()
56 p_maxlines = nlines - 1; in pager_open()
/titanic_51/usr/src/cmd/vi/port/
H A Dex_cmdsub.c357 int nlines; in move1() local
360 nlines = (addr2 - addr1) + 1; in move1()
394 undap2 = undap1 + nlines; in move1()
1010 int c, nlines, op; in zop() local
1042 nlines = c - '0'; in zop()
1047 nlines *= 10; in zop()
1048 nlines += c - '0'; in zop()
1050 if (nlines < lines) in zop()
1052 value(vi_WINDOW) = nlines; in zop()
1054 nlines in zop()
1072 zop2(int nlines,int op) zop2() 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_re.c77 int nlines = lineDOL(); local
211 netchHAD(nlines);
703 snote(int total, int nlines) in snote() argument
708 if (nlines != 1 && nlines != total) in snote()
724 total, nlines); in snote()
/titanic_51/usr/src/cmd/abi/spectrans/parser/
H A Dfrontend.c543 int nlines = 0; in readline() local
548 nlines++; in readline()
562 nlines++; in readline()
568 return (nlines); in readline()
/titanic_51/usr/src/cmd/mailx/
H A Dcmd1.c443 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()
/titanic_51/usr/src/cmd/fmthard/
H A Dfmthard.c607 int nlines = 0; in load64() local
623 mem = realloc(mem, sizeof (*mem) * (nlines + 1)); in load64()
628 mem[nlines] = strdup(line); in load64()
629 if (mem[nlines] == NULL) { in load64()
633 nlines++; in load64()
652 for (i = 0; i < nlines; i++) { in load64()
/titanic_51/usr/src/tools/codereview/
H A Dlwlp.c674 int nlines = 0; in printbanner() local
687 nlines++; in printbanner()
694 nlines++; in printbanner()
702 nlines++; in printbanner()
725 nlines++; in printbanner()
736 nlines++; in printbanner()
739 return (nlines); in printbanner()
/titanic_51/usr/src/lib/libbe/common/
H A Dbe_utils.c928 int nlines = 0; in be_remove_menu() local
1048 sizeof (char *)*(nlines + 1))) == NULL) { in be_remove_menu()
1052 if ((buffer[nlines++] = strdup(menu_buf)) in be_remove_menu()
1083 for (i = 0; i < nlines; i++) { in be_remove_menu()
1089 nlines = 0; in be_remove_menu()
1102 sizeof (char *)*(nlines + 1))) == NULL) { in be_remove_menu()
1106 if ((buffer[nlines++] = strdup(menu_buf)) == NULL) { in be_remove_menu()
1126 for (i = 0; i < nlines; i++) { in be_remove_menu()
1132 nlines = 0; in be_remove_menu()
1158 for (i = 0; i < nlines; in be_remove_menu()
[all...]

12