Home | History | Annotate | Download | only in include

Lines Matching defs:mPtr

53     explicit UniquePtr(T* ptr = NULL) : mPtr(ptr) {
61 T& operator*() const { return *mPtr; }
62 T* operator->() const { return mPtr; }
63 T* get() const { return mPtr; }
68 T* result = mPtr;
69 mPtr = NULL;
77 if (ptr != mPtr) {
78 D()(mPtr);
79 mPtr = ptr;
85 T* mPtr;
101 explicit UniquePtr(T* ptr = NULL) : mPtr(ptr) {
109 return mPtr[i];
111 T* get() const { return mPtr; }
114 T* result = mPtr;
115 mPtr = NULL;
120 if (ptr != mPtr) {
121 D()(mPtr);
122 mPtr = ptr;
127 T* mPtr;