Searched refs:HMAP (Results 1 - 10 of 10) sorted by relevance
/freebsd-current/contrib/nvi/vi/ |
H A D | vs_smap.c | 82 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 D | vs_refresh.c | 47 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 D | vs_line.c | 53 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 D | v_init.c | 92 free(HMAP);
|
H A D | v_z.c | 138 TMAP = HMAP + (sp->t_rows - 1);
|
H A D | v_mark.c | 85 smp = HMAP + vp->ev.e_lno;
|
H A D | vi.c | 969 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 D | vi.h | 284 * one line, HMAP can be equal to TMAP, so the code has to understand 290 #define HMAP _HMAP(sp) macro
|
H A D | v_txt.c | 140 HMAP + (sp->t_maxrows - 1); TMAP < esmp; ++TMAP) { 142 TMAP[1].coff = HMAP->coff; 185 TMAP = HMAP + (sp->t_rows - 1);
|
H A D | vs_split.c | 96 !ccl && (vs_sm_cursor(sp, &smp) ? 0 : (smp - HMAP) + 1) >= half;
|
Completed in 104 milliseconds