Home
last modified time | relevance | path

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

/external/pigweed/pw_allocator/
Dfreelist_heap_test.cc23 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 …]
Dfreelist_heap.cc24 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/
Dfreelist_heap.h25 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/
Dfreelist_malloc_test.cc35 const FreeListHeap::HeapStats& freelist_heap_stats = in TEST()