Home
last modified time | relevance | path

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

/external/deqp-deps/glslang/glslang/MachineIndependent/
DPoolAlloc.cpp109 headerSkip = minAlign; in TPoolAllocator()
110 if (headerSkip < sizeof(tHeader)) { in TPoolAllocator()
111 headerSkip = (sizeof(tHeader) + alignmentMask) & ~alignmentMask; in TPoolAllocator()
263 if (allocationSize + headerSkip > pageSize) { in allocate()
268 size_t numBytesToAlloc = allocationSize + headerSkip; in allocate()
280 return reinterpret_cast<void*>(reinterpret_cast<UINT_PTR>(memory) + headerSkip); in allocate()
300 unsigned char* ret = reinterpret_cast<unsigned char*>(inUseList) + headerSkip; in allocate()
301 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask; in allocate()
/external/swiftshader/src/OpenGL/compiler/
DPoolAlloc.cpp101 headerSkip = minAlign; in TPoolAllocator()
102 if (headerSkip < sizeof(tHeader)) { in TPoolAllocator()
103 headerSkip = (sizeof(tHeader) + alignmentMask) & ~alignmentMask; in TPoolAllocator()
274 if (allocationSize > pageSize - headerSkip) { in allocate()
279 size_t numBytesToAlloc = allocationSize + headerSkip; in allocate()
295 return reinterpret_cast<void*>(reinterpret_cast<uintptr_t>(memory) + headerSkip); in allocate()
315 unsigned char* ret = reinterpret_cast<unsigned char *>(inUseList) + headerSkip; in allocate()
316 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask; in allocate()
DPoolAlloc.h211 size_t headerSkip; // amount of memory to skip to make room for the variable
/external/deqp-deps/glslang/glslang/Include/
DPoolAlloc.h233 size_t headerSkip; // amount of memory to skip to make room for the in initializeAllocation() variable