Home | History | Annotate | Download | only in libiberty

Lines Matching refs:elem

6 @deftypefn Supplemental void insque (struct qelem *@var{elem}, @
8 @deftypefnx Supplemental void remque (struct qelem *@var{elem})
11 @code{insque} routine inserts @var{elem} in the queue immediately
12 after @var{pred}. The @code{remque} routine removes @var{elem} from
37 insque (struct qelem *elem, struct qelem *pred)
39 elem -> q_forw = pred -> q_forw;
40 pred -> q_forw -> q_back = elem;
41 elem -> q_back = pred;
42 pred -> q_forw = elem;
47 remque (struct qelem *elem)
49 elem -> q_forw -> q_back = elem -> q_back;
50 elem -> q_back -> q_forw = elem -> q_forw;