Lines Matching refs:ncols

47 static WINDOW *__makenew(SCREEN *screen, int nlines, int ncols, int by,
49 static WINDOW *__subwin(WINDOW *orig, int nlines, int ncols, int by, int bx,
58 derwin(WINDOW *orig, int nlines, int ncols, int by, int bx) in derwin() argument
61 return __subwin(orig, nlines, ncols, orig->begy + by, orig->begx + bx, in derwin()
71 subpad(WINDOW *orig, int nlines, int ncols, int by, int bx) in subpad() argument
74 return __subwin(orig, nlines, ncols, orig->begy + by, orig->begx + bx, in subpad()
104 newwin(int nlines, int ncols, int by, int bx) in newwin() argument
107 return __newwin(_cursesi_screen, nlines, ncols, by, bx, FALSE, FALSE); in newwin()
115 newpad(int nlines, int ncols) in newpad() argument
118 if (nlines < 1 || ncols < 1) in newpad()
120 return __newwin(_cursesi_screen, nlines, ncols, 0, 0, TRUE, FALSE); in newpad()
124 __newwin(SCREEN *screen, int nlines, int ncols, int by, int bx, int ispad, in __newwin() argument
143 maxx = ncols > 0 ? ncols : COLS - bx + ncols; in __newwin()
160 win->reqx = ncols; in __newwin()
185 subwin(WINDOW *orig, int nlines, int ncols, int by, int bx) in subwin() argument
188 return __subwin(orig, nlines, ncols, by, bx, FALSE); in subwin()
192 __subwin(WINDOW *orig, int nlines, int ncols, int by, int bx, int ispad) in __subwin() argument
200 orig, nlines, ncols, by, bx, ispad); in __subwin()
207 maxx = ncols > 0 ? ncols : orig->maxx + orig->begx - bx + ncols; in __subwin()
218 win->reqx = ncols; in __subwin()
260 __makenew(SCREEN *screen, int nlines, int ncols, int by, int bx, int sub, in __makenew() argument
270 nlines, ncols, by, bx); in __makenew()
271 if (nlines <= 0 || ncols <= 0) in __makenew()
299 calloc(ncols * nlines, sizeof(__LDATA))) == NULL) { in __makenew()
331 lp->line = &win->wspace[i * ncols]; in __makenew()
339 lp->lastch = ncols; in __makenew()
341 lp->firstch = ncols; in __makenew()
346 __CTRACE(__CTRACE_WINDOW, "makenew: ncols = %d\n", ncols); in __makenew()
350 win->maxx = ncols; in __makenew()
352 win->reqx = ncols; in __makenew()