Home | History | Annotate | Download | only in util

Lines Matching refs:sp

39 inline bool operator _op_ (const sp<T>& o) const {              \
46 inline bool operator _op_ (const sp<U>& o) const { \
207 wp(const sp<T>& other);
209 template<typename U> wp(const sp<U>& other);
218 wp& operator = (const sp<T>& other);
222 template<typename U> wp& operator = (const sp<U>& other);
226 // promotion to sp
228 sp<T> promote() const;
280 template<typename Y> friend class sp;
310 wp<T>::wp(const sp<T>& other)
336 wp<T>::wp(const sp<U>& other)
374 wp<T>& wp<T>::operator = (const sp<T>& other)
409 wp<T>& wp<T>::operator = (const sp<U>& other)
430 sp<T> wp<T>::promote() const
432 sp<T> result;
466 virtual size_t getReferenceTypeSize() const { return sizeof( sp<TYPE> ); }
468 sp<TYPE> const* sptr(reinterpret_cast<sp<TYPE> const*>(p));
484 void move_references(sp<TYPE>* d, sp<TYPE> const* s, size_t n) {
485 memmove(d, s, n*sizeof(sp<TYPE>));
497 // specialization for moving sp<> and wp<> types.
499 // sp<> and wp<> need to be handled specially, because they do not
505 void move_forward_type(sp<TYPE>* d, sp<TYPE> const* s, size_t n) {
510 void move_backward_type(sp<TYPE>* d, sp<TYPE> const* s, size_t n) {