Lines Matching refs:offset_from_node
78 heap_offset offset_from_node(const heap_node* ptr) { in offset_from_node() function
86 freelist->next_node = offset_from_node(list_end); in init_heap()
143 std::cout << "Freeing item at " << offset_from_node(cp) << " of size " in fallback_free()
150 std::cout << " p, cp, after (p), after(cp) " << offset_from_node(p) << ' ' in fallback_free()
151 << offset_from_node(cp) << ' ' << offset_from_node(after(p)) in fallback_free()
152 << ' ' << offset_from_node(after(cp)) << std::endl; in fallback_free()
156 std::cout << " Appending onto chunk at " << offset_from_node(p) in fallback_free()
164 std::cout << " Appending free chunk at " << offset_from_node(p) in fallback_free()
172 prev->next_node = offset_from_node(cp); in fallback_free()
178 std::cout << " Making new free list entry " << offset_from_node(cp) in fallback_free()
181 cp->next_node = offset_from_node(freelist); in fallback_free()
194 std::cout << (prev == 0 ? "" : " ") << "Offset: " << offset_from_node(p) in print_free_list()