Lines Matching refs:offset_from_node
75 heap_offset offset_from_node ( const heap_node *ptr ) in offset_from_node() function
80 freelist->next_node = offset_from_node ( list_end ); in init_heap()
135 … std::cout << "Freeing item at " << offset_from_node ( cp ) << " of size " << cp->len << std::endl; in fallback_free()
142 << offset_from_node ( p ) << ' ' in fallback_free()
143 << offset_from_node ( cp ) << ' ' in fallback_free()
144 << offset_from_node ( after ( p )) << ' ' in fallback_free()
145 << offset_from_node ( after ( cp )) << std::endl; in fallback_free()
149 std::cout << " Appending onto chunk at " << offset_from_node ( p ) << std::endl; in fallback_free()
156 std::cout << " Appending free chunk at " << offset_from_node ( p ) << std::endl; in fallback_free()
164 prev->next_node = offset_from_node(cp); in fallback_free()
170 std::cout << " Making new free list entry " << offset_from_node ( cp ) << std::endl; in fallback_free()
172 cp->next_node = offset_from_node ( freelist ); in fallback_free()
185 std::cout << ( prev == 0 ? "" : " ") << "Offset: " << offset_from_node ( p ) in print_free_list()