Home | History | Annotate | Download | only in utils

Lines Matching defs:mPtr

61     explicit UniquePtr(T* ptr = NULL) : mPtr(ptr) {
69 T& operator*() const { return *mPtr; }
70 T* operator->() const { return mPtr; }
71 T* get() const { return mPtr; }
76 T* result = mPtr;
77 mPtr = NULL;
85 if (ptr != mPtr) {
86 D()(mPtr);
87 mPtr = ptr;
93 T* mPtr;
109 explicit UniquePtr(T* ptr = NULL) : mPtr(ptr) {
117 return mPtr[i];
119 T* get() const { return mPtr; }
122 T* result = mPtr;
123 mPtr = NULL;
128 if (ptr != mPtr) {
129 D()(mPtr);
130 mPtr = ptr;
135 T* mPtr;