Home | History | Annotate | Download | only in cpp

Lines Matching refs:optr

115     PtrType optr = o.get();
116 if (optr)
117 WKRetain(optr);
119 m_ptr = optr;
127 PtrType optr = o.get();
128 if (optr)
129 WKRetain(optr);
131 m_ptr = optr;
137 template<typename T> inline WKRetainPtr<T>& WKRetainPtr<T>::operator=(PtrType optr)
139 if (optr)
140 WKRetain(optr);
142 m_ptr = optr;
148 template<typename T> inline void WKRetainPtr<T>::adopt(PtrType optr)
151 m_ptr = optr;
156 template<typename T> template<typename U> inline WKRetainPtr<T>& WKRetainPtr<T>::operator=(U* optr)
158 if (optr)
159 WKRetain(optr);
161 m_ptr = optr;