Lines Matching refs:ptr
43 char* ptr = static_cast<char*>( ut::RoundUp( buffer, 4 ) ); in CreateImpl() local
45 u32 numObjects = ( size - ( ptr - static_cast<char*>(buffer) ) ) / objSize; in CreateImpl()
49 PoolImpl *head = reinterpret_cast<PoolImpl*>( ptr ); in CreateImpl()
52 ptr += objSize; in CreateImpl()
73 PoolImpl* ptr = m_pNext; in DestroyImpl() local
75 while ( ptr != NULL ) in DestroyImpl()
77 if ( ( begin <= ptr ) && ( ptr < end ) ) in DestroyImpl()
79 prev->m_pNext = ptr->m_pNext; in DestroyImpl()
83 prev = ptr; in DestroyImpl()
85 ptr = ptr->m_pNext; in DestroyImpl()
101 for ( PoolImpl* ptr = m_pNext; ptr != NULL; ptr = ptr->m_pNext ) in CountImpl() local
134 void PoolImpl::FreeImpl( void* ptr ) in FreeImpl() argument
136 PoolImpl* head = reinterpret_cast<PoolImpl*>( ptr ); in FreeImpl()