Home
last modified time | relevance | path

Searched refs:rewindIfLastAlloc (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/libs/hwui/utils/
DLinearAllocator.h98 void rewindIfLastAlloc(void* ptr, size_t allocSize);
104 void rewindIfLastAlloc(T* ptr) { in rewindIfLastAlloc() function
105 rewindIfLastAlloc((void*)ptr, sizeof(T)); in rewindIfLastAlloc()
180 linearAllocator.rewindIfLastAlloc(p, num * sizeof(T)); in deallocate()
DLinearAllocator.cpp197 rewindIfLastAlloc(node, sizeof(DestructorNode)); in runDestructorFor()
205 void LinearAllocator::rewindIfLastAlloc(void* ptr, size_t allocSize) { in rewindIfLastAlloc() function in android::uirenderer::LinearAllocator
/frameworks/base/libs/hwui/tests/unit/
DLinearAllocatorTests.cpp74 la.rewindIfLastAlloc(addr, 100); in TEST()
81 la.rewindIfLastAlloc(sigdtor); in TEST()