Home | History | Annotate | Download | only in wtf

Lines Matching refs:optr

135         PtrType optr = o.get();
136 if (optr)
137 CFRetain(optr);
139 m_ptr = optr;
147 PtrType optr = o.get();
148 if (optr)
149 CFRetain(optr);
151 m_ptr = optr;
157 template<typename T> inline RetainPtr<T>& RetainPtr<T>::operator=(PtrType optr)
159 if (optr)
160 CFRetain(optr);
162 m_ptr = optr;
168 template<typename T> inline void RetainPtr<T>::adoptCF(PtrType optr)
171 m_ptr = optr;
176 template<typename T> inline void RetainPtr<T>::adoptNS(PtrType optr)
178 adoptNSReference(optr);
181 m_ptr = optr;
186 template<typename T> template<typename U> inline RetainPtr<T>& RetainPtr<T>::operator=(U* optr)
188 if (optr)
189 CFRetain(optr);
191 m_ptr = optr;