Home | History | Annotate | Download | only in util

Lines Matching refs:sp

38 inline bool operator _op_ (const sp<T>& o) const {              \
45 inline bool operator _op_ (const sp<U>& o) const { \
63 class sp
66 inline sp() : m_ptr(0) { }
68 sp(T* other);
69 sp(const sp<T>& other);
70 template<typename U> sp(U* other);
71 template<typename U> sp(const sp<U>& other);
73 ~sp();
77 sp& operator = (T* other);
78 sp& operator = (const sp<T>& other);
80 template<typename U> sp& operator = (const sp<U>& other);
81 template<typename U> sp& operator = (U* other);
106 template<typename Y> friend class sp;
115 TextOutput& operator<<(TextOutput& to, const sp<T>& val);
121 sp<T>::sp(T* other)
128 sp<T>::sp(const sp<T>& other)
135 sp<T>::sp(U* other) : m_ptr(other)
141 sp<T>::sp(const sp<U>& other)
148 sp<T>::~sp()
154 sp<T>& sp<T>::operator = (const sp<T>& other) {
163 sp<T>& sp<T>::operator = (T* other)
172 sp<T>& sp<T>::operator = (const sp<U>& other)
182 sp<T>& sp<T>::operator = (U* other)
191 void sp<T>::force_set(T* other)
198 void sp<T>::clear()
207 void sp<T>::set_pointer(T* ptr) {
212 inline TextOutput& operator<<(TextOutput& to, const sp<T>& val)