Lines Matching defs:sp
31 inline bool operator _op_ (const sp<T>& o) const { \
38 inline bool operator _op_ (const sp<U>& o) const { \
49 class sp
52 inline sp() : m_ptr(0) { }
54 sp(T* other); // NOLINT, implicit
55 sp(const sp<T>& other);
56 template<typename U> sp(U* other); // NOLINT, implicit
57 template<typename U> sp(const sp<U>& other); // NOLINT, implicit
59 ~sp();
63 sp& operator = (T* other);
64 sp& operator = (const sp<T>& other);
66 template<typename U> sp& operator = (const sp<U>& other);
67 template<typename U> sp& operator = (U* other);
88 template<typename Y> friend class sp;
97 sp<T>::sp(T* other)
104 sp<T>::sp(const sp<T>& other)
111 sp<T>::sp(U* other) : m_ptr(other)
117 sp<T>::sp(const sp<U>& other)
124 sp<T>::~sp()
130 sp<T>& sp<T>::operator = (const sp<T>& other) {
138 sp<T>& sp<T>::operator = (T* other)
147 sp<T>& sp<T>::operator = (const sp<U>& other)
156 sp<T>& sp<T>::operator = (U* other)
165 void sp<T>::clear()