Lines Matching defs:nl
37 #undef nl /* don't need it here, and it interferes */
44 int i, by, bx, nl, nc;
49 nl = num_lines;
52 if (nl == 0)
53 nl = LINES - by;
56 if ((win = makenew(nl, nc, by, bx)) == NULL)
58 if ((win->_firstch = SMALLOC(nl * sizeof (win->_firstch[0]))) == NULL) {
63 if ((win->_lastch = SMALLOC(nl * sizeof (win->_lastch[0]))) == NULL) {
70 for (i = 0; i < nl; i++) {
74 for (i = 0; i < nl; i++)
98 int by, bx, nl, nc;
102 nl = num_lines;
109 fprintf(outf, "SUBWIN(%0.2o, %d, %d, %d, %d)\n", orig, nl, nc, by, bx);
112 by + nl > orig->_maxy + orig->_begy ||
115 if (nl == 0)
116 nl = orig->_maxy + orig->_begy - by;
119 if ((win = makenew(nl, nc, by, bx)) == NULL)
158 int by, bx, nl, nc;
162 nl = num_lines;
166 fprintf(outf, "MAKENEW(%d, %d, %d, %d)\n", nl, nc, by, bx);
171 fprintf(outf, "MAKENEW: nl = %d\n", nl);
173 if ((win->_y = (char **)malloc(nl * sizeof (win->_y[0]))) == NULL) {
182 win->_maxy = (short)nl;