Searched refs:tHeader (Results 1 – 4 of 4) sorted by relevance
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | PoolAlloc.cpp | 110 if (headerSkip < sizeof(tHeader)) { in TPoolAllocator() 111 headerSkip = (sizeof(tHeader) + alignmentMask) & ~alignmentMask; in TPoolAllocator() 120 tHeader* next = inUseList->nextPage; in ~TPoolAllocator() 121 inUseList->~tHeader(); in ~TPoolAllocator() 134 tHeader* next = freeList->nextPage; in ~TPoolAllocator() 200 tHeader* page = stack.back().page; in pop() 204 tHeader* nextInUse = inUseList->nextPage; in pop() 209 inUseList->~tHeader(); // currently, just a debug allocation checker in pop() 269 tHeader* memory = reinterpret_cast<tHeader*>(::new char[numBytesToAlloc]); in allocate() 274 new(memory) tHeader(inUseList, (numBytesToAlloc + pageSize - 1) / pageSize); in allocate() [all …]
|
/external/swiftshader/src/OpenGL/compiler/ |
D | PoolAlloc.cpp | 102 if (headerSkip < sizeof(tHeader)) { in TPoolAllocator() 103 headerSkip = (sizeof(tHeader) + alignmentMask) & ~alignmentMask; in TPoolAllocator() 114 tHeader* next = inUseList->nextPage; in ~TPoolAllocator() 115 inUseList->~tHeader(); in ~TPoolAllocator() 125 tHeader* next = freeList->nextPage; in ~TPoolAllocator() 204 tHeader* page = mStack.back().page; in pop() 209 inUseList->~tHeader(); in pop() 211 tHeader* nextInUse = inUseList->nextPage; in pop() 284 tHeader* memory = reinterpret_cast<tHeader*>(::new char[numBytesToAlloc]); in allocate() 289 new(memory) tHeader(inUseList, (numBytesToAlloc + pageSize - 1) / pageSize); in allocate() [all …]
|
D | PoolAlloc.h | 169 friend struct tHeader; 171 struct tHeader { struct 172 tHeader(tHeader* nextPage, size_t pageCount) : in tHeader() function 180 ~tHeader() { in ~tHeader() argument 187 tHeader* nextPage; argument 196 tHeader* page; argument 201 void* initializeAllocation(tHeader* block, unsigned char* memory, size_t numBytes) { in initializeAllocation() 215 tHeader* freeList; // list of popped memory 216 tHeader* inUseList; // list of all memory currently being used
|
/external/deqp-deps/glslang/glslang/Include/ |
D | PoolAlloc.h | 187 friend struct tHeader; 189 struct tHeader { struct 190 tHeader(tHeader* nextPage, size_t pageCount) : in tHeader() argument 196 ~tHeader() { in ~tHeader() argument 206 tHeader* nextPage; argument 212 tHeader* page; argument 218 void* initializeAllocation(tHeader*, unsigned char* memory, size_t) { in initializeAllocation() argument 220 void* initializeAllocation(tHeader* block, unsigned char* memory, size_t numBytes) { in initializeAllocation() 237 tHeader* freeList; // list of popped memory in initializeAllocation() 238 tHeader* inUseList; // list of all memory currently being used in initializeAllocation()
|