Lines Matching refs:t_rows
129 sp->t_rows -= new->rows; in vs_split()
132 if (sp->t_rows > sp->t_maxrows) in vs_split()
133 sp->t_rows = sp->t_maxrows; in vs_split()
138 new->t_minrows = new->t_rows = O_VAL(sp, O_WINDOW); in vs_split()
139 if (new->t_rows > new->t_maxrows) in vs_split()
140 new->t_rows = new->t_maxrows; in vs_split()
144 sp->t_minrows = sp->t_rows = IS_ONELINE(sp) ? 1 : sp->rows - 1; in vs_split()
152 new->t_minrows = new->t_rows = O_VAL(sp, O_WINDOW); in vs_split()
153 if (new->t_rows > new->rows - 1) in vs_split()
154 new->t_minrows = new->t_rows = in vs_split()
160 _HMAP(sp) : _HMAP(sp) + (sp->t_rows - 1); in vs_split()
162 _HMAP(new) : _HMAP(new) + (new->t_rows - 1); in vs_split()
251 new->t_rows = sp->t_rows; in vs_vsplit()
256 _TMAP(new) = _HMAP(new) + (new->t_rows - 1); in vs_vsplit()
398 tsp->t_rows = tsp->t_minrows = tsp->rows - 1; in vs_discard()
403 *(_HMAP(tsp) + (tsp->t_rows - 1)) = *_TMAP(tsp); in vs_discard()
404 _TMAP(tsp) = _HMAP(tsp) + (tsp->t_rows - 1); in vs_discard()
745 nsp->t_minrows = nsp->t_rows = O_VAL(nsp, O_WINDOW); in vs_swap()
746 if (nsp->t_rows > sp->t_maxrows) in vs_swap()
747 nsp->t_rows = nsp->t_maxrows; in vs_swap()
751 nsp->t_rows = nsp->t_maxrows = nsp->t_minrows = nsp->rows - 1; in vs_swap()
758 _TMAP(nsp) = _HMAP(nsp) + (nsp->t_rows - 1); in vs_swap()
886 g->t_rows += count; in vs_resize()
893 s->t_rows -= count; in vs_resize()