Lines Matching refs:begin
27 BumpPointerAllocator::BumpPointerAllocator(uintptr_t begin, uintptr_t end) : begin_(begin), top_(begin), end_(end) {}
36 void BumpPointerAllocator::Reset(uintptr_t begin, uintptr_t end)
38 begin_ = begin;
39 top_ = begin;
46 void BumpPointerAllocator::Reset(uintptr_t begin, uintptr_t end, uintptr_t top)
48 begin_ = begin;
98 auto begin = region->GetBegin();
101 bpAllocator_.Reset(begin, end);
123 uintptr_t begin = object->GetBegin();
125 uintptr_t remainSize = end - begin - size;
133 Free(begin + size, remainSize);
134 return begin;
137 bpAllocator_.Reset(begin, end);
146 auto begin = bpAllocator_.GetTop();
149 Free(begin, size, true);
165 void FreeListAllocator<T>::ResetBumpPointer(uintptr_t begin, uintptr_t end, uintptr_t top)
167 bpAllocator_.Reset(begin, end, top);
178 void FreeListAllocator<T>::Free(uintptr_t begin, size_t size, bool isAdd)
184 T::FillFreeObject(heap_, begin, size);
187 ASAN_UNPOISON_MEMORY_REGION(reinterpret_cast<void *>(begin), size);
188 freeList_->Free(begin, size, isAdd);
190 ASAN_POISON_MEMORY_REGION(reinterpret_cast<void *>(begin), size);