Home
last modified time | relevance | path

Searched refs:q_forw (Results 1 – 6 of 6) sorted by relevance

/freebsd/bin/ed/
H A Dundo.c99 REQUE(ustack[n].h->q_back, ustack[n].t->q_forw); in pop_undo_stack()
103 REQUE(ustack[n].t, ustack[n].t->q_forw); in pop_undo_stack()
107 REQUE(ustack[n - 1].h, ustack[n].h->q_forw); in pop_undo_stack()
138 ep = ustack[u_p].t->q_forw; in clear_undo_stack()
141 tl = lp->q_forw; in clear_undo_stack()
H A Ded.h61 struct line *q_forw; member
157 #define REQUE(pred, succ) (pred)->q_forw = (succ), (succ)->q_back = (pred)
162 REQUE((elem), (pred)->q_forw); \
167 #define REMQUE(elem) REQUE((elem)->q_back, (elem)->q_forw);
H A Dbuf.c146 while (cp != lp && (cp = cp->q_forw) != &buffer_head) in get_line_node_addr()
167 lp = lp->q_forw; in get_addressed_line_node()
180 lp = lp->q_forw; in get_addressed_line_node()
H A Dglbl.c55 for (n = first_addr; n <= second_addr; n++, lp = lp->q_forw) { in build_active_list()
186 for (lp = np; lp != mp; lp = lp->q_forw) in unset_active_nodes()
H A Dmain.c1068 for (; bp != ep; bp = bp->q_forw) { in join_lines()
1121 a2 = b2->q_forw; in move_lines()
1122 REQUE(b2, b1->q_forw); in move_lines()
1129 unset_active_nodes(b2->q_forw, a2); in move_lines()
1151 for (; n-- > 0; np = np->q_forw) { in copy_lines()
1187 unset_active_nodes(p->q_forw, n); in delete_lines()
1211 for (; bp != ep; bp = bp->q_forw) { in display_lines()
H A Dio.c83 lp = lp->q_forw; in read_stream()
177 for (; n && n <= m; n++, lp = lp->q_forw) { in write_stream()