HomeSort by relevance Sort by last modified time
    Searched refs:LinearAllocator (Results 1 - 15 of 15) sorted by null

  /system/core/include/utils/
LinearAllocator.h 39 class LinearAllocator {
41 LinearAllocator();
42 ~LinearAllocator();
48 * The lifetime of the returned buffers is tied to that of the LinearAllocator. If calling
55 * Attempt to deallocate the given buffer, with the LinearAllocator attempting to rewind its
66 * The number of bytes used for buffers allocated in the LinearAllocator (does not count space
72 LinearAllocator(const LinearAllocator& other);
  /system/core/libutils/
LinearAllocator.cpp 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)
    [all...]
Android.mk 26 LinearAllocator.cpp \
  /frameworks/compile/mclinker/include/mcld/Support/
UniqueGCFactory.h 27 class UniqueGCFactoryBase : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> >
30 typedef GCFactoryBase<LinearAllocator<DataType, ChunkSize> > Alloc;
35 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >()
39 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >(pNum)
GCFactory.h 211 class GCFactory : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> >
215 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >()
220 class GCFactory<DataType, 0> : public GCFactoryBase<LinearAllocator<DataType, 0> >
224 : GCFactoryBase<LinearAllocator<DataType, 0> >(pNum)
Allocators.h 23 * \brief Chunk is the basic unit of the storage of the LinearAllocator
25 * @see LinearAllocator
275 /** \class LinearAllocator
276 * \brief LinearAllocator is another bump pointer allocator which should be
284 * The underlying concept of LinearAllocator is a memory pool. LinearAllocator
292 class LinearAllocator : public LinearAllocatorBase<Chunk<DataType, ChunkSize> >
297 typedef LinearAllocator<NewDataType, ChunkSize> other;
301 LinearAllocator()
305 virtual ~LinearAllocator()
    [all...]
  /frameworks/compile/mclinker/unittests/
LinearAllocatorTest.h 19 * \brief The testcase for LinearAllocator
21 * \see LinearAllocator
67 typedef mcld::LinearAllocator<Data, CHUNK_SIZE> Alloc;
RTLinearAllocatorTest.h 68 mcld::LinearAllocator<Data,0>* m_pTestee;
LinearAllocatorTest.cpp 20 m_pTestee = new LinearAllocator<Data, CHUNK_SIZE>();
RTLinearAllocatorTest.cpp 20 m_pTestee = new LinearAllocator<Data, 0>(CHUNK_SIZE);
  /frameworks/base/libs/hwui/
DeferredDisplayList.h 21 #include <utils/LinearAllocator.h>
52 static void* operator new(size_t size, LinearAllocator& allocator) {
179 LinearAllocator mAllocator;
DisplayList.h 29 #include <utils/LinearAllocator.h>
92 LinearAllocator allocator;
DisplayListRenderer.h 199 LinearAllocator& alloc() { return mDisplayListData->allocator; }
DisplayList.cpp 172 LinearAllocator& alloc = mDisplayListData->allocator;
DisplayListOp.h 33 #include "utils/LinearAllocator.h"
52 * LinearAllocator's managed memory buffers. Each pointer held by a DisplayListOp is either a
53 * pointer into memory also allocated in the LinearAllocator (mostly for text and float buffers) or
60 // These objects should always be allocated with a LinearAllocator, and never destroyed/deleted.
65 static void* operator new(size_t size, LinearAllocator& allocator) {
    [all...]

Completed in 80 milliseconds