Home | History | Annotate | Download | only in nativehelper

Lines Matching defs:mPtr

54     explicit UniquePtr(T* ptr = NULL) : mPtr(ptr) {
62 T& operator*() const { return *mPtr; }
63 T* operator->() const { return mPtr; }
64 T* get() const { return mPtr; }
69 T* result = mPtr;
70 mPtr = NULL;
78 if (ptr != mPtr) {
79 D()(mPtr);
80 mPtr = ptr;
86 std::swap(mPtr, other.mPtr);
91 T* mPtr;
107 explicit UniquePtr(T* ptr = NULL) : mPtr(ptr) {
115 return mPtr[i];
117 T* get() const { return mPtr; }
120 T* result = mPtr;
121 mPtr = NULL;
126 if (ptr != mPtr) {
127 D()(mPtr);
128 mPtr = ptr;
133 T* mPtr;