Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/libcxxabi/src/
H A Dfallback_malloc.cpp97 heap_offset offset_from_node(const heap_node* ptr) { in offset_from_node() function
118 freelist->next_node = offset_from_node(list_end); in init_heap()
196 std::printf("Freeing item at %d of size %d\n", offset_from_node(cp), cp->len); in fallback_free()
203 offset_from_node(p), offset_from_node(cp), in fallback_free()
204 offset_from_node(after(p)), offset_from_node(after(cp))); in fallback_free()
208 std::printf(" Appending onto chunk at %d\n", offset_from_node(p)); in fallback_free()
215 std::printf(" Appending free chunk at %d\n", offset_from_node(p)); in fallback_free()
222 prev->next_node = offset_from_node(cp); in fallback_free()
228 std::printf(" Making new free list entry %d\n", offset_from_node(cp)); in fallback_free()
230 cp->next_node = offset_from_node(freelist); in fallback_free()
[all …]