Lines Matching refs:ptr
41 char* ptr = static_cast<char*>( ut::RoundUp( buffer, 4 ) ); in CreateImpl() local
43 u32 numObjects = ( size - ( ptr - static_cast<char*>(buffer) ) ) / objSize; in CreateImpl()
47 PoolImpl *head = reinterpret_cast<PoolImpl*>( ptr ); in CreateImpl()
50 ptr += objSize; in CreateImpl()
71 PoolImpl* ptr = m_pNext; in DestroyImpl() local
73 while ( ptr != NULL ) in DestroyImpl()
75 if ( ( begin <= ptr ) && ( ptr < end ) ) in DestroyImpl()
77 prev->m_pNext = ptr->m_pNext; in DestroyImpl()
81 prev = ptr; in DestroyImpl()
83 ptr = ptr->m_pNext; in DestroyImpl()
99 for ( PoolImpl* ptr = m_pNext; ptr != NULL; ptr = ptr->m_pNext ) in CountImpl() local
132 void PoolImpl::FreeImpl( void* ptr ) in FreeImpl() argument
134 PoolImpl* head = reinterpret_cast<PoolImpl*>( ptr ); in FreeImpl()