Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/libcxxabi/src/
H A Dfallback_malloc.cpp70 struct heap_node { struct
82 static_assert(alignof(FallbackMaxAlignType) % sizeof(heap_node) == 0,
87 const size_t NodesPerAlignment = alignof(FallbackMaxAlignType) / sizeof(heap_node);
89 static const heap_node* list_end =
90 (heap_node*)(&heap[HEAP_SIZE]); // one past the end of the heap
91 static heap_node* freelist = NULL;
93 heap_node* node_from_offset(const heap_offset offset) { in node_from_offset()
94 return (heap_node*)(heap + (offset * sizeof(heap_node))); in node_from_offset()
97 heap_offset offset_from_node(const heap_node* ptr) { in offset_from_node()
100 sizeof(heap_node)); in offset_from_node()
[all …]