• Home
  • Raw
  • Download

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>
183 delete static_cast<const T*>(this); in decStrong()
191 typedef LightRefBase<T> basetype;
199 inline static void renameRefId(T* ref, in renameRefId()
215 template <typename T>
223 wp(T* other);
224 wp(const wp<T>& other);
225 wp(const sp<T>& other);
234 wp& operator = (T* other);
235 wp& operator = (const wp<T>& other);
236 wp& operator = (const sp<T>& other);
242 void set_object_and_refs(T* other, weakref_type* refs);
246 sp<T> promote() const;
256 inline T* unsafe_get() const { return m_ptr; } in unsafe_get()
267 inline bool operator == (const wp<T>& o) const {
275 inline bool operator > (const wp<T>& o) const {
283 inline bool operator < (const wp<T>& o) const {
290 … inline bool operator != (const wp<T>& o) const { return m_refs != o.m_refs; }
292 inline bool operator <= (const wp<T>& o) const { return !operator > (o); }
294 inline bool operator >= (const wp<T>& o) const { return !operator < (o); }
301 T* m_ptr;
305 template <typename T>
306 TextOutput& operator<<(TextOutput& to, const wp<T>& val);
313 template<typename T>
314 wp<T>::wp(T* other) in wp()
320 template<typename T>
321 wp<T>::wp(const wp<T>& other) in wp()
327 template<typename T>
328 wp<T>::wp(const sp<T>& other) in wp()
336 template<typename T> template<typename U>
337 wp<T>::wp(U* other) in wp()
343 template<typename T> template<typename U>
344 wp<T>::wp(const wp<U>& other) in wp()
353 template<typename T> template<typename U>
354 wp<T>::wp(const sp<U>& other) in wp()
362 template<typename T>
363 wp<T>::~wp() in ~wp()
368 template<typename T>
369 wp<T>& wp<T>::operator = (T* other)
379 template<typename T>
380 wp<T>& wp<T>::operator = (const wp<T>& other)
383 T* otherPtr(other.m_ptr);
391 template<typename T>
392 wp<T>& wp<T>::operator = (const sp<T>& other)
396 T* otherPtr(other.m_ptr);
403 template<typename T> template<typename U>
404 wp<T>& wp<T>::operator = (U* other)
414 template<typename T> template<typename U>
415 wp<T>& wp<T>::operator = (const wp<U>& other)
426 template<typename T> template<typename U>
427 wp<T>& wp<T>::operator = (const sp<U>& other)
438 template<typename T>
439 void wp<T>::set_object_and_refs(T* other, weakref_type* refs) in set_object_and_refs()
447 template<typename T>
448 sp<T> wp<T>::promote() const in promote()
450 sp<T> result; in promote()
457 template<typename T>
458 void wp<T>::clear() in clear()
466 template <typename T>
467 inline TextOutput& operator<<(TextOutput& to, const wp<T>& val)