Lines Matching refs:pAllocator
44 static SharedPtrCount* Create( nw::os::IAllocator* pAllocator = NULL )
46 if ( pAllocator )
48 void* buf = pAllocator->Alloc( sizeof(SharedPtrCount) );
49 return new(buf) SharedPtrCount( pAllocator );
143 /* ctor */ SharedPtrCount( nw::os::IAllocator* pAllocator ) in SharedPtrCount() argument
146 m_pAllocator( pAllocator ) in SharedPtrCount()
199 …/* ctor */ explicit SharedPtr(TObj* pObj, nw::os::IAllocator* pAllocator = NULL, SharedPtrCount<TL…
202 m_pAllocator( pAllocator ) in m_pObj()
212 m_pCnt = SharedPtrCount<TLockObject>::Create( pAllocator ); in m_pObj()
335 …SharedPtr& Reset(TObj* pObj = NULL, nw::os::IAllocator* pAllocator = NULL, SharedPtrCount<…
337 SharedPtr(pObj, pAllocator, pCnt).SwapObjPtr(*this);