Module heap

Source

Structs§

mi_heap_area_t
An area of heap space contains blocks of a single size.

Enums§

mi_heap_t
First-class heaps that can be destroyed in one go.

Functions§

mi_check_owned
Check safely if any pointer is part of the default heap of this thread.
mi_heap_calloc
Equivalent to mi_calloc, but allocates out of the specific heap instead of the default.
mi_heap_calloc_aligned
Equivalent to mi_calloc_aligned, but allocates out of the specific heap instead of the default.
mi_heap_calloc_aligned_at
Equivalent to mi_calloc_aligned_at, but allocates out of the specific heap instead of the default.
mi_heap_check_owned
Check safely if any pointer is part of a heap.
mi_heap_collect
Release outstanding resources in a specific heap.
mi_heap_contains_block
Does a heap contain a pointer to a previously allocated block?
mi_heap_delete
Delete a previously allocated heap.
mi_heap_destroy
Destroy a heap, freeing all its still allocated blocks.
mi_heap_get_backing
Get the backing heap.
mi_heap_get_default
Get the default heap that is used for mi_malloc et al.
mi_heap_malloc
Equivalent to mi_malloc, but allocates out of the specific heap instead of the default.
mi_heap_malloc_aligned
Equivalent to mi_malloc_aligned, but allocates out of the specific heap instead of the default.
mi_heap_malloc_aligned_at
Equivalent to mi_malloc_aligned_at, but allocates out of the specific heap instead of the default.
mi_heap_malloc_small
Equivalent to mi_malloc_small, but allocates out of the specific heap instead of the default.
mi_heap_mallocn
Equivalent to mi_mallocn, but allocates out of the specific heap instead of the default.
mi_heap_new
Create a new heap that can be used for allocation.
mi_heap_realloc
Equivalent to mi_realloc, but allocates out of the specific heap instead of the default.
mi_heap_realloc_aligned
Equivalent to mi_realloc_aligned, but allocates out of the specific heap instead of the default.
mi_heap_realloc_aligned_at
Equivalent to mi_realloc_aligned_at, but allocates out of the specific heap instead of the default.
mi_heap_reallocf
Equivalent to mi_reallocf, but allocates out of the specific heap instead of the default.
mi_heap_reallocn
Equivalent to mi_reallocn, but allocates out of the specific heap instead of the default.
mi_heap_realpath
Equivalent to mi_realpath, but allocates out of the specific heap instead of the default.
mi_heap_recalloc
Equivalent to mi_recalloc, but allocates out of the specific heap instead of the default.
mi_heap_recalloc_aligned
Equivalent to mi_recalloc_aligned, but allocates out of the specific heap instead of the default.
mi_heap_recalloc_aligned_at
Equivalent to mi_recalloc_aligned_at, but allocates out of the specific heap instead of the default.
mi_heap_rezalloc
Equivalent to mi_rezalloc, but allocates out of the specific heap instead of the default.
mi_heap_rezalloc_aligned
Equivalent to mi_rezalloc_aligned, but allocates out of the specific heap instead of the default.
mi_heap_rezalloc_aligned_at
Equivalent to mi_rezalloc_aligned_at, but allocates out of the specific heap instead of the default.
mi_heap_set_default
Set the default heap to use for mi_malloc et al.
mi_heap_strdup
Equivalent to mi_strdup, but allocates out of the specific heap instead of the default.
mi_heap_strndup
Equivalent to mi_strndup, but allocates out of the specific heap instead of the default.
mi_heap_visit_blocks
Visit all areas and blocks in heap.
mi_heap_zalloc
Equivalent to mi_zalloc, but allocates out of the specific heap instead of the default.
mi_heap_zalloc_aligned
Equivalent to mi_zalloc_aligned, but allocates out of the specific heap instead of the default.
mi_heap_zalloc_aligned_at
Equivalent to mi_zalloc_aligned_at, but allocates out of the specific heap instead of the default.