Lines Matching refs:PoolIndex
25 OS_TLSIndex PoolIndex = OS_INVALID_TLS_INDEX; variable
29 assert(PoolIndex == OS_INVALID_TLS_INDEX); in InitializePoolIndex()
31 PoolIndex = OS_AllocTLSIndex(); in InitializePoolIndex()
32 return PoolIndex != OS_INVALID_TLS_INDEX; in InitializePoolIndex()
37 assert(PoolIndex != OS_INVALID_TLS_INDEX); in FreePoolIndex()
39 OS_FreeTLSIndex(PoolIndex); in FreePoolIndex()
40 PoolIndex = OS_INVALID_TLS_INDEX; in FreePoolIndex()
45 assert(PoolIndex != OS_INVALID_TLS_INDEX); in GetGlobalPoolAllocator()
46 return static_cast<TPoolAllocator*>(OS_GetTLSValue(PoolIndex)); in GetGlobalPoolAllocator()
51 assert(PoolIndex != OS_INVALID_TLS_INDEX); in SetGlobalPoolAllocator()
52 OS_SetTLSValue(PoolIndex, poolAllocator); in SetGlobalPoolAllocator()