Searched refs:FreeListHeap (Results 1 – 4 of 4) sorted by relevance
/external/pigweed/pw_allocator/ |
D | freelist_heap_test.cc | 23 TEST(FreeListHeap, CanAllocate) { in TEST() argument 37 TEST(FreeListHeap, AllocationsDontOverlap) { in TEST() argument 57 TEST(FreeListHeap, CanFreeAndRealloc) { in TEST() argument 73 TEST(FreeListHeap, ReturnsNullWhenAllocationTooLarge) { in TEST() argument 82 TEST(FreeListHeap, ReturnsNullWhenFull) { in TEST() argument 94 TEST(FreeListHeap, ReturnedPointersAreAligned) { in TEST() argument 117 TEST(FreeListHeap, CannotFreeNonOwnedPointer) { in TEST() argument 145 TEST(FreeListHeap, CanRealloc) { in TEST() argument 160 TEST(FreeListHeap, ReallocHasSameContent) { in TEST() argument 184 TEST(FreeListHeap, ReturnsNullReallocFreedPointer) { in TEST() argument [all …]
|
D | freelist_heap.cc | 24 FreeListHeap::FreeListHeap(std::span<std::byte> region, FreeList& freelist) in FreeListHeap() function in pw::allocator::FreeListHeap 37 void* FreeListHeap::Allocate(size_t size) { in Allocate() 67 void FreeListHeap::Free(void* ptr) { in Free() 116 void* FreeListHeap::Realloc(void* ptr, size_t size) { in Realloc() 158 void* FreeListHeap::Calloc(size_t num, size_t size) { in Calloc() 166 void FreeListHeap::LogHeapStats() { in LogHeapStats() 189 void FreeListHeap::InvalidFreeCrash() { in InvalidFreeCrash()
|
/external/pigweed/pw_allocator/public/pw_allocator/ |
D | freelist_heap.h | 25 class FreeListHeap { 37 FreeListHeap(std::span<std::byte> region, FreeList& freelist); 72 const FreeListHeap::HeapStats& heap_stats() const { in heap_stats() 80 FreeListHeap heap_;
|
/external/pigweed/pw_malloc_freelist/ |
D | freelist_malloc_test.cc | 35 const FreeListHeap::HeapStats& freelist_heap_stats = in TEST()
|