Lines Matching refs:ncols
68 int nlines, int ncols, int begy, int begx) in __m_newwin() argument
84 if (ncols == 0) { in __m_newwin()
85 ncols = columns; in __m_newwin()
87 ncols -= begx; in __m_newwin()
97 parent->_maxx < (begx-parent->_begx) + ncols) in __m_newwin()
107 if (ncols == 0) in __m_newwin()
108 ncols = parent->_maxx - (begx - parent->_begx); in __m_newwin()
119 if (columns < begx + ncols) { in __m_newwin()
144 w->_base = (cchar_t *) malloc((size_t) (nlines * ncols) * in __m_newwin()
152 w->_line[y] = &w->_line[y-1][ncols]; in __m_newwin()
153 for (x = 0; x < ncols; ++x) { in __m_newwin()
177 w->_maxx = (short) ncols; in __m_newwin()
206 } else if (begx + ncols == columns) { 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()