Lines Matching refs:PoolIndex
26 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()
53 OS_SetTLSValue(PoolIndex, poolAllocator); in SetGlobalPoolAllocator()