Home
last modified time | relevance | path

Searched refs:offset_from_node (Results 1 – 1 of 1) sorted by relevance

/llvm-project-15.0.7/libcxxabi/src/
H A Dfallback_malloc.cpp79 heap_offset offset_from_node(const heap_node* ptr) { in offset_from_node() function
87 freelist->next_node = offset_from_node(list_end); in init_heap()
144 std::printf("Freeing item at %d of size %d\n", offset_from_node(cp), cp->len); in fallback_free()
151 offset_from_node(p), offset_from_node(cp), in fallback_free()
152 offset_from_node(after(p)), offset_from_node(after(cp))); in fallback_free()
156 std::printf(" Appending onto chunk at %d\n", offset_from_node(p)); in fallback_free()
163 std::printf(" Appending free chunk at %d\n", offset_from_node(p)); in fallback_free()
170 prev->next_node = offset_from_node(cp); in fallback_free()
176 std::printf(" Making new free list entry %d\n", offset_from_node(cp)); in fallback_free()
178 cp->next_node = offset_from_node(freelist); in fallback_free()
[all …]