Home | History | Annotate | Download | only in libutils

Lines Matching defs:LinearAllocator

26 #define LOG_TAG "LinearAllocator"
30 #include <utils/LinearAllocator.h>
86 class LinearAllocator::Page {
110 LinearAllocator::LinearAllocator()
121 LinearAllocator::~LinearAllocator(void) {
132 void* LinearAllocator::start(Page* p) {
136 void* LinearAllocator::end(Page* p) {
140 bool LinearAllocator::fitsInCurrentPage(size_t size) {
144 void LinearAllocator::ensureNext(size_t size) {
163 void* LinearAllocator::alloc(size_t size) {
183 void LinearAllocator::rewindIfLastAlloc(void* ptr, size_t allocSize) {
194 LinearAllocator::Page* LinearAllocator::newPage(size_t pageSize) {
195 pageSize = ALIGN(pageSize + sizeof(LinearAllocator::Page));
216 void LinearAllocator::dumpMemoryStats(const char* prefix) {