Searched refs:HMAP (Results 1 - 10 of 10) sorted by relevance

/freebsd-current/contrib/nvi/vi/
H A Dvs_smap.c82 if (lno < HMAP->lno) {
88 for (p = HMAP, cnt = sp->t_rows; cnt--; ++p)
95 for (p = HMAP, cnt = sp->t_rows; cnt--; ++p)
166 * Unexported interface: if lno is OOBLNO, P_TOP means that the HMAP
179 for (p = HMAP, cnt = sp->t_rows; cnt--; ++p)
220 top: HMAP->lno = lno;
221 HMAP->coff = 0;
222 HMAP->soff = 1;
225 * If number of lines HMAP->lno (top line) spans
227 * fewer than HMAP
[all...]
H A Dvs_refresh.c47 smp = HMAP + evp->e_flno - 1;
245 if (LNO < HMAP->lno) {
246 lcnt = vs_sm_nlines(sp, HMAP, LNO, sp->t_maxrows);
272 (void)gp->scr_move(sp, TMAP - HMAP, 0);
286 if (LNO >= HMAP->lno) {
320 lcnt = vs_sm_nlines(sp, HMAP, LNO, HALFTEXT(sp));
327 if (db_exist(sp, HMAP->lno)) {
342 tmp.coff = HMAP->coff;
361 tmp.coff = HMAP->coff;
392 (LNO == HMAP
[all...]
H A Dvs_line.c53 smp - HMAP, smp->lno, smp->off);
62 if (F_ISSET(sp, SC_SCR_EXWROTE) && smp - HMAP != LASTLINE(sp))
87 (void)gp->scr_move(sp, smp - HMAP, 0);
152 *yp = smp - HMAP;
236 if (smp != HMAP &&
386 *yp = smp - HMAP;
514 for (smp = HMAP; smp <= TMAP; ++smp) {
530 (void)gp->scr_move(sp, smp - HMAP, 0);
H A Dv_init.c92 free(HMAP);
H A Dv_z.c138 TMAP = HMAP + (sp->t_rows - 1);
H A Dv_mark.c85 smp = HMAP + vp->ev.e_lno;
H A Dvi.c969 CALLOC_RET(sp, HMAP, SIZE_HMAP(sp), sizeof(SMAP));
970 TMAP = HMAP + (sp->t_rows - 1);
971 HMAP->lno = sp->lno;
972 HMAP->coff = 0;
973 HMAP->soff = 1;
H A Dvi.h284 * one line, HMAP can be equal to TMAP, so the code has to understand
290 #define HMAP _HMAP(sp) macro
H A Dv_txt.c140 HMAP + (sp->t_maxrows - 1); TMAP < esmp; ++TMAP) {
142 TMAP[1].coff = HMAP->coff;
185 TMAP = HMAP + (sp->t_rows - 1);
H A Dvs_split.c96 !ccl && (vs_sm_cursor(sp, &smp) ? 0 : (smp - HMAP) + 1) >= half;

Completed in 104 milliseconds