Lines Matching refs:wp
199 class wp
204 inline wp() : m_ptr(0) { } in wp() function
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);
213 ~wp();
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);
250 inline bool operator == (const wp<T>& o) const {
254 inline bool operator == (const wp<U>& o) const {
258 inline bool operator > (const wp<T>& o) const {
262 inline bool operator > (const wp<U>& o) const {
266 inline bool operator < (const wp<T>& o) const {
270 inline bool operator < (const wp<U>& o) const {
273 … inline bool operator != (const wp<T>& o) const { return m_refs != o.m_refs; }
274 template<typename U> inline bool operator != (const wp<U>& o) const { return !operator == (o); }
275 inline bool operator <= (const wp<T>& o) const { return !operator > (o); }
276 template<typename U> inline bool operator <= (const wp<U>& o) const { return !operator > (o); }
277 inline bool operator >= (const wp<T>& o) const { return !operator < (o); }
278 template<typename U> inline bool operator >= (const wp<U>& o) const { return !operator < (o); }
282 template<typename Y> friend class wp; variable
289 TextOutput& operator<<(TextOutput& to, const wp<T>& val);
297 wp<T>::wp(T* other) in wp() function
304 wp<T>::wp(const wp<T>& other) in wp() function
311 wp<T>::wp(const sp<T>& other) in wp() function
320 wp<T>::wp(U* other) in wp() function
327 wp<T>::wp(const wp<U>& other) in wp() function
337 wp<T>::wp(const sp<U>& other) in wp() function
346 wp<T>::~wp() in ~wp()
352 wp<T>& wp<T>::operator = (T* other)
363 wp<T>& wp<T>::operator = (const wp<T>& other)
375 wp<T>& wp<T>::operator = (const sp<T>& other)
387 wp<T>& wp<T>::operator = (U* other)
398 wp<T>& wp<T>::operator = (const wp<U>& other)
410 wp<T>& wp<T>::operator = (const sp<U>& other)
422 void wp<T>::set_object_and_refs(T* other, weakref_type* refs) in set_object_and_refs()
431 sp<T> wp<T>::promote() const in promote()
441 void wp<T>::clear() in clear()
450 inline TextOutput& operator<<(TextOutput& to, const wp<T>& val)
476 virtual size_t getReferenceTypeSize() const { return sizeof( wp<TYPE> ); } in getReferenceTypeSize()
478 wp<TYPE> const* sptr(reinterpret_cast<wp<TYPE> const*>(p)); in getReferenceBase()
491 void move_references(wp<TYPE>* d, wp<TYPE> const* s, size_t n) { in move_references()
492 memmove(d, s, n*sizeof(wp<TYPE>)); in move_references()
516 void move_forward_type(wp<TYPE>* d, wp<TYPE> const* s, size_t n) { in move_forward_type()
521 void move_backward_type(wp<TYPE>* d, wp<TYPE> const* s, size_t n) { in move_backward_type()