Lines Matching refs:mRawPtr
63 return NS_REINTERPRET_CAST(void**, &mRawPtr);
69 T* oldPtr = mRawPtr;
70 mRawPtr = newPtr;
75 T* mRawPtr;
82 delete mRawPtr;
88 : mRawPtr(0)
94 : mRawPtr(aRawPtr)
100 : mRawPtr( aSmartPtr.forget() )
133 return mRawPtr;
153 T* temp = mRawPtr;
154 mRawPtr = 0;
161 NS_PRECONDITION(mRawPtr != 0, "You can't dereference a NULL nsAutoPtr with operator->().");
200 NS_PRECONDITION(mRawPtr != 0, "You can't dereference a NULL nsAutoPtr with operator*().");
211 return NS_REINTERPRET_CAST(T**, &mRawPtr);
483 return NS_REINTERPRET_CAST(void**, &mRawPtr);
489 T* oldPtr = mRawPtr;
490 mRawPtr = newPtr;
495 T* mRawPtr;
502 delete [] mRawPtr;
508 : mRawPtr(0)
514 : mRawPtr(aRawPtr)
520 : mRawPtr( aSmartPtr.forget() )
553 return mRawPtr;
573 T* temp = mRawPtr;
574 mRawPtr = 0;
581 NS_PRECONDITION(mRawPtr != 0, "You can't dereference a NULL nsAutoArrayPtr with operator->().");
620 NS_PRECONDITION(mRawPtr != 0, "You can't dereference a NULL nsAutoArrayPtr with operator*().");
631 return NS_REINTERPRET_CAST(T**, &mRawPtr);
913 return NS_REINTERPRET_CAST(void**, &mRawPtr);
919 T* oldPtr = mRawPtr;
920 mRawPtr = newPtr;
926 T* mRawPtr;
933 if ( mRawPtr )
934 mRawPtr->Release();
940 : mRawPtr(0)
946 : mRawPtr(aSmartPtr.mRawPtr)
949 if ( mRawPtr )
950 mRawPtr->AddRef();
954 : mRawPtr(aRawPtr)
957 if ( mRawPtr )
958 mRawPtr->AddRef();
962 : mRawPtr(aSmartPtr.mRawPtr)
973 assign_with_AddRef(rhs.mRawPtr);
989 assign_assuming_AddRef(rhs.mRawPtr);
999 T* temp = rhs.mRawPtr;
1000 rhs.mRawPtr = mRawPtr;
1001 mRawPtr = temp;
1009 rhs = mRawPtr;
1010 mRawPtr = temp;
1023 NS_REINTERPRET_CAST(const nsDerivedSafe<T>*, mRawPtr));
1041 NS_PRECONDITION(mRawPtr != 0, "You can't dereference a NULL nsRefPtr with operator->().");
1080 NS_PRECONDITION(mRawPtr != 0, "You can't dereference a NULL nsRefPtr with operator*().");
1091 return NS_REINTERPRET_CAST(T**, &mRawPtr);