Lines Matching refs:nlines
68 int nlines, int ncols, int begy, int begx) in __m_newwin() argument
79 if (nlines == 0) { in __m_newwin()
80 nlines = lines; in __m_newwin()
82 nlines -= begy; in __m_newwin()
96 parent->_maxy < (begy-parent->_begy) + nlines || in __m_newwin()
105 if (nlines == 0) in __m_newwin()
106 nlines = parent->_maxy - (begy - parent->_begy); in __m_newwin()
114 if (lines < begy + nlines) { in __m_newwin()
129 w->_first = (short *) calloc((size_t) (nlines + nlines), in __m_newwin()
134 w->_last = &w->_first[nlines]; in __m_newwin()
136 w->_line = (cchar_t **) calloc((size_t) nlines, sizeof (*w->_line)); in __m_newwin()
144 w->_base = (cchar_t *) malloc((size_t) (nlines * ncols) * in __m_newwin()
150 for (y = 0; y < nlines; y++) { in __m_newwin()
169 for (y = 0; y < nlines; ++y) in __m_newwin()
176 w->_maxy = (short) nlines; in __m_newwin()
182 w->_bottom = (short) nlines; in __m_newwin()
213 if (begy == 0 && nlines == lines) in __m_newwin()
218 if (begy + nlines == lines) in __m_newwin()
265 int nlines, int ncols, int begy, int begx) in derwin() argument
276 w = __m_newwin(parent, nlines, ncols, begy, begx); in derwin()
282 newwin(int nlines, int ncols, int begy, int begx) in newwin() argument
286 w = __m_newwin(NULL, nlines, ncols, begy, begx); in newwin()
292 subwin(WINDOW *parent, int nlines, int ncols, int begy, int begx) in subwin() argument
299 w = __m_newwin(parent, nlines, ncols, begy, begx); in subwin()