/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/bits/ |
H A D | allocated_ptr.h | 53 : _M_alloc(std::__addressof(__a)), _M_ptr(__ptr) function in struct:__allocated_ptr 61 _M_ptr(pointer_traits<pointer>::pointer_to(*__ptr)) 66 : _M_alloc(__gd._M_alloc), _M_ptr(__gd._M_ptr) function in struct:__allocated_ptr 67 { __gd._M_ptr = nullptr; } 72 if (_M_ptr != nullptr) 73 std::allocator_traits<_Alloc>::deallocate(*_M_alloc, _M_ptr, 1); 80 _M_ptr = nullptr; 85 value_type* get() { return std::__to_address(_M_ptr); } 89 pointer _M_ptr; member in struct:__allocated_ptr [all...] |
H A D | node_handle.h | 63 explicit operator bool() const noexcept { return _M_ptr != nullptr; } 65 [[nodiscard]] bool empty() const noexcept { return _M_ptr == nullptr; } 68 constexpr _Node_handle_common() noexcept : _M_ptr(), _M_alloc() {} 73 : _M_ptr(__nh._M_ptr), _M_alloc(std::move(__nh._M_alloc)) 75 __nh._M_ptr = nullptr; 83 _M_ptr = __nh._M_ptr; 98 __nh._M_ptr = nullptr; 105 : _M_ptr(__pt 135 typename _AllocTraits::pointer _M_ptr; member in class:_Node_handle_common [all...] |
H A D | atomic_base.h | 1215 __atomic_ref(_Tp& __t) : _M_ptr(std::__addressof(__t)) 1216 { __glibcxx_assert(((uintptr_t)_M_ptr % required_alignment) == 0); } 1235 { __atomic_impl::store(_M_ptr, __t, __m); } 1239 { return __atomic_impl::load(_M_ptr, __m); } 1244 { return __atomic_impl::exchange(_M_ptr, __desired, __m); } 1251 return __atomic_impl::compare_exchange_weak(_M_ptr, 1261 return __atomic_impl::compare_exchange_strong(_M_ptr, 1285 _Tp* _M_ptr; 1308 __atomic_ref(_Tp& __t) : _M_ptr(&__t) 1309 { __glibcxx_assert(((uintptr_t)_M_ptr [all...] |
H A D | shared_ptr_base.h | 376 : _M_ptr(__p) { } function in class:final 380 { delete _M_ptr; } 394 _Ptr _M_ptr; member in class:final 450 : _M_ptr(__p), _Del_base(std::move(__d)), _Alloc_base(__a) 456 _Ptr _M_ptr; member in class:final::_Impl 474 { _M_impl._M_del()(_M_impl._M_ptr); } 551 allocator_traits<_Alloc>::construct(__a, _M_ptr(), 560 allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); 573 friend class __shared_count<_Lp>; // To be able to call _M_ptr(). 580 auto __ptr = const_cast<typename remove_cv<_Tp>::type*>(_M_ptr()); 1436 element_type* _M_ptr; // Contained pointer. member in class:__shared_ptr 1767 element_type* _M_ptr; // Contained pointer. member in class:__weak_ptr [all...] |
H A D | unique_ptr.h | 155 __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } 163 { __u._M_ptr() = nullptr; } 172 pointer& _M_ptr() { return std::get<0>(_M_t); } function in class:__uniq_ptr_impl 173 pointer _M_ptr() const { return std::get<0>(_M_t); } function in class:__uniq_ptr_impl 179 const pointer __old_p = _M_ptr(); 180 _M_ptr() = __p; 187 pointer __p = _M_ptr(); 188 _M_ptr() = nullptr; 196 swap(this->_M_ptr(), __rhs._M_ptr()); [all...] |
H A D | stl_function.h | 1083 _Result (*_M_ptr)(_Arg); 1090 : _M_ptr(__x) { } 1094 { return _M_ptr(__x); } 1109 _Result (*_M_ptr)(_Arg1, _Arg2); 1116 : _M_ptr(__x) { } 1120 { return _M_ptr(__x, __y); }
|
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/bits/ |
H A D | allocated_ptr.h | 54 : _M_alloc(std::__addressof(__a)), _M_ptr(__ptr) function in struct:__allocated_ptr 62 _M_ptr(pointer_traits<pointer>::pointer_to(*__ptr)) 67 : _M_alloc(__gd._M_alloc), _M_ptr(__gd._M_ptr) function in struct:__allocated_ptr 68 { __gd._M_ptr = nullptr; } 73 if (_M_ptr != nullptr) 74 std::allocator_traits<_Alloc>::deallocate(*_M_alloc, _M_ptr, 1); 81 _M_ptr = nullptr; 86 value_type* get() { return std::__to_address(_M_ptr); } 90 pointer _M_ptr; member in struct:__allocated_ptr [all...] |
H A D | node_handle.h | 78 explicit operator bool() const noexcept { return _M_ptr != nullptr; } 80 [[nodiscard]] bool empty() const noexcept { return _M_ptr == nullptr; } 84 constexpr _Node_handle_common() noexcept : _M_ptr() { } function in class:_Node_handle_common 93 : _M_ptr(__nh._M_ptr) function in class:_Node_handle_common 95 if (_M_ptr) 112 _AllocTraits::destroy(*_M_alloc, _M_ptr->_M_valptr()); 113 _AllocTraits::deallocate(*_M_alloc, _M_ptr, 1); 116 _M_ptr = __nh._M_ptr; 172 typename _AllocTraits::pointer _M_ptr; member in class:_Node_handle_common [all...] |
H A D | atomic_base.h | 1378 __atomic_ref(_Tp& __t) : _M_ptr(std::__addressof(__t)) 1379 { __glibcxx_assert(((uintptr_t)_M_ptr % required_alignment) == 0); } 1398 { __atomic_impl::store(_M_ptr, __t, __m); } 1402 { return __atomic_impl::load(_M_ptr, __m); } 1407 { return __atomic_impl::exchange(_M_ptr, __desired, __m); } 1414 return __atomic_impl::compare_exchange_weak(_M_ptr, 1424 return __atomic_impl::compare_exchange_strong(_M_ptr, 1450 { __atomic_impl::wait(_M_ptr, __old, __m); } 1456 { __atomic_impl::notify_one(_M_ptr); } 1462 { __atomic_impl::notify_all(_M_ptr); } [all...] |
H A D | shared_ptr_base.h | 424 : _M_ptr(__p) { } function in class:final 428 { delete _M_ptr; } 442 _Ptr _M_ptr; member in class:final 503 : _Del_base(std::move(__d)), _Alloc_base(__a), _M_ptr(__p) function in class:final::_Impl 509 _Ptr _M_ptr; member in class:final::_Impl 527 { _M_impl._M_del()(_M_impl._M_ptr); } 604 allocator_traits<_Alloc>::construct(__a, _M_ptr(), 613 allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); 626 friend class __shared_count<_Lp>; // To be able to call _M_ptr(). 633 auto __ptr = const_cast<typename remove_cv<_Tp>::type*>(_M_ptr()); 991 typename allocator_traits<_Alloc>::pointer _M_ptr; member in struct:__shared_count::_Guarded_ptr 1785 element_type* _M_ptr; // Contained pointer. member in class:__shared_ptr 2119 element_type* _M_ptr; // Contained pointer. member in class:__weak_ptr [all...] |
H A D | shared_ptr_atomic.h | 502 typename _Tp::element_type* _M_ptr = nullptr; local 522 : _M_ptr(__r._M_ptr), _M_refcount(std::move(__r._M_refcount)) 535 // Ensure that the correct value of _M_ptr is visible after locking., 542 __ret._M_ptr = _M_ptr; 552 std::swap(_M_ptr, __r._M_ptr); 562 if (_M_ptr == __expected._M_ptr [all...] |
H A D | unique_ptr.h | 168 __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } 178 { __u._M_ptr() = nullptr; } 189 pointer& _M_ptr() noexcept { return std::get<0>(_M_t); } 191 pointer _M_ptr() const noexcept { return std::get<0>(_M_t); } 200 const pointer __old_p = _M_ptr(); 201 _M_ptr() = __p; 209 pointer __p = _M_ptr(); 210 _M_ptr() = nullptr; 219 swap(this->_M_ptr(), __rhs._M_ptr()); [all...] |
H A D | locale_conv.h | 231 : _M_ptr(__ptr) 235 : _M_ptr(__ptr) 241 ~_Scoped_ptr() { delete _M_ptr; } 247 _Tp* operator->() const noexcept { return _M_ptr; } 249 _Tp& operator*() const noexcept { return *_M_ptr; } 252 _Tp* _M_ptr; member in namespace:__detail
|
H A D | stl_tree.h | 235 { return _M_storage._M_ptr(); } 239 { return _M_storage._M_ptr(); } 1456 = _M_insert_node(__res.first, __res.second, __nh._M_ptr); 1457 __nh._M_ptr = nullptr; 1482 __ret = _M_insert_node(__res.first, __res.second, __nh._M_ptr); 1484 __ret = _M_insert_equal_lower_node(__nh._M_ptr); 1485 __nh._M_ptr = nullptr; 1503 __ret = _M_insert_node(__res.first, __res.second, __nh._M_ptr); 1504 __nh._M_ptr = nullptr; 1524 __ret = _M_insert_node(__res.first, __res.second, __nh._M_ptr); [all...] |
H A D | stl_function.h | 1108 _Result (*_M_ptr)(_Arg); 1115 : _M_ptr(__x) { } 1119 { return _M_ptr(__x); } 1135 _Result (*_M_ptr)(_Arg1, _Arg2); 1142 : _M_ptr(__x) { } 1146 { return _M_ptr(__x, __y); }
|
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/backward/ |
H A D | auto_ptr.h | 50 _Tp1* _M_ptr; member in struct:auto_ptr_ref 53 auto_ptr_ref(_Tp1* __p): _M_ptr(__p) { } 92 _Tp* _M_ptr; member in class:auto_ptr 105 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } 114 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } 127 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } 172 ~auto_ptr() { delete _M_ptr; } 185 __glibcxx_assert(_M_ptr != 0); 186 return *_M_ptr; 198 __glibcxx_assert(_M_ptr ! [all...] |
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/backward/ |
H A D | auto_ptr.h | 50 _Tp1* _M_ptr; member in struct:auto_ptr_ref 53 auto_ptr_ref(_Tp1* __p): _M_ptr(__p) { } 92 _Tp* _M_ptr; member in class:auto_ptr 105 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } 114 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } 127 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } 172 ~auto_ptr() { delete _M_ptr; } 185 __glibcxx_assert(_M_ptr != 0); 186 return *_M_ptr; 198 __glibcxx_assert(_M_ptr ! [all...] |
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/pstl/ |
H A D | parallel_backend_utils.h | 136 _ValueType* _M_ptr; member in class:__pstl::__par_backend::__stack 144 __stack(_DifferenceType __max_size) : _M_buf(__max_size), _M_maxsize(__max_size) { _M_ptr = _M_buf.get(); } 161 _PSTL_ASSERT(_M_ptr - _M_buf.get() <= _M_maxsize); 162 _PSTL_ASSERT(_M_ptr - _M_buf.get() >= 0); 163 return _M_ptr - _M_buf.get(); 168 _PSTL_ASSERT(_M_ptr >= _M_buf.get()); 169 return _M_ptr == _M_buf.get(); 175 new (_M_ptr) _ValueType(__v); 176 ++_M_ptr; 181 return *(_M_ptr [all...] |
H A D | parallel_backend_tbb.h | 45 _Tp* _M_ptr; member in class:__pstl::__par_backend::__buffer 53 __buffer(std::size_t n) : _M_allocator(), _M_ptr(_M_allocator.allocate(n)), _M_buf_size(n) {} 55 operator bool() const { return _M_ptr != NULL; } 60 return _M_ptr; 63 ~__buffer() { _M_allocator.deallocate(_M_ptr, _M_buf_size); }
|
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/ext/ |
H A D | aligned_buffer.h | 72 _M_ptr() noexcept 76 _M_ptr() const noexcept 114 _M_ptr() noexcept 118 _M_ptr() const noexcept
|
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/ext/ |
H A D | aligned_buffer.h | 72 _M_ptr() noexcept 76 _M_ptr() const noexcept 114 _M_ptr() noexcept 118 _M_ptr() const noexcept
|
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/libsupc++/ |
H A D | nested_exception.h | 54 exception_ptr _M_ptr; member in class:std::nested_exception 57 nested_exception() noexcept : _M_ptr(current_exception()) { } 69 if (_M_ptr) 70 rethrow_exception(_M_ptr); 76 { return _M_ptr; }
|
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/libsupc++/ |
H A D | nested_exception.h | 54 exception_ptr _M_ptr; member in class:std::nested_exception 57 nested_exception() noexcept : _M_ptr(current_exception()) { } 69 if (_M_ptr) 70 rethrow_exception(_M_ptr); 76 { return _M_ptr; }
|
/netbsd-current/external/gpl3/gcc.old/dist/libstdc++-v3/include/tr1/ |
H A D | shared_ptr.h | 251 : _M_ptr(__p), _M_del(__d) { } 255 { _M_del(_M_ptr); } 271 _Ptr _M_ptr; // copy constructor must not throw member in class:tr1::_Sp_counted_base_impl 545 : _M_ptr(0), _M_refcount() // never throws 551 : _M_ptr(__p), _M_refcount(__p) 560 : _M_ptr(__p), _M_refcount(__p, __d) 571 : _M_ptr(__r._M_ptr), _M_refcount(__r._M_refcount) // never throws 580 // It is now safe to copy __r._M_ptr, as _M_refcount(__r._M_refcount) 582 _M_ptr 733 _Tp* _M_ptr; // Contained pointer. member in class:tr1::__shared_ptr 926 _Tp* _M_ptr; // Contained pointer. member in class:tr1::__weak_ptr [all...] |
/netbsd-current/external/gpl3/gcc/dist/libstdc++-v3/include/tr1/ |
H A D | shared_ptr.h | 251 : _M_ptr(__p), _M_del(__d) { } 255 { _M_del(_M_ptr); } 271 _Ptr _M_ptr; // copy constructor must not throw member in class:tr1::_Sp_counted_base_impl 550 : _M_ptr(0), _M_refcount() // never throws 556 : _M_ptr(__p), _M_refcount(__p) 565 : _M_ptr(__p), _M_refcount(__p, __d) 576 : _M_ptr(__r._M_ptr), _M_refcount(__r._M_refcount) // never throws 585 // It is now safe to copy __r._M_ptr, as _M_refcount(__r._M_refcount) 587 _M_ptr 743 _Tp* _M_ptr; // Contained pointer. member in class:tr1::__shared_ptr 936 _Tp* _M_ptr; // Contained pointer. member in class:tr1::__weak_ptr [all...] |