Searched defs:LinearAllocator (Results 1 - 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/utils/
H A DLinearAllocator.h41 class LinearAllocator { class in namespace:android::uirenderer
43 LinearAllocator();
44 ~LinearAllocator();
50 * The lifetime of the returned buffers is tied to that of the LinearAllocator. If calling
69 * when the LinearAllocator is destroyed.
80 * Attempt to deallocate the given buffer, with the LinearAllocator attempting to rewind its
99 * The number of bytes used for buffers allocated in the LinearAllocator (does not count space
105 LinearAllocator(const LinearAllocator& other);
140 void* operator new(std::size_t size, android::uirenderer::LinearAllocator
[all...]
H A DLinearAllocator.cpp28 #include "utils/LinearAllocator.h"
84 void* operator new(std::size_t size, android::uirenderer::LinearAllocator& la) {
91 class LinearAllocator::Page {
115 LinearAllocator::LinearAllocator() function in class:android::uirenderer::LinearAllocator
126 LinearAllocator::~LinearAllocator(void) {
142 void* LinearAllocator::start(Page* p) {
146 void* LinearAllocator::end(Page* p) {
150 bool LinearAllocator
[all...]
/frameworks/compile/mclinker/include/mcld/Support/
H A DAllocators.h20 * \brief Chunk is the basic unit of the storage of the LinearAllocator
22 * @see LinearAllocator
255 /** \class LinearAllocator
256 * \brief LinearAllocator is another bump pointer allocator which should be
264 * The underlying concept of LinearAllocator is a memory pool. LinearAllocator
272 class LinearAllocator class in namespace:mcld
277 typedef LinearAllocator<NewDataType, ChunkSize> other;
281 LinearAllocator() : LinearAllocatorBase<Chunk<DataType, ChunkSize> >() {} function in class:mcld::LinearAllocator
283 virtual ~LinearAllocator() {}
287 class LinearAllocator<DataType, 0> class in namespace:mcld
296 explicit LinearAllocator(size_t pNum) function in class:mcld::LinearAllocator
[all...]

Completed in 7016 milliseconds