Searched refs:t_maxrows (Results 1 - 9 of 9) sorted by relevance

/freebsd-11.0-release/contrib/nvi/vi/
H A Dvs_split.c112 (sp->t_maxrows - new->rows) * sizeof(SMAP));
120 sp->t_maxrows = IS_ONELINE(sp) ? 1 : sp->rows - 1;
121 new->t_maxrows = IS_ONELINE(new) ? 1 : new->rows - 1;
136 if (sp->t_rows > sp->t_maxrows)
137 sp->t_rows = sp->t_maxrows;
138 if (sp->t_minrows > sp->t_maxrows)
139 sp->t_minrows = sp->t_maxrows;
143 if (new->t_rows > new->t_maxrows)
144 new->t_rows = new->t_maxrows;
145 if (new->t_minrows > new->t_maxrows)
[all...]
H A Dvi.h279 size_t sv_t_maxrows; /* tcmd: saved t_maxrows. */
332 ((sp)->t_maxrows < (sp)->rows ? (sp)->t_maxrows : (sp)->rows - 1)
338 #define IS_SMALL(sp) ((sp)->t_minrows != (sp)->t_maxrows)
344 ((sp)->t_maxrows == 1 ? 1 : (sp)->t_maxrows / 2)
H A Dv_scroll.c350 MIN(sp->t_maxrows, O_VAL(sp, O_WINDOW)) : O_VAL(sp, O_WINDOW));
401 MIN(sp->t_maxrows, O_VAL(sp, O_WINDOW)) : O_VAL(sp, O_WINDOW));
H A Dvs_refresh.c249 lcnt = vs_sm_nlines(sp, HMAP, LNO, sp->t_maxrows);
251 for (; lcnt && sp->t_rows != sp->t_maxrows;
260 lcnt = vs_sm_nlines(sp, TMAP, LNO, sp->t_maxrows);
262 for (; lcnt && sp->t_rows != sp->t_maxrows;
675 for (cnt = sp->t_rows; cnt <= sp->t_maxrows; ++cnt) {
H A Dvs_smap.c619 if (count >= sp->t_maxrows || scmd == CNTRL_F) {
636 sp->t_rows != sp->t_maxrows; --count, ++sp->t_rows) {
838 if (count >= sp->t_maxrows || scmd == CNTRL_B) {
856 sp->t_rows != sp->t_maxrows; --count, ++sp->t_rows) {
H A Dvs_msg.c435 if (vip->totalcount == sp->t_maxrows &&
766 if (wtype == SCROLL_W_QUIT && vip->linecount < sp->t_maxrows)
H A Dvi.c954 * t_maxrows is the maximum rows to display (rows - 1)
967 sp->t_maxrows = sp->rows - 1;
969 sp->t_maxrows = 1;
H A Dv_txt.c134 vip->sv_t_maxrows = sp->t_maxrows;
144 HMAP + (sp->t_maxrows - 1); TMAP < esmp; ++TMAP) {
158 sp->t_rows = sp->t_minrows = ++sp->t_maxrows;
178 sp->t_maxrows = vip->sv_t_maxrows;
185 for (cnt = sp->t_rows; cnt <= sp->t_maxrows; ++cnt) {
/freebsd-11.0-release/contrib/nvi/common/
H A Dscreen.h56 size_t t_maxrows; /* 1-N: max number of text rows. */ member in struct:_scr

Completed in 138 milliseconds