Lines Matching refs:_M_pi
447 constexpr __shared_count() : _M_pi(0) // nothrow
452 __shared_count(_Ptr __p) : _M_pi(0)
456 _M_pi = new _Sp_counted_ptr<_Ptr, _Lp>(__p);
466 __shared_count(_Ptr __p, _Deleter __d) : _M_pi(0)
475 _M_pi = __a2.allocate(1);
476 ::new(static_cast<void*>(_M_pi)) _Sp_cd_type(__p, __d);
481 if (_M_pi)
482 __a2.deallocate(static_cast<_Sp_cd_type*>(_M_pi), 1);
488 __shared_count(_Ptr __p, _Deleter __d, _Alloc __a) : _M_pi(0)
495 _M_pi = __a2.allocate(1);
496 ::new(static_cast<void*>(_M_pi)) _Sp_cd_type(__p, __d, __a);
501 if (_M_pi)
502 __a2.deallocate(static_cast<_Sp_cd_type*>(_M_pi), 1);
510 : _M_pi(0)
517 _M_pi = __a2.allocate(1);
518 ::new(static_cast<void*>(_M_pi)) _Sp_cp_type(__a,
523 if (_M_pi)
524 __a2.deallocate(static_cast<_Sp_cp_type*>(_M_pi), 1);
534 : _M_pi(new _Sp_counted_ptr<_Tp*, _Lp>(__r.get()))
542 : _M_pi(_S_create_from_up(std::move(__r)))
550 if (_M_pi != 0)
551 _M_pi->_M_release();
555 : _M_pi(__r._M_pi) // nothrow
557 if (_M_pi != 0)
558 _M_pi->_M_add_ref_copy();
564 _Sp_counted_base<_Lp>* __tmp = __r._M_pi;
565 if (__tmp != _M_pi)
569 if (_M_pi != 0)
570 _M_pi->_M_release();
571 _M_pi = __tmp;
579 _Sp_counted_base<_Lp>* __tmp = __r._M_pi;
580 __r._M_pi = _M_pi;
581 _M_pi = __tmp;
586 { return _M_pi != 0 ? _M_pi->_M_get_use_count() : 0; }
594 { return _M_pi ? _M_pi->_M_get_deleter(__ti) : 0; }
598 { return std::less<_Sp_counted_base<_Lp>*>()(this->_M_pi, __rhs._M_pi); }
602 { return std::less<_Sp_counted_base<_Lp>*>()(this->_M_pi, __rhs._M_pi); }
607 { return __a._M_pi == __b._M_pi; }
632 _Sp_counted_base<_Lp>* _M_pi;
640 constexpr __weak_count() : _M_pi(0) // nothrow
643 __weak_count(const __shared_count<_Lp>& __r) : _M_pi(__r._M_pi) // nothrow
645 if (_M_pi != 0)
646 _M_pi->_M_weak_add_ref();
649 __weak_count(const __weak_count<_Lp>& __r) : _M_pi(__r._M_pi) // nothrow
651 if (_M_pi != 0)
652 _M_pi->_M_weak_add_ref();
657 if (_M_pi != 0)
658 _M_pi->_M_weak_release();
664 _Sp_counted_base<_Lp>* __tmp = __r._M_pi;
667 if (_M_pi != 0)
668 _M_pi->_M_weak_release();
669 _M_pi = __tmp;
676 _Sp_counted_base<_Lp>* __tmp = __r._M_pi;
679 if (_M_pi != 0)
680 _M_pi->_M_weak_release();
681 _M_pi = __tmp;
688 _Sp_counted_base<_Lp>* __tmp = __r._M_pi;
689 __r._M_pi = _M_pi;
690 _M_pi = __tmp;
695 { return _M_pi != 0 ? _M_pi->_M_get_use_count() : 0; }
699 { return std::less<_Sp_counted_base<_Lp>*>()(this->_M_pi, __rhs._M_pi); }
703 { return std::less<_Sp_counted_base<_Lp>*>()(this->_M_pi, __rhs._M_pi); }
708 { return __a._M_pi == __b._M_pi; }
713 _Sp_counted_base<_Lp>* _M_pi;
719 : _M_pi(__r._M_pi)
721 if (_M_pi != 0)
722 _M_pi->_M_add_ref_lock();