Lines Matching refs:other

205     wp(T* other);
206 wp(const wp<T>& other);
207 wp(const sp<T>& other);
208 template<typename U> wp(U* other);
209 template<typename U> wp(const sp<U>& other);
210 template<typename U> wp(const wp<U>& other);
216 wp& operator = (T* other);
217 wp& operator = (const wp<T>& other);
218 wp& operator = (const sp<T>& other);
220 template<typename U> wp& operator = (U* other);
221 template<typename U> wp& operator = (const wp<U>& other);
222 template<typename U> wp& operator = (const sp<U>& other);
224 void set_object_and_refs(T* other, weakref_type* refs);
296 wp<T>::wp(T* other)
297 : m_ptr(other)
299 if (other) m_refs = other->createWeak(this);
303 wp<T>::wp(const wp<T>& other)
304 : m_ptr(other.m_ptr), m_refs(other.m_refs)
310 wp<T>::wp(const sp<T>& other)
311 : m_ptr(other.m_ptr)
319 wp<T>::wp(U* other)
320 : m_ptr(other)
322 if (other) m_refs = other->createWeak(this);
326 wp<T>::wp(const wp<U>& other)
327 : m_ptr(other.m_ptr)
330 m_refs = other.m_refs;
336 wp<T>::wp(const sp<U>& other)
337 : m_ptr(other.m_ptr)
351 wp<T>& wp<T>::operator = (T* other)
354 other ? other->createWeak(this) : 0;
356 m_ptr = other;
362 wp<T>& wp<T>::operator = (const wp<T>& other)
364 weakref_type* otherRefs(other.m_refs);
365 T* otherPtr(other.m_ptr);
374 wp<T>& wp<T>::operator = (const sp<T>& other)
377 other != NULL ? other->createWeak(this) : 0;
378 T* otherPtr(other.m_ptr);
386 wp<T>& wp<T>::operator = (U* other)
389 other ? other->createWeak(this) : 0;
391 m_ptr = other;
397 wp<T>& wp<T>::operator = (const wp<U>& other)
399 weakref_type* otherRefs(other.m_refs);
400 U* otherPtr(other.m_ptr);
409 wp<T>& wp<T>::operator = (const sp<U>& other)
412 other != NULL ? other->createWeak(this) : 0;
413 U* otherPtr(other.m_ptr);
421 void wp<T>::set_object_and_refs(T* other, weakref_type* refs)
423 if (other) refs->incWeak(this);
425 m_ptr = other;