Home
last modified time | relevance | path

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

/external/pigweed/pw_malloc_freelist/
Dfreelist_malloc.cc28 pw::allocator::FreeListHeapBuffer<>* pw_freelist_heap; variable
40 pw_freelist_heap = new (&buf) in pw_MallocInit()
49 void* __wrap_malloc(size_t size) { return pw_freelist_heap->Allocate(size); } in __wrap_malloc()
51 void __wrap_free(void* ptr) { pw_freelist_heap->Free(ptr); } in __wrap_free()
54 return pw_freelist_heap->Realloc(ptr, size); in __wrap_realloc()
58 return pw_freelist_heap->Calloc(num, size); in __wrap_calloc()
62 return pw_freelist_heap->Allocate(size); in __wrap__malloc_r()
65 void __wrap__free_r(struct _reent*, void* ptr) { pw_freelist_heap->Free(ptr); } in __wrap__free_r()
68 return pw_freelist_heap->Realloc(ptr, size); in __wrap__realloc_r()
72 return pw_freelist_heap->Calloc(num, size); in __wrap__calloc_r()
Dfreelist_malloc_test.cc36 pw_freelist_heap->heap_stats(); in TEST()
/external/pigweed/pw_malloc_freelist/public/pw_malloc_freelist/
Dfreelist_malloc.h19 extern pw::allocator::FreeListHeapBuffer<>* pw_freelist_heap;