Home | History | Annotate | Download | only in server

Lines Matching refs:other

67     sp(T* other);
68 sp(const sp<T>& other);
69 template<typename U> sp(U* other);
70 template<typename U> sp(const sp<U>& other);
76 sp& operator = (T* other);
77 sp& operator = (const sp<T>& other);
79 template<typename U> sp& operator = (const sp<U>& other);
80 template<typename U> sp& operator = (U* other);
83 void force_set(T* other);
120 sp<T>::sp(T* other)
121 : m_ptr(other)
123 if (other) other->incStrong(this);
127 sp<T>::sp(const sp<T>& other)
128 : m_ptr(other.m_ptr)
134 sp<T>::sp(U* other) : m_ptr(other)
136 if (other) ((T*)other)->incStrong(this);
140 sp<T>::sp(const sp<U>& other)
141 : m_ptr(other.m_ptr)
153 sp<T>& sp<T>::operator = (const sp<T>& other) {
154 T* otherPtr(other.m_ptr);
162 sp<T>& sp<T>::operator = (T* other)
164 if (other) other->incStrong(this);
166 m_ptr = other;
171 sp<T>& sp<T>::operator = (const sp<U>& other)
173 T* otherPtr(other.m_ptr);
181 sp<T>& sp<T>::operator = (U* other)
183 if (other) ((T*)other)->incStrong(this);
185 m_ptr = other;
190 void sp<T>::force_set(T* other)
192 other->forceIncStrong(this);
193 m_ptr = other;