Lines Matching refs:T

39 inline bool operator _op_ (const sp<T>& o) const {              \
42 inline bool operator _op_ (const T* o) const { \
173 template <class T>
184 delete static_cast<const T*>(this); in decStrong()
192 typedef LightRefBase<T> basetype;
200 inline static void renameRefId(T* ref, in renameRefId()
216 template <typename T>
224 wp(T* other);
225 wp(const wp<T>& other);
226 wp(const sp<T>& other);
235 wp& operator = (T* other);
236 wp& operator = (const wp<T>& other);
237 wp& operator = (const sp<T>& other);
243 void set_object_and_refs(T* other, weakref_type* refs);
247 sp<T> promote() const;
257 inline T* unsafe_get() const { return m_ptr; } in unsafe_get()
268 inline bool operator == (const wp<T>& o) const {
276 inline bool operator > (const wp<T>& o) const {
284 inline bool operator < (const wp<T>& o) const {
291 … inline bool operator != (const wp<T>& o) const { return m_refs != o.m_refs; }
293 inline bool operator <= (const wp<T>& o) const { return !operator > (o); }
295 inline bool operator >= (const wp<T>& o) const { return !operator < (o); }
302 T* m_ptr;
306 template <typename T>
307 TextOutput& operator<<(TextOutput& to, const wp<T>& val);
314 template<typename T>
315 wp<T>::wp(T* other) in wp()
321 template<typename T>
322 wp<T>::wp(const wp<T>& other) in wp()
328 template<typename T>
329 wp<T>::wp(const sp<T>& other) in wp()
337 template<typename T> template<typename U>
338 wp<T>::wp(U* other) in wp()
344 template<typename T> template<typename U>
345 wp<T>::wp(const wp<U>& other) in wp()
354 template<typename T> template<typename U>
355 wp<T>::wp(const sp<U>& other) in wp()
363 template<typename T>
364 wp<T>::~wp() in ~wp()
369 template<typename T>
370 wp<T>& wp<T>::operator = (T* other)
380 template<typename T>
381 wp<T>& wp<T>::operator = (const wp<T>& other)
384 T* otherPtr(other.m_ptr);
392 template<typename T>
393 wp<T>& wp<T>::operator = (const sp<T>& other)
397 T* otherPtr(other.m_ptr);
404 template<typename T> template<typename U>
405 wp<T>& wp<T>::operator = (U* other)
415 template<typename T> template<typename U>
416 wp<T>& wp<T>::operator = (const wp<U>& other)
427 template<typename T> template<typename U>
428 wp<T>& wp<T>::operator = (const sp<U>& other)
439 template<typename T>
440 void wp<T>::set_object_and_refs(T* other, weakref_type* refs) in set_object_and_refs()
448 template<typename T>
449 sp<T> wp<T>::promote() const in promote()
451 sp<T> result; in promote()
458 template<typename T>
459 void wp<T>::clear() in clear()
467 template <typename T>
468 inline TextOutput& operator<<(TextOutput& to, const wp<T>& val)