Lines Matching defs:nlines
52 _makenew(int nlines, int ncols, int begy, int begx)
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 * sizeof (short)));
116 *elastch = lastch + nlines;