Home
last modified time | relevance | path

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

/external/swiftshader/src/OpenGL/compiler/
DPoolAlloc.cpp26 OS_TLSIndex PoolIndex = OS_INVALID_TLS_INDEX; variable
30 assert(PoolIndex == OS_INVALID_TLS_INDEX); in InitializePoolIndex()
32 PoolIndex = OS_AllocTLSIndex(); in InitializePoolIndex()
33 return PoolIndex != OS_INVALID_TLS_INDEX; in InitializePoolIndex()
38 assert(PoolIndex != OS_INVALID_TLS_INDEX); in FreePoolIndex()
40 OS_FreeTLSIndex(PoolIndex); in FreePoolIndex()
41 PoolIndex = OS_INVALID_TLS_INDEX; in FreePoolIndex()
46 assert(PoolIndex != OS_INVALID_TLS_INDEX); in GetGlobalPoolAllocator()
47 return static_cast<TPoolAllocator*>(OS_GetTLSValue(PoolIndex)); in GetGlobalPoolAllocator()
52 assert(PoolIndex != OS_INVALID_TLS_INDEX); in SetGlobalPoolAllocator()
[all …]
/external/deqp-deps/glslang/glslang/MachineIndependent/
DPoolAlloc.cpp44 OS_TLSIndex PoolIndex; variable
49 return *static_cast<TPoolAllocator*>(OS_GetTLSValue(PoolIndex)); in GetThreadPoolAllocator()
55 OS_SetTLSValue(PoolIndex, poolAllocator); in SetThreadPoolAllocator()
62 if ((PoolIndex = OS_AllocTLSIndex()) == OS_INVALID_TLS_INDEX) in InitializePoolIndex()