Searched refs:t_rows (Results 1 – 8 of 8) sorted by relevance
| /NextBSD/contrib/nvi/vi/ |
| HD | vs_split.c | 133 sp->t_rows -= new->rows; in vs_split() 136 if (sp->t_rows > sp->t_maxrows) in vs_split() 137 sp->t_rows = sp->t_maxrows; in vs_split() 142 new->t_minrows = new->t_rows = O_VAL(sp, O_WINDOW); in vs_split() 143 if (new->t_rows > new->t_maxrows) in vs_split() 144 new->t_rows = new->t_maxrows; in vs_split() 148 sp->t_minrows = sp->t_rows = IS_ONELINE(sp) ? 1 : sp->rows - 1; in vs_split() 156 new->t_minrows = new->t_rows = O_VAL(sp, O_WINDOW); in vs_split() 157 if (new->t_rows > new->rows - 1) in vs_split() 158 new->t_minrows = new->t_rows = in vs_split() [all …]
|
| HD | v_z.c | 92 if (vs_sm_scroll(sp, &vp->m_final, sp->t_rows, Z_PLUS)) in v_z() 114 if (vs_sm_scroll(sp, &vp->m_final, sp->t_rows, Z_CARAT)) in v_z() 139 sp->t_minrows = sp->t_rows = count; in vs_crel() 140 if (sp->t_rows > sp->rows - 1) in vs_crel() 141 sp->t_minrows = sp->t_rows = sp->rows - 1; in vs_crel() 142 TMAP = HMAP + (sp->t_rows - 1); in vs_crel()
|
| HD | vs_smap.c | 92 for (p = HMAP, cnt = sp->t_rows; cnt--; ++p) in vs_change() 99 for (p = HMAP, cnt = sp->t_rows; cnt--; ++p) in vs_change() 183 for (p = HMAP, cnt = sp->t_rows; cnt--; ++p) in vs_sm_fill() 239 for (p = HMAP, cnt = sp->t_rows; --cnt; ++p) in vs_sm_fill() 245 middle: p = HMAP + sp->t_rows / 2; in vs_sm_fill() 256 p = HMAP + sp->t_rows / 2; in vs_sm_fill() 300 if (cnt >= sp->t_rows) { \ 636 sp->t_rows != sp->t_maxrows; --count, ++sp->t_rows) { in vs_sm_up() 856 sp->t_rows != sp->t_maxrows; --count, ++sp->t_rows) { in vs_sm_down() 970 for (; sp->t_rows > sp->t_minrows; --sp->t_rows, --TMAP) { in vs_sm_erase()
|
| HD | vs_refresh.c | 251 for (; lcnt && sp->t_rows != sp->t_maxrows; in vs_paint() 252 --lcnt, ++sp->t_rows) { in vs_paint() 262 for (; lcnt && sp->t_rows != sp->t_maxrows; in vs_paint() 263 --lcnt, ++sp->t_rows) { in vs_paint() 273 for (; sp->t_rows > sp->t_minrows; in vs_paint() 274 --sp->t_rows, --TMAP) { in vs_paint() 346 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()
|
| HD | vi.h | 342 ((sp)->t_rows == 1 ? 1 : (sp)->t_rows / 2)
|
| HD | vi.c | 959 sp->t_rows = sp->t_minrows = O_VAL(sp, O_WINDOW); in v_init() 961 if (sp->t_rows > sp->rows - 1) { in v_init() 962 sp->t_minrows = sp->t_rows = sp->rows - 1; in v_init() 965 (u_int)sp->t_rows); in v_init() 974 TMAP = HMAP + (sp->t_rows - 1); in v_init()
|
| HD | v_txt.c | 136 vip->sv_t_rows = sp->t_rows; in txt_map_init() 158 sp->t_rows = sp->t_minrows = ++sp->t_maxrows; in txt_map_init() 176 sp->t_rows = vip->sv_t_rows; in txt_map_end() 185 for (cnt = sp->t_rows; cnt <= sp->t_maxrows; ++cnt) { in txt_map_end() 189 TMAP = HMAP + (sp->t_rows - 1); in txt_map_end()
|
| /NextBSD/contrib/nvi/common/ |
| HD | screen.h | 55 size_t t_rows; /* 1-N: cur number of text rows. */ member
|