Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/compiler/
DPoolAlloc.cpp78 currentPageOffset = pageSize; in TPoolAllocator()
161 tAllocState state = { currentPageOffset, inUseList }; in push()
168 currentPageOffset = pageSize; in push()
184 currentPageOffset = stack.back().offset; in pop()
235 if (allocationSize <= pageSize - currentPageOffset) { in allocate()
239 unsigned char* memory = reinterpret_cast<unsigned char *>(inUseList) + currentPageOffset; in allocate()
240 currentPageOffset += allocationSize; in allocate()
241 currentPageOffset = (currentPageOffset + alignmentMask) & ~alignmentMask; in allocate()
264 currentPageOffset = pageSize; // make next allocation come from a new page in allocate()
288 currentPageOffset = (headerSkip + allocationSize + alignmentMask) & ~alignmentMask; in allocate()
DPoolAlloc.h212 size_t currentPageOffset; // next offset in top of inUseList to allocate from variable