Lines Matching refs:p_
47 T *p_;
53 AutoPtr () : p_ (0) { } in AutoPtr()
59 explicit AutoPtr (T *p) : p_( p ) { } in AutoPtr()
72 T *Get () const { return p_; } in Get()
94 T *operator-> () const { return p_; }
99 T &operator* () const { return *p_; }
105 T* temp = x.p_; in Swap()
106 x.p_ = y.p_; in Swap()
107 y.p_ = temp; in Swap()
127 delete p_; in ~AutoPtr() local
128 p_ = 0; in ~AutoPtr()
137 T *result = p_; in Release()
138 p_ = 0; in Release()
148 if (p_ != p) in Reset()
150 if (p_ != 0) in Reset()
151 delete p_; in Reset() local
152 p_ = p; in Reset()
163 if (p_ != 0) in Reset()
165 delete p_; in Reset() local
166 p_ = 0; in Reset()