• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/libstdc++/include/tr1/

Lines Matching defs:_M_ptr

242       : _M_ptr(__p), _M_del(__d) { }
246 { _M_del(_M_ptr); }
256 _Ptr _M_ptr; // copy constructor must not throw
512 : _M_ptr(0), _M_refcount() // never throws
523 : _M_ptr(__p), _M_refcount(__p, _Sp_deleter<_Tp1>())
544 : _M_ptr(__p), _M_refcount(__p, __d)
562 : _M_ptr(__r._M_ptr), _M_refcount(__r._M_refcount) // never throws
578 // It is now safe to copy __r._M_ptr, as _M_refcount(__r._M_refcount)
580 _M_ptr = __r._M_ptr;
589 : _M_ptr(__r.get()), _M_refcount()
600 : _M_ptr(static_cast<element_type*>(__r._M_ptr)),
606 : _M_ptr(const_cast<element_type*>(__r._M_ptr)),
612 : _M_ptr(dynamic_cast<element_type*>(__r._M_ptr)),
615 if (_M_ptr == 0) // need to allocate new counter -- the cast failed
623 _M_ptr = __r._M_ptr;
645 _GLIBCXX_DEBUG_ASSERT(__p == 0 || __p != _M_ptr);
658 _GLIBCXX_DEBUG_ASSERT(_M_ptr != 0);
659 return *_M_ptr;
665 _GLIBCXX_DEBUG_ASSERT(_M_ptr != 0);
666 return _M_ptr;
671 { return _M_ptr; }
679 { return _M_ptr == 0 ? 0 : &__shared_ptr::_M_ptr; }
692 std::swap(_M_ptr, __other._M_ptr);
728 _Tp* _M_ptr; // Contained pointer.
793 : _M_ptr(0), _M_refcount() // never throws
802 // : _M_ptr(__r._M_ptr), _M_refcount(__r._M_refcount) // never throws
807 // __r._M_ptr may already have been invalidated. The _M_ptr(__r._M_ptr)
808 // conversion may require access to *__r._M_ptr (virtual inheritance).
811 // in multithreaded programs __r._M_ptr may be invalidated at any point.
817 _M_ptr = __r.lock().get();
822 : _M_ptr(__r._M_ptr), _M_refcount(__r._M_refcount) // never throws
829 _M_ptr = __r.lock().get();
838 _M_ptr = __r._M_ptr;
886 std::swap(_M_ptr, __s._M_ptr);
895 _M_ptr = __ptr;
915 _Tp* _M_ptr; // Contained pointer.