Lines Matching refs:prev
63 struct lbitset_elt_struct *prev; /* Previous element. */ member
168 lbitset_elt *prev = elt->prev; in lbitset_elt_unlink() local
170 if (prev) in lbitset_elt_unlink()
171 prev->next = next; in lbitset_elt_unlink()
174 next->prev = prev; in lbitset_elt_unlink()
179 LBITSET_TAIL (bset) = prev; in lbitset_elt_unlink()
191 else if (prev) in lbitset_elt_unlink()
193 bset->b.cdata = prev->words; in lbitset_elt_unlink()
194 bset->b.cindex = prev->index; in lbitset_elt_unlink()
217 if (elt->prev) in lbitset_prune()
219 LBITSET_TAIL (bset) = elt->prev; in lbitset_prune()
220 bset->b.cdata = elt->prev->words; in lbitset_prune()
221 bset->b.cindex = elt->prev->index; in lbitset_prune()
222 elt->prev->next = 0; in lbitset_prune()
270 elt->next = elt->prev = 0; in lbitset_elt_link()
280 ptr->prev && ptr->prev->index > windex; ptr = ptr->prev) in lbitset_elt_link()
283 if (ptr->prev) in lbitset_elt_link()
284 ptr->prev->next = elt; in lbitset_elt_link()
288 elt->prev = ptr->prev; in lbitset_elt_link()
290 ptr->prev = elt; in lbitset_elt_link()
301 ptr->next->prev = elt; in lbitset_elt_link()
306 elt->prev = ptr; in lbitset_elt_link()
341 elt->prev && elt->index > windex; elt = elt->prev) in lbitset_elt_find()
449 lbitset_elt *prev; in lbitset_copy() local
461 prev = 0; in lbitset_copy()
466 tmp->prev = prev; in lbitset_copy()
468 if (prev) in lbitset_copy()
469 prev->next = tmp; in lbitset_copy()
472 prev = tmp; in lbitset_copy()
596 for (; elt && elt->index > windex; elt = elt->prev) in lbitset_list_reverse()
646 elt = elt->prev; in lbitset_list_reverse()