Lines Matching refs:prev

166   Sym *todo, *doing, *prev;  in sort_members()  local
177 for (prev = cyc; prev->cg.cyc.next; prev = prev->cg.cyc.next) in sort_members()
179 if (cmp_member (doing, prev->cg.cyc.next) == GREATERTHAN) in sort_members()
183 doing->cg.cyc.next = prev->cg.cyc.next; in sort_members()
184 prev->cg.cyc.next = doing; in sort_members()
313 Arc *arc, *detached, sorted, *prev; in sort_parents() local
328 for (prev = &sorted; prev->next_parent; prev = prev->next_parent) in sort_parents()
330 if (cmp_arc (arc, prev->next_parent) != GREATERTHAN) in sort_parents()
334 arc->next_parent = prev->next_parent; in sort_parents()
335 prev->next_parent = arc; in sort_parents()
400 Arc *arc, *detached, sorted, *prev; in sort_children() local
415 for (prev = &sorted; prev->next_child; prev = prev->next_child) in sort_children()
417 if (cmp_arc (arc, prev->next_child) != LESSTHAN) in sort_children()
421 arc->next_child = prev->next_child; in sort_children()
422 prev->next_child = arc; in sort_children()
821 symtab.base[sym_index].prev = 0; in cg_print_function_ordering()
1044 if (parent->next && parent->prev && child->next && child->prev)
1053 if (!parent->next && !parent->prev)
1057 Sym *prev = child; local
1067 while (prev->prev)
1069 prev = prev->prev;
1074 child = next_count < prev_count ? next : prev;
1076 else if (! child->next && !child->prev)
1080 Sym *prev = parent; local
1089 while (prev->prev)
1091 prev = prev->prev;
1095 parent = prev_count < next_count ? prev : next;
1111 while (sym1->prev)
1112 sym1 = sym1->prev;
1119 while (sym2->prev)
1120 sym2 = sym2->prev;
1136 parent->prev = child;
1141 else if (parent->prev)
1144 if (! child->prev)
1148 child->prev = parent;
1156 if (child->prev)
1159 parent->prev = child;
1167 child->prev = parent;
1188 && sym->prev == NULL)
1192 while (sym->prev)
1193 sym = sym->prev;