Lines Matching refs:Page
78 class LinearAllocator::Page { class in android::uirenderer::LinearAllocator
80 Page* next() { return mNextPage; } in next()
81 void setNext(Page* next) { mNextPage = next; } in setNext()
83 Page() : mNextPage(0) {} in Page() function in android::uirenderer::LinearAllocator::Page
87 void* start() { return (void*)(((size_t)this) + sizeof(Page)); } in start()
92 Page(const Page& /*other*/) {} in Page() function in android::uirenderer::LinearAllocator::Page
93 Page* mNextPage;
113 Page* p = mPages; in ~LinearAllocator()
115 Page* next = p->next(); in ~LinearAllocator()
116 p->~Page(); in ~LinearAllocator()
123 void* LinearAllocator::start(Page* p) { in start()
124 return ALIGN_PTR((size_t)p + sizeof(Page)); in start()
127 void* LinearAllocator::end(Page* p) { in end()
144 Page* p = newPage(mPageSize); in ensureNext()
160 Page* page = newPage(size); in allocImpl()
219 LinearAllocator::Page* LinearAllocator::newPage(size_t pageSize) { in newPage()
220 pageSize = ALIGN(pageSize + sizeof(LinearAllocator::Page)); in newPage()
225 return new (buf) Page(); in newPage()