Lines Matching refs:other

206     explicit wp(T* other);
207 wp(const wp<T>& other);
208 explicit wp(const sp<T>& other);
209 template<typename U> explicit wp(U* other);
210 template<typename U> explicit wp(const sp<U>& other);
211 template<typename U> explicit wp(const wp<U>& other);
217 wp& operator = (T* other);
218 wp& operator = (const wp<T>& other);
219 wp& operator = (const sp<T>& other);
221 template<typename U> wp& operator = (U* other);
222 template<typename U> wp& operator = (const wp<U>& other);
223 template<typename U> wp& operator = (const sp<U>& other);
225 void set_object_and_refs(T* other, weakref_type* refs);
297 wp<T>::wp(T* other) in wp() argument
298 : m_ptr(other) in wp()
300 if (other) m_refs = other->createWeak(this); in wp()
304 wp<T>::wp(const wp<T>& other) in wp() argument
305 : m_ptr(other.m_ptr), m_refs(other.m_refs) in wp()
311 wp<T>::wp(const sp<T>& other) in wp() argument
312 : m_ptr(other.m_ptr) in wp()
320 wp<T>::wp(U* other) in wp() argument
321 : m_ptr(other) in wp()
323 if (other) m_refs = other->createWeak(this); in wp()
327 wp<T>::wp(const wp<U>& other) in wp() argument
328 : m_ptr(other.m_ptr) in wp()
331 m_refs = other.m_refs; in wp()
337 wp<T>::wp(const sp<U>& other) in wp() argument
338 : m_ptr(other.m_ptr) in wp()
352 wp<T>& wp<T>::operator = (T* other)
355 other ? other->createWeak(this) : 0;
357 m_ptr = other;
363 wp<T>& wp<T>::operator = (const wp<T>& other)
365 weakref_type* otherRefs(other.m_refs);
366 T* otherPtr(other.m_ptr);
375 wp<T>& wp<T>::operator = (const sp<T>& other)
378 other != NULL ? other->createWeak(this) : NULL;
379 T* otherPtr(other.m_ptr);
387 wp<T>& wp<T>::operator = (U* other)
390 other ? other->createWeak(this) : NULL;
392 m_ptr = other;
398 wp<T>& wp<T>::operator = (const wp<U>& other)
400 weakref_type* otherRefs(other.m_refs);
401 U* otherPtr(other.m_ptr);
410 wp<T>& wp<T>::operator = (const sp<U>& other)
413 other != NULL ? other->createWeak(this) : NULL;
414 U* otherPtr(other.m_ptr);
422 void wp<T>::set_object_and_refs(T* other, weakref_type* refs) in set_object_and_refs() argument
424 if (other) refs->incWeak(this); in set_object_and_refs()
426 m_ptr = other; in set_object_and_refs()