Home
last modified time | relevance | path

Searched refs:LinearAllocator (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/libs/hwui/utils/
DLinearAllocator.cpp78 class LinearAllocator::Page {
96 LinearAllocator::LinearAllocator() in LinearAllocator() function in android::uirenderer::LinearAllocator
107 LinearAllocator::~LinearAllocator(void) { in ~LinearAllocator()
123 void* LinearAllocator::start(Page* p) { in start()
127 void* LinearAllocator::end(Page* p) { in end()
131 bool LinearAllocator::fitsInCurrentPage(size_t size) { in fitsInCurrentPage()
135 void LinearAllocator::ensureNext(size_t size) { in ensureNext()
155 void* LinearAllocator::allocImpl(size_t size) { in allocImpl()
174 void LinearAllocator::addToDestructionList(Destructor dtor, void* addr) { in addToDestructionList()
186 void LinearAllocator::runDestructorFor(void* addr) { in runDestructorFor()
[all …]
DLinearAllocator.h43 class LinearAllocator {
45 LinearAllocator();
46 ~LinearAllocator();
121 LinearAllocator(const LinearAllocator& other);
161 explicit LinearStdAllocator(LinearAllocator& allocator) : linearAllocator(allocator) {} in LinearStdAllocator()
185 LinearAllocator& linearAllocator;
/frameworks/base/libs/hwui/tests/unit/
DLinearAllocatorTests.cpp30 TEST(LinearAllocator, create) { in TEST() argument
31 LinearAllocator la; in TEST()
45 TEST(LinearAllocator, dtor) { in TEST() argument
48 LinearAllocator la; in TEST()
68 TEST(LinearAllocator, rewind) { in TEST() argument
71 LinearAllocator la; in TEST()
90 LinearAllocator la; in TEST()
117 LinearAllocator allocator; in TEST()
/frameworks/compile/mclinker/include/mcld/Support/
DUniqueGCFactory.h25 : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> > {
27 typedef GCFactoryBase<LinearAllocator<DataType, ChunkSize> > Alloc;
32 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >() {} in UniqueGCFactoryBase()
35 : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >(pNum) {} in UniqueGCFactoryBase()
DAllocators.h272 class LinearAllocator
277 typedef LinearAllocator<NewDataType, ChunkSize> other;
281 LinearAllocator() : LinearAllocatorBase<Chunk<DataType, ChunkSize> >() {} in LinearAllocator() function
283 virtual ~LinearAllocator() {} in ~LinearAllocator()
287 class LinearAllocator<DataType, 0>
292 typedef LinearAllocator<NewDataType, 0> other;
296 explicit LinearAllocator(size_t pNum) in LinearAllocator() function
301 virtual ~LinearAllocator() {} in ~LinearAllocator()
DGCFactory.h186 class GCFactory : public GCFactoryBase<LinearAllocator<DataType, ChunkSize> > {
188 GCFactory() : GCFactoryBase<LinearAllocator<DataType, ChunkSize> >() {} in GCFactory()
193 : public GCFactoryBase<LinearAllocator<DataType, 0> > {
196 : GCFactoryBase<LinearAllocator<DataType, 0> >(pNum) {} in GCFactory()
/frameworks/base/libs/hwui/tests/microbench/
DLinearAllocatorBench.cpp39 LinearAllocator la; in BM_LinearStdAllocator_vector()
/frameworks/compile/mclinker/unittests/
DRTLinearAllocatorTest.h65 mcld::LinearAllocator<Data, 0>* m_pTestee;
DLinearAllocatorTest.h65 typedef mcld::LinearAllocator<Data, CHUNK_SIZE> Alloc;
DRTLinearAllocatorTest.cpp18 m_pTestee = new LinearAllocator<Data, 0>(CHUNK_SIZE); in RTLinearAllocatorTest()
DLinearAllocatorTest.cpp18 m_pTestee = new LinearAllocator<Data, CHUNK_SIZE>(); in LinearAllocatorTest()
/frameworks/base/libs/hwui/
DDamageAccumulator.h97 LinearAllocator mAllocator;
DAndroid.bp572 "utils/LinearAllocator.cpp",
/frameworks/base/libs/hwui/pipeline/skia/
DSkiaDisplayList.cpp186 allocator.~LinearAllocator(); in reset()
187 new (&allocator) LinearAllocator(); in reset()
DSkiaDisplayList.h166 LinearAllocator allocator;