Lines Matching full:fm
32 del(SCR *sp, MARK *fm, MARK *tm, int lmode) in del() argument
43 for (lno = tm->lno; lno >= fm->lno; --lno) { in del()
67 for (lno = tm->lno; lno > fm->lno; --lno) { in del()
75 if (db_get(sp, fm->lno, DBG_FATAL, &p, &len)) in del()
77 GET_SPACE_RETW(sp, bp, blen, fm->cno); in del()
78 MEMCPY(bp, p, fm->cno); in del()
79 if (db_set(sp, fm->lno, bp, fm->cno)) in del()
86 if (tm->lno == fm->lno) { in del()
87 if (db_get(sp, fm->lno, DBG_FATAL, &p, &len)) in del()
91 if (fm->cno != 0) in del()
92 MEMCPY(bp, p, fm->cno); in del()
93 MEMCPY(bp + fm->cno, p + (tm->cno + 1), in del()
95 if (db_set(sp, fm->lno, in del()
96 bp, len - ((tm->cno - fm->cno) + 1))) in del()
107 if ((tlen = fm->cno) != 0) { in del()
108 if (db_get(sp, fm->lno, DBG_FATAL, &p, NULL)) in del()
139 if (db_set(sp, fm->lno, bp, tlen)) in del()
143 for (lno = tm->lno; lno > fm->lno; --lno) { in del()