Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/compiler/
DPoolAlloc.cpp97 headerSkip = minAlign; in TPoolAllocator()
98 if (headerSkip < sizeof(tHeader)) { in TPoolAllocator()
99 headerSkip = (sizeof(tHeader) + alignmentMask) & ~alignmentMask; in TPoolAllocator()
246 if (allocationSize > pageSize - headerSkip) { in allocate()
251 size_t numBytesToAlloc = allocationSize + headerSkip; in allocate()
267 return reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(memory) + headerSkip); in allocate()
287 unsigned char* ret = reinterpret_cast<unsigned char *>(inUseList) + headerSkip; in allocate()
288 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask; in allocate()
DPoolAlloc.h209 size_t headerSkip; // amount of memory to skip to make room for the variable