Lines Matching refs:HeapImpl
70 class HeapImpl { class
72 HeapImpl();
73 ~HeapImpl();
85 DISALLOW_COPY_AND_ASSIGN(HeapImpl);
168 Chunk(HeapImpl* heap, int bucket);
184 HeapImpl* heap() { return heap_; } in heap()
189 HeapImpl* heap_;
230 Chunk::Chunk(HeapImpl* heap, int bucket) in Chunk()
306 void* HeapImpl::operator new(std::size_t count __attribute__((unused))) noexcept { in operator new()
307 assert(count == sizeof(HeapImpl)); in operator new()
317 void HeapImpl::operator delete(void* ptr) { in operator delete()
321 HeapImpl::HeapImpl() : free_chunks_(), full_chunks_(), map_allocation_list_(NULL) {} in HeapImpl() function in android::HeapImpl
323 bool HeapImpl::Empty() { in Empty()
340 HeapImpl::~HeapImpl() { in ~HeapImpl()
355 void* HeapImpl::Alloc(size_t size) { in Alloc()
360 void* HeapImpl::AllocLocked(size_t size) { in AllocLocked()
372 void HeapImpl::Free(void* ptr) { in Free()
377 void HeapImpl::FreeLocked(void* ptr) { in FreeLocked()
379 HeapImpl::MapFree(ptr); in FreeLocked()
387 void* HeapImpl::MapAlloc(size_t size) { in MapAlloc()
404 void HeapImpl::MapFree(void* ptr) { in MapFree()
416 void HeapImpl::MoveToFreeList(Chunk* chunk, int bucket) { in MoveToFreeList()
420 void HeapImpl::MoveToFullList(Chunk* chunk, int bucket) { in MoveToFullList()
424 void HeapImpl::MoveToList(Chunk* chunk, LinkedList<Chunk*>* head) { in MoveToList()
442 impl_ = new HeapImpl(); in Heap()
460 void Heap::deallocate(HeapImpl* impl, void* ptr) { in deallocate()