Home
last modified time | relevance | path

Searched refs:tHeader (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/src/OpenGL/compiler/
DPoolAlloc.cpp98 if (headerSkip < sizeof(tHeader)) { in TPoolAllocator()
99 headerSkip = (sizeof(tHeader) + alignmentMask) & ~alignmentMask; in TPoolAllocator()
106 tHeader* next = inUseList->nextPage; in ~TPoolAllocator()
107 inUseList->~tHeader(); in ~TPoolAllocator()
117 tHeader* next = freeList->nextPage; in ~TPoolAllocator()
183 tHeader* page = stack.back().page; in pop()
188 inUseList->~tHeader(); in pop()
190 tHeader* nextInUse = inUseList->nextPage; in pop()
256 tHeader* memory = reinterpret_cast<tHeader*>(::new char[numBytesToAlloc]); in allocate()
261 new(memory) tHeader(inUseList, (numBytesToAlloc + pageSize - 1) / pageSize); in allocate()
[all …]
DPoolAlloc.h164 friend struct tHeader;
166 struct tHeader { struct
167 tHeader(tHeader* nextPage, size_t pageCount) : in tHeader() function
175 ~tHeader() { in ~tHeader() argument
182 tHeader* nextPage; argument
191 tHeader* page; argument
196 void* initializeAllocation(tHeader* block, unsigned char* memory, size_t numBytes) { in initializeAllocation()
213 tHeader* freeList; // list of popped memory
214 tHeader* inUseList; // list of all memory currently being used