Searched refs:t_rows (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/nvi/vi/ |
H A D | vs_split.c | 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() [all …]
|
H A D | v_z.c | 88 if (vs_sm_scroll(sp, &vp->m_final, sp->t_rows, Z_PLUS)) in v_z() 110 if (vs_sm_scroll(sp, &vp->m_final, sp->t_rows, Z_CARAT)) in v_z() 135 sp->t_minrows = sp->t_rows = count; in vs_crel() 136 if (sp->t_rows > sp->rows - 1) in vs_crel() 137 sp->t_minrows = sp->t_rows = sp->rows - 1; in vs_crel() 138 TMAP = HMAP + (sp->t_rows - 1); in vs_crel()
|
H A D | vs_smap.c | 88 for (p = HMAP, cnt = sp->t_rows; cnt--; ++p) in vs_change() 95 for (p = HMAP, cnt = sp->t_rows; cnt--; ++p) in vs_change() 179 for (p = HMAP, cnt = sp->t_rows; cnt--; ++p) in vs_sm_fill() 235 for (p = HMAP, cnt = sp->t_rows; --cnt; ++p) in vs_sm_fill() 241 middle: p = HMAP + sp->t_rows / 2; in vs_sm_fill() 252 p = HMAP + sp->t_rows / 2; in vs_sm_fill() 296 if (cnt >= sp->t_rows) { \ 632 sp->t_rows != sp->t_maxrows; --count, ++sp->t_rows) { in vs_sm_up() 852 sp->t_rows != sp->t_maxrows; --count, ++sp->t_rows) { in vs_sm_down() 966 for (; sp->t_rows > sp->t_minrows; --sp->t_rows, --TMAP) { in vs_sm_erase()
|
H A D | vs_refresh.c | 248 for (; lcnt && sp->t_rows != sp->t_maxrows; in vs_paint() 249 --lcnt, ++sp->t_rows) { in vs_paint() 259 for (; lcnt && sp->t_rows != sp->t_maxrows; in vs_paint() 260 --lcnt, ++sp->t_rows) { in vs_paint() 270 for (; sp->t_rows > sp->t_minrows; in vs_paint() 271 --sp->t_rows, --TMAP) { in vs_paint() 344 lcnt = vs_sm_nlines(sp, &tmp, lastline, sp->t_rows); in vs_paint() 675 for (cnt = sp->t_rows; cnt <= sp->t_maxrows; ++cnt) { in vs_paint()
|
H A D | vi.h | 340 ((sp)->t_rows == 1 ? 1 : (sp)->t_rows / 2)
|
H A D | vi.c | 955 sp->t_rows = sp->t_minrows = O_VAL(sp, O_WINDOW); in v_init() 957 if (sp->t_rows > sp->rows - 1) { in v_init() 958 sp->t_minrows = sp->t_rows = sp->rows - 1; in v_init() 961 (u_int)sp->t_rows); in v_init() 970 TMAP = HMAP + (sp->t_rows - 1); in v_init()
|
H A D | v_txt.c | 132 vip->sv_t_rows = sp->t_rows; in txt_map_init() 154 sp->t_rows = sp->t_minrows = ++sp->t_maxrows; in txt_map_init() 172 sp->t_rows = vip->sv_t_rows; in txt_map_end() 181 for (cnt = sp->t_rows; cnt <= sp->t_maxrows; ++cnt) { in txt_map_end() 185 TMAP = HMAP + (sp->t_rows - 1); in txt_map_end()
|
/freebsd/contrib/nvi/common/ |
H A D | screen.h | 53 size_t t_rows; /* 1-N: cur number of text rows. */ member
|