Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/compiler/
DPoolAlloc.cpp279 size_t numBytesToAlloc = allocationSize + headerSkip; in allocate() local
281 if (numBytesToAlloc < allocationSize) in allocate()
284 tHeader* memory = reinterpret_cast<tHeader*>(::new char[numBytesToAlloc]); in allocate()
289 new(memory) tHeader(inUseList, (numBytesToAlloc + pageSize - 1) / pageSize); in allocate()
/external/deqp-deps/glslang/glslang/MachineIndependent/
DPoolAlloc.cpp268 size_t numBytesToAlloc = allocationSize + headerSkip; in allocate() local
269 tHeader* memory = reinterpret_cast<tHeader*>(::new char[numBytesToAlloc]); in allocate()
274 new(memory) tHeader(inUseList, (numBytesToAlloc + pageSize - 1) / pageSize); in allocate()