Lines Matching refs:wp
216 class wp
221 inline wp() : m_ptr(0) { } in wp() function
223 wp(T* other);
224 wp(const wp<T>& other);
225 wp(const sp<T>& other);
226 template<typename U> wp(U* other);
227 template<typename U> wp(const sp<U>& other);
228 template<typename U> wp(const wp<U>& other);
230 ~wp();
234 wp& operator = (T* other);
235 wp& operator = (const wp<T>& other);
236 wp& operator = (const sp<T>& other);
238 template<typename U> wp& operator = (U* other);
239 template<typename U> wp& operator = (const wp<U>& other);
240 template<typename U> wp& operator = (const sp<U>& other);
267 inline bool operator == (const wp<T>& o) const {
271 inline bool operator == (const wp<U>& o) const {
275 inline bool operator > (const wp<T>& o) const {
279 inline bool operator > (const wp<U>& o) const {
283 inline bool operator < (const wp<T>& o) const {
287 inline bool operator < (const wp<U>& o) const {
290 … inline bool operator != (const wp<T>& o) const { return m_refs != o.m_refs; }
291 template<typename U> inline bool operator != (const wp<U>& o) const { return !operator == (o); }
292 inline bool operator <= (const wp<T>& o) const { return !operator > (o); }
293 template<typename U> inline bool operator <= (const wp<U>& o) const { return !operator > (o); }
294 inline bool operator >= (const wp<T>& o) const { return !operator < (o); }
295 template<typename U> inline bool operator >= (const wp<U>& o) const { return !operator < (o); }
299 template<typename Y> friend class wp; variable
306 TextOutput& operator<<(TextOutput& to, const wp<T>& val);
314 wp<T>::wp(T* other) in wp() function
321 wp<T>::wp(const wp<T>& other) in wp() function
328 wp<T>::wp(const sp<T>& other) in wp() function
337 wp<T>::wp(U* other) in wp() function
344 wp<T>::wp(const wp<U>& other) in wp() function
354 wp<T>::wp(const sp<U>& other) in wp() function
363 wp<T>::~wp() in ~wp()
369 wp<T>& wp<T>::operator = (T* other)
380 wp<T>& wp<T>::operator = (const wp<T>& other)
392 wp<T>& wp<T>::operator = (const sp<T>& other)
404 wp<T>& wp<T>::operator = (U* other)
415 wp<T>& wp<T>::operator = (const wp<U>& other)
427 wp<T>& wp<T>::operator = (const sp<U>& other)
439 void wp<T>::set_object_and_refs(T* other, weakref_type* refs) in set_object_and_refs()
448 sp<T> wp<T>::promote() const in promote()
458 void wp<T>::clear() in clear()
467 inline TextOutput& operator<<(TextOutput& to, const wp<T>& val)
504 void move_references(wp<TYPE>* d, wp<TYPE> const* s, size_t n) { in move_references()
507 wp<TYPE>* d; in move_references()
508 wp<TYPE> const* s; in move_references()
514 Renamer(wp<TYPE>* d, wp<TYPE> const* s) : d(d), s(s) { } in move_references()
518 memmove(d, s, n*sizeof(wp<TYPE>)); in move_references()
541 void move_forward_type(wp<TYPE>* d, wp<TYPE> const* s, size_t n) { in move_forward_type()
546 void move_backward_type(wp<TYPE>* d, wp<TYPE> const* s, size_t n) { in move_backward_type()