Lines Matching refs:other
204 wp(T* other);
205 wp(const wp<T>& other);
206 wp(const sp<T>& other);
207 template<typename U> wp(U* other);
208 template<typename U> wp(const sp<U>& other);
209 template<typename U> wp(const wp<U>& other);
215 wp& operator = (T* other);
216 wp& operator = (const wp<T>& other);
217 wp& operator = (const sp<T>& other);
219 template<typename U> wp& operator = (U* other);
220 template<typename U> wp& operator = (const wp<U>& other);
221 template<typename U> wp& operator = (const sp<U>& other);
223 void set_object_and_refs(T* other, weakref_type* refs);
295 wp<T>::wp(T* other) in wp() argument
296 : m_ptr(other) in wp()
298 if (other) m_refs = other->createWeak(this); in wp()
302 wp<T>::wp(const wp<T>& other) in wp() argument
303 : m_ptr(other.m_ptr), m_refs(other.m_refs) in wp()
309 wp<T>::wp(const sp<T>& other) in wp() argument
310 : m_ptr(other.m_ptr) in wp()
318 wp<T>::wp(U* other) in wp() argument
319 : m_ptr(other) in wp()
321 if (other) m_refs = other->createWeak(this); in wp()
325 wp<T>::wp(const wp<U>& other) in wp() argument
326 : m_ptr(other.m_ptr) in wp()
329 m_refs = other.m_refs; in wp()
335 wp<T>::wp(const sp<U>& other) in wp() argument
336 : m_ptr(other.m_ptr) in wp()
350 wp<T>& wp<T>::operator = (T* other)
353 other ? other->createWeak(this) : 0;
355 m_ptr = other;
361 wp<T>& wp<T>::operator = (const wp<T>& other)
363 weakref_type* otherRefs(other.m_refs);
364 T* otherPtr(other.m_ptr);
373 wp<T>& wp<T>::operator = (const sp<T>& other)
376 other != NULL ? other->createWeak(this) : 0;
377 T* otherPtr(other.m_ptr);
385 wp<T>& wp<T>::operator = (U* other)
388 other ? other->createWeak(this) : 0;
390 m_ptr = other;
396 wp<T>& wp<T>::operator = (const wp<U>& other)
398 weakref_type* otherRefs(other.m_refs);
399 U* otherPtr(other.m_ptr);
408 wp<T>& wp<T>::operator = (const sp<U>& other)
411 other != NULL ? other->createWeak(this) : 0;
412 U* otherPtr(other.m_ptr);
420 void wp<T>::set_object_and_refs(T* other, weakref_type* refs) in set_object_and_refs() argument
422 if (other) refs->incWeak(this); in set_object_and_refs()
424 m_ptr = other; in set_object_and_refs()