Lines Matching refs:prev
87 heap_node *p, *prev;
95 for (p = freelist, prev = 0;
96 p && p != list_end; prev = p, p = node_from_offset ( p->next_node)) {
109 if (prev == 0)
112 prev->next_node = p->next_node;
125 struct heap_node *p, *prev;
133 for (p = freelist, prev = 0;
134 p && p != list_end; prev = p, p = node_from_offset (p->next_node)) {
154 if ( prev == 0 ) {
159 prev->next_node = offset_from_node(cp);
173 struct heap_node *p, *prev;
178 for (p = freelist, prev = 0;
179 p && p != list_end; prev = p, p = node_from_offset (p->next_node)) {
180 std::cout << ( prev == 0 ? "" : " ") << "Offset: " << offset_from_node ( p )