Lines Matching refs:lcnt
166 recno_t lastline, lcnt; in vs_paint() local
246 lcnt = vs_sm_nlines(sp, HMAP, LNO, sp->t_maxrows); in vs_paint()
247 if (lcnt <= HALFSCREEN(sp)) in vs_paint()
248 for (; lcnt && sp->t_rows != sp->t_maxrows; in vs_paint()
249 --lcnt, ++sp->t_rows) { in vs_paint()
257 lcnt = vs_sm_nlines(sp, TMAP, LNO, sp->t_maxrows); in vs_paint()
258 if (lcnt <= HALFSCREEN(sp)) in vs_paint()
259 for (; lcnt && sp->t_rows != sp->t_maxrows; in vs_paint()
260 --lcnt, ++sp->t_rows) { in vs_paint()
299 lcnt = vs_sm_nlines(sp, TMAP, LNO, HALFTEXT(sp)); in vs_paint()
300 if (lcnt < HALFTEXT(sp)) { in vs_paint()
301 while (lcnt--) in vs_paint()
320 lcnt = vs_sm_nlines(sp, HMAP, LNO, HALFTEXT(sp)); in vs_paint()
321 if (lcnt < HALFTEXT(sp)) { in vs_paint()
328 while (lcnt--) in vs_paint()
344 lcnt = vs_sm_nlines(sp, &tmp, lastline, sp->t_rows); in vs_paint()
345 if (lcnt < HALFTEXT(sp)) { in vs_paint()
363 lcnt = vs_sm_nlines(sp, &tmp, LNO, HALFTEXT(sp)); in vs_paint()
364 if (lcnt < HALFTEXT(sp)) { in vs_paint()