Home
last modified time | relevance | path

Searched refs:TMAP (Results 1 – 10 of 10) sorted by relevance

/netbsd-src/external/bsd/nvi/dist/vi/
H A Dvs_smap.c84 if (lno > TMAP->lno) in vs_change()
222 TMAP->lno = tmp.lno; in vs_sm_fill()
223 TMAP->coff = tmp.coff; in vs_sm_fill()
224 TMAP->soff = tmp.soff; in vs_sm_fill()
263 for (; p < TMAP; ++p) in vs_sm_fill()
269 TMAP->lno = lno; in vs_sm_fill()
270 TMAP->coff = 0; in vs_sm_fill()
271 TMAP->soff = vs_screens(sp, lno, NULL); in vs_sm_fill()
274 bottom: for (p = TMAP; p > HMAP; --p) in vs_sm_fill()
292 for (p = HMAP; p < TMAP; ++p) in vs_sm_fill()
[all …]
H A Dvs_refresh.c236 ++TMAP; in vs_paint()
242 } else if (LNO > TMAP->lno) { in vs_paint()
243 lcnt = vs_sm_nlines(sp, TMAP, LNO, sp->t_maxrows); in vs_paint()
247 if (vs_sm_next(sp, TMAP, TMAP + 1)) in vs_paint()
249 ++TMAP; in vs_paint()
250 if (vs_line(sp, TMAP, NULL, NULL)) in vs_paint()
257 --sp->t_rows, --TMAP) { in vs_paint()
258 (void)gp->scr_move(sp, TMAP - HMAP, 0); in vs_paint()
274 if (LNO <= TMAP->lno) in vs_paint()
285 lcnt = vs_sm_nlines(sp, TMAP, LNO, HALFTEXT(sp)); in vs_paint()
[all …]
H A Dv_txt.c83 sp->lno = TMAP[0].lno; in v_tcmd()
138 vip->sv_tm_lno = TMAP->lno; in txt_map_init()
139 vip->sv_tm_soff = TMAP->soff; in txt_map_init()
140 vip->sv_tm_coff = TMAP->coff; in txt_map_init()
151 HMAP + (sp->t_maxrows - 1); TMAP < esmp; ++TMAP) { in txt_map_init()
152 TMAP[1].lno = TMAP[0].lno + 1; in txt_map_init()
153 TMAP[1].coff = HMAP->coff; in txt_map_init()
154 TMAP[1].soff = 1; in txt_map_init()
158 TMAP[1].lno = TMAP[0].lno + 1; in txt_map_init()
159 TMAP[1].soff = 1; in txt_map_init()
[all …]
H A Dv_event.c64 for (smp = HMAP; smp <= TMAP; ++smp) { in v_c_settop()
224 if (smp > TMAP) { in v_sel_end()
247 if (smp > TMAP) { in v_sel_start()
H A Dv_z.c148 TMAP = HMAP + (sp->t_rows - 1); in vs_crel()
H A Dvs_line.c587 exist = db_exist(sp, TMAP->lno + 1); in vs_number()
590 for (smp = HMAP; smp <= TMAP; ++smp) { in vs_number()
H A Dv_mark.c96 if (smp > TMAP) { in v_emark()
H A Dvi.h294 #define TMAP _TMAP(sp) macro
H A Dvi.c1034 TMAP = HMAP + (sp->t_rows - 1); in v_init()
/netbsd-src/external/bsd/nvi/dist/ip/
H A Dip_funcs.c458 ipb.val2 = TMAP->lno - HMAP->lno; in ip_refresh()