Lines Matching refs:pAllocator
46 static SharedPtrCount* Create( nw::os::IAllocator* pAllocator = NULL )
48 if ( pAllocator )
50 void* buf = pAllocator->Alloc( sizeof(SharedPtrCount) );
51 return new(buf) SharedPtrCount( pAllocator );
145 /* ctor */ SharedPtrCount( nw::os::IAllocator* pAllocator ) in SharedPtrCount() argument
148 m_pAllocator( pAllocator ) in SharedPtrCount()
201 …/* ctor */ explicit SharedPtr(TObj* pObj, nw::os::IAllocator* pAllocator = NULL, SharedPtrCount<TL…
204 m_pAllocator( pAllocator ) in m_pObj()
214 m_pCnt = SharedPtrCount<TLockObject>::Create( pAllocator ); in m_pObj()
337 …SharedPtr& Reset(TObj* pObj = NULL, nw::os::IAllocator* pAllocator = NULL, SharedPtrCount<…
339 SharedPtr(pObj, pAllocator, pCnt).SwapObjPtr(*this);