Lines Matching refs:SMAP
38 static int vs_sm_down __P((SCR *, MARK *, db_recno_t, scroll_t, SMAP *));
42 static int vs_sm_up __P((SCR *, MARK *, db_recno_t, scroll_t, SMAP *));
54 SMAP *p;
171 * right position. There isn't any way to tell if an SMAP
185 SMAP *p, tmp;
188 /* Flush all cached information from the SMAP. */
314 * Delete a line out of the SMAP.
319 SMAP *p, *t;
341 memmove(p, p + cnt_orig, (((TMAP - p) - cnt_orig) + 1) * sizeof(SMAP));
362 * Insert a line into the SMAP.
367 SMAP *p, *t;
396 memmove(p + cnt_orig, p, (((TMAP - p) - cnt_orig) + 1) * sizeof(SMAP));
402 /* Fill in the SMAP for the new lines, and display. */
416 * Reset a line in the SMAP.
421 SMAP *p, *t;
470 (((TMAP - p) - diff) + 1) * sizeof(SMAP));
473 /* Fill in the SMAP for the replaced line, and display. */
491 memmove(p, p + diff, (((TMAP - p) - diff) + 1) * sizeof(SMAP));
493 /* Fill in the SMAP for the replaced line, and display. */
518 * Scroll the SMAP up/down count logical lines. Different
526 SMAP *smp;
578 * Scroll the SMAP up count logical lines.
581 vs_sm_up(SCR *sp, MARK *rp, db_recno_t count, scroll_t scmd, SMAP *smp)
584 SMAP *ssmp, s1, s2;
752 * Scroll the SMAP up one.
772 memmove(HMAP, HMAP + 1, (sp->rows - 1) * sizeof(SMAP));
815 * Scroll the SMAP down count logical lines.
818 vs_sm_down(SCR *sp, MARK *rp, db_recno_t count, scroll_t scmd, SMAP *smp)
820 SMAP *ssmp, s1, s2;
985 * Scroll the SMAP down one.
1005 memmove(HMAP + 1, HMAP, (sp->rows - 1) * sizeof(SMAP));
1049 * Fill in the next entry in the SMAP.
1051 * PUBLIC: int vs_sm_next __P((SCR *, SMAP *, SMAP *));
1054 vs_sm_next(SCR *sp, SMAP *p, SMAP *t)
1077 * Fill in the previous entry in the SMAP.
1079 * PUBLIC: int vs_sm_prev __P((SCR *, SMAP *, SMAP *));
1082 vs_sm_prev(SCR *sp, SMAP *p, SMAP *t)
1102 * Return the SMAP entry referenced by the cursor.
1104 * PUBLIC: int vs_sm_cursor __P((SCR *, SMAP **));
1107 vs_sm_cursor(SCR *sp, SMAP **smpp)
1109 SMAP *p;
1148 SMAP *smp;
1220 * Return the number of screen lines from an SMAP entry to the
1223 * PUBLIC: db_recno_t vs_sm_nlines __P((SCR *, SMAP *, db_recno_t, size_t));
1226 vs_sm_nlines(SCR *sp, SMAP *from_sp, db_recno_t to_lno, size_t max)