Home
last modified time | relevance | path

Searched refs:_M_ptr (Results 1 – 25 of 26) sorted by relevance

12

/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/backward/
Dauto_ptr.h50 _Tp1* _M_ptr; in _GLIBCXX_VISIBILITY() member
53 auto_ptr_ref(_Tp1* __p): _M_ptr(__p) { } in _GLIBCXX_VISIBILITY()
90 _Tp* _M_ptr; in _GLIBCXX_VISIBILITY()
103 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } in _GLIBCXX_VISIBILITY()
112 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } in _GLIBCXX_VISIBILITY()
125 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } in _GLIBCXX_VISIBILITY()
170 ~auto_ptr() { delete _M_ptr; } in _GLIBCXX_VISIBILITY() local
183 _GLIBCXX_DEBUG_ASSERT(_M_ptr != 0); in _GLIBCXX_VISIBILITY()
184 return *_M_ptr; in _GLIBCXX_VISIBILITY()
196 _GLIBCXX_DEBUG_ASSERT(_M_ptr != 0); in _GLIBCXX_VISIBILITY()
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/backward/
Dauto_ptr.h50 _Tp1* _M_ptr; in _GLIBCXX_VISIBILITY() member
53 auto_ptr_ref(_Tp1* __p): _M_ptr(__p) { } in _GLIBCXX_VISIBILITY()
92 _Tp* _M_ptr; in _GLIBCXX_VISIBILITY()
105 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } in _GLIBCXX_VISIBILITY()
114 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } in _GLIBCXX_VISIBILITY()
127 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } in _GLIBCXX_VISIBILITY()
172 ~auto_ptr() { delete _M_ptr; } in _GLIBCXX_VISIBILITY() local
185 __glibcxx_assert(_M_ptr != 0); in _GLIBCXX_VISIBILITY()
186 return *_M_ptr; in _GLIBCXX_VISIBILITY()
198 __glibcxx_assert(_M_ptr != 0); in _GLIBCXX_VISIBILITY()
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/bits/
Dallocated_ptr.h53 : _M_alloc(std::__addressof(__a)), _M_ptr(__ptr) in _GLIBCXX_VISIBILITY()
61 _M_ptr(pointer_traits<pointer>::pointer_to(*__ptr)) in _GLIBCXX_VISIBILITY()
66 : _M_alloc(__gd._M_alloc), _M_ptr(__gd._M_ptr) in _GLIBCXX_VISIBILITY()
67 { __gd._M_ptr = nullptr; } in _GLIBCXX_VISIBILITY()
72 if (_M_ptr != nullptr) in _GLIBCXX_VISIBILITY()
73 std::allocator_traits<_Alloc>::deallocate(*_M_alloc, _M_ptr, 1); in _GLIBCXX_VISIBILITY()
80 _M_ptr = nullptr; in _GLIBCXX_VISIBILITY()
85 value_type* get() { return std::__to_address(_M_ptr); } in _GLIBCXX_VISIBILITY()
89 pointer _M_ptr; in _GLIBCXX_VISIBILITY() member
Dnode_handle.h63 explicit operator bool() const noexcept { return _M_ptr != nullptr; } in _GLIBCXX_VISIBILITY()
65 [[nodiscard]] bool empty() const noexcept { return _M_ptr == nullptr; } in _GLIBCXX_VISIBILITY()
68 constexpr _Node_handle_common() noexcept : _M_ptr(), _M_alloc() {} in _GLIBCXX_VISIBILITY()
73 : _M_ptr(__nh._M_ptr), _M_alloc(std::move(__nh._M_alloc)) in _GLIBCXX_VISIBILITY()
75 __nh._M_ptr = nullptr; in _GLIBCXX_VISIBILITY()
83 _M_ptr = __nh._M_ptr; in _GLIBCXX_VISIBILITY()
98 __nh._M_ptr = nullptr; in _GLIBCXX_VISIBILITY()
105 : _M_ptr(__ptr), _M_alloc(__alloc) { } in _GLIBCXX_VISIBILITY()
111 swap(_M_ptr, __nh._M_ptr); in _GLIBCXX_VISIBILITY()
125 if (_M_ptr != nullptr) in _GLIBCXX_VISIBILITY()
[all …]
Dshared_ptr_base.h373 : _M_ptr(__p) { } in _GLIBCXX_VISIBILITY()
377 { delete _M_ptr; } in _GLIBCXX_VISIBILITY() local
391 _Ptr _M_ptr; in _GLIBCXX_VISIBILITY()
447 : _M_ptr(__p), _Del_base(std::move(__d)), _Alloc_base(__a) in _GLIBCXX_VISIBILITY()
453 _Ptr _M_ptr; in _GLIBCXX_VISIBILITY()
471 { _M_impl._M_del()(_M_impl._M_ptr); } in _GLIBCXX_VISIBILITY()
545 allocator_traits<_Alloc>::construct(__a, _M_ptr(), in _GLIBCXX_VISIBILITY()
554 allocator_traits<_Alloc>::destroy(_M_impl._M_alloc(), _M_ptr()); in _GLIBCXX_VISIBILITY()
577 return const_cast<typename remove_cv<_Tp>::type*>(_M_ptr()); in _GLIBCXX_VISIBILITY()
582 return const_cast<typename remove_cv<_Tp>::type*>(_M_ptr()); in _GLIBCXX_VISIBILITY()
[all …]
Dunique_ptr.h143 __uniq_ptr_impl(pointer __p) : _M_t() { _M_ptr() = __p; } in _GLIBCXX_VISIBILITY()
149 pointer& _M_ptr() { return std::get<0>(_M_t); } in _GLIBCXX_VISIBILITY()
150 pointer _M_ptr() const { return std::get<0>(_M_t); } in _GLIBCXX_VISIBILITY()
272 auto& __ptr = _M_t._M_ptr(); in _GLIBCXX_VISIBILITY()
343 { return _M_t._M_ptr(); } in _GLIBCXX_VISIBILITY()
366 _M_t._M_ptr() = pointer(); in _GLIBCXX_VISIBILITY()
380 swap(_M_t._M_ptr(), __p); in _GLIBCXX_VISIBILITY()
531 auto& __ptr = _M_t._M_ptr(); in _GLIBCXX_VISIBILITY()
594 { return _M_t._M_ptr(); } in _GLIBCXX_VISIBILITY()
617 _M_t._M_ptr() = pointer(); in _GLIBCXX_VISIBILITY()
[all …]
Dstl_function.h1059 _Result (*_M_ptr)(_Arg); in _GLIBCXX_VISIBILITY()
1066 : _M_ptr(__x) { } in _GLIBCXX_VISIBILITY()
1070 { return _M_ptr(__x); } in _GLIBCXX_VISIBILITY()
1085 _Result (*_M_ptr)(_Arg1, _Arg2); in _GLIBCXX_VISIBILITY()
1092 : _M_ptr(__x) { } in _GLIBCXX_VISIBILITY()
1096 { return _M_ptr(__x, __y); } in _GLIBCXX_VISIBILITY()
Dstl_tree.h235 { return _M_storage._M_ptr(); } in _GLIBCXX_VISIBILITY()
239 { return _M_storage._M_ptr(); } in _GLIBCXX_VISIBILITY()
1396 = _M_insert_node(__res.first, __res.second, __nh._M_ptr); in _GLIBCXX_VISIBILITY()
1397 __nh._M_ptr = nullptr; in _GLIBCXX_VISIBILITY()
1422 __ret = _M_insert_node(__res.first, __res.second, __nh._M_ptr); in _GLIBCXX_VISIBILITY()
1424 __ret = _M_insert_equal_lower_node(__nh._M_ptr); in _GLIBCXX_VISIBILITY()
1425 __nh._M_ptr = nullptr; in _GLIBCXX_VISIBILITY()
1443 __ret = _M_insert_node(__res.first, __res.second, __nh._M_ptr); in _GLIBCXX_VISIBILITY()
1444 __nh._M_ptr = nullptr; in _GLIBCXX_VISIBILITY()
1464 __ret = _M_insert_node(__res.first, __res.second, __nh._M_ptr); in _GLIBCXX_VISIBILITY()
[all …]
Dstl_vector.h1595 _Alloc_traits::construct(_M_this->_M_impl, _M_ptr(), in _GLIBCXX_VISIBILITY()
1600 { _Alloc_traits::destroy(_M_this->_M_impl, _M_ptr()); } in _GLIBCXX_VISIBILITY()
1607 _M_ptr() { return pointer_traits<pointer>::pointer_to(_M_val()); } in _GLIBCXX_VISIBILITY()
Dhashtable.h809 = _M_insert_unique_node(__bkt, __code, __nh._M_ptr); in _GLIBCXX_VISIBILITY()
810 __nh._M_ptr = nullptr; in _GLIBCXX_VISIBILITY()
829 auto __node = std::exchange(__nh._M_ptr, nullptr); in _GLIBCXX_VISIBILITY()
894 _M_insert_unique_node(__bkt, __code, __nh._M_ptr, __n_elt); in _GLIBCXX_VISIBILITY()
895 __nh._M_ptr = nullptr; in _GLIBCXX_VISIBILITY()
Dforward_list.h122 { return _M_storage._M_ptr(); } in _GLIBCXX_VISIBILITY()
126 { return _M_storage._M_ptr(); } in _GLIBCXX_VISIBILITY()
Dhashtable_policy.h238 { return _M_storage._M_ptr(); } in _GLIBCXX_VISIBILITY()
242 { return _M_storage._M_ptr(); } in _GLIBCXX_VISIBILITY()
1522 _M_h() { return _M_storage._M_ptr(); } in _GLIBCXX_VISIBILITY()
1525 _M_h() const { return _M_storage._M_ptr(); } in _GLIBCXX_VISIBILITY()
Dstl_list.h170 _Tp* _M_valptr() { return _M_storage._M_ptr(); } in _GLIBCXX_VISIBILITY()
171 _Tp const* _M_valptr() const { return _M_storage._M_ptr(); } in _GLIBCXX_VISIBILITY()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/bits/
Dshared_ptr_base.h289 : _M_ptr(__p) { } in _GLIBCXX_VISIBILITY()
293 { delete _M_ptr; } in _GLIBCXX_VISIBILITY() local
307 _Ptr _M_ptr; // copy constructor must not throw in _GLIBCXX_VISIBILITY()
340 : _M_ptr(__p), _M_del(__d, _Alloc()) { } in _GLIBCXX_VISIBILITY()
344 : _M_ptr(__p), _M_del(__d, __a) { } in _GLIBCXX_VISIBILITY()
350 { _M_del._M_del(_M_ptr); } in _GLIBCXX_VISIBILITY()
373 _Ptr _M_ptr; // copy constructor must not throw in _GLIBCXX_VISIBILITY()
390 _Impl(_Alloc __a) : _Alloc(__a), _M_ptr() { } in _GLIBCXX_VISIBILITY()
391 _Tp* _M_ptr; in _GLIBCXX_VISIBILITY() member
399 _M_impl._M_ptr = static_cast<_Tp*>(static_cast<void*>(&_M_storage)); in _GLIBCXX_VISIBILITY()
[all …]
Dstl_function.h427 _Result (*_M_ptr)(_Arg); in _GLIBCXX_VISIBILITY()
434 : _M_ptr(__x) { } in _GLIBCXX_VISIBILITY()
438 { return _M_ptr(__x); } in _GLIBCXX_VISIBILITY()
453 _Result (*_M_ptr)(_Arg1, _Arg2); in _GLIBCXX_VISIBILITY()
460 : _M_ptr(__x) { } in _GLIBCXX_VISIBILITY()
464 { return _M_ptr(__x, __y); } in _GLIBCXX_VISIBILITY()
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/tr1/
Dshared_ptr.h260 : _M_ptr(__p), _M_del(__d) { } in _GLIBCXX_VISIBILITY()
264 { _M_del(_M_ptr); } in _GLIBCXX_VISIBILITY()
280 _Ptr _M_ptr; // copy constructor must not throw in _GLIBCXX_VISIBILITY() local
554 : _M_ptr(0), _M_refcount() // never throws in _GLIBCXX_VISIBILITY()
560 : _M_ptr(__p), _M_refcount(__p) in _GLIBCXX_VISIBILITY()
569 : _M_ptr(__p), _M_refcount(__p, __d) in _GLIBCXX_VISIBILITY()
580 : _M_ptr(__r._M_ptr), _M_refcount(__r._M_refcount) // never throws in _GLIBCXX_VISIBILITY()
591 _M_ptr = __r._M_ptr; in _GLIBCXX_VISIBILITY()
599 : _M_ptr(__r.get()), _M_refcount() in _GLIBCXX_VISIBILITY()
612 : _M_ptr(static_cast<element_type*>(__r._M_ptr)), in _GLIBCXX_VISIBILITY()
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/tr1/
Dshared_ptr.h251 : _M_ptr(__p), _M_del(__d) { } in _GLIBCXX_VISIBILITY()
255 { _M_del(_M_ptr); } in _GLIBCXX_VISIBILITY()
271 _Ptr _M_ptr; // copy constructor must not throw in _GLIBCXX_VISIBILITY() local
545 : _M_ptr(0), _M_refcount() // never throws in _GLIBCXX_VISIBILITY()
551 : _M_ptr(__p), _M_refcount(__p) in _GLIBCXX_VISIBILITY()
560 : _M_ptr(__p), _M_refcount(__p, __d) in _GLIBCXX_VISIBILITY()
571 : _M_ptr(__r._M_ptr), _M_refcount(__r._M_refcount) // never throws in _GLIBCXX_VISIBILITY()
582 _M_ptr = __r._M_ptr; in _GLIBCXX_VISIBILITY()
590 : _M_ptr(__r.get()), _M_refcount() in _GLIBCXX_VISIBILITY()
603 : _M_ptr(static_cast<element_type*>(__r._M_ptr)), in _GLIBCXX_VISIBILITY()
[all …]
/dragonfly/contrib/gcc-8.0/libstdc++-v3/libsupc++/
Dnested_exception.h54 exception_ptr _M_ptr; variable
57 nested_exception() noexcept : _M_ptr(current_exception()) { } in nested_exception()
69 if (_M_ptr) in rethrow_nested()
70 rethrow_exception(_M_ptr); in rethrow_nested()
76 { return _M_ptr; } in nested_ptr()
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/ext/
Daligned_buffer.h72 _M_ptr() noexcept in _M_ptr() function
76 _M_ptr() const noexcept in _M_ptr() function
114 _M_ptr() noexcept in _M_ptr() function
118 _M_ptr() const noexcept in _M_ptr() function
Drope922 _Rope_RopeRep<_CharT, _Alloc>* _M_ptr;
925 { _Rope_RopeRep<_CharT, _Alloc>::_S_unref(_M_ptr); }
927 _Rope_self_destruct_ptr() : _M_ptr(0) { }
932 : _M_ptr(__p) { }
936 { return *_M_ptr; }
940 { return _M_ptr; }
943 { return _M_ptr; }
947 { _M_ptr = __x; return *this; }
/dragonfly/contrib/gcc-4.7/libstdc++-v3/libsupc++/
Dnested_exception.h57 exception_ptr _M_ptr; variable
60 nested_exception() noexcept : _M_ptr(current_exception()) { } in nested_exception()
70 { rethrow_exception(_M_ptr); } in rethrow_nested()
74 { return _M_ptr; } in nested_ptr()
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/std/
Dany82 constexpr _Storage() : _M_ptr{nullptr} {}
88 void* _M_ptr;
89 aligned_storage<sizeof(_M_ptr), alignof(void*)>::type _M_buffer;
413 __storage._M_ptr = new _Tp(std::forward<_Up>(__value));
419 __storage._M_ptr = new _Tp(std::forward<_Args>(__args)...);
588 // The contained object is *_M_storage._M_ptr
589 auto __ptr = static_cast<const _Tp*>(__any->_M_storage._M_ptr);
601 __arg->_M_any->_M_storage._M_ptr = new _Tp(*__ptr);
608 __arg->_M_any->_M_storage._M_ptr = __any->_M_storage._M_ptr;
Dvariant200 { return *_M_storage._M_ptr(); }
203 { return *_M_storage._M_ptr(); }
206 { return std::move(*_M_storage._M_ptr()); }
209 { return std::move(*_M_storage._M_ptr()); }
/dragonfly/contrib/gcc-8.0/libstdc++-v3/include/experimental/
Dany99 void* _M_ptr;
100 aligned_storage<sizeof(_M_ptr), alignof(void*)>::type _M_buffer;
332 __storage._M_ptr = new _Tp(std::forward<_Up>(__value));
493 // The contained object is *_M_storage._M_ptr
494 auto __ptr = static_cast<const _Tp*>(__any->_M_storage._M_ptr);
506 __arg->_M_any->_M_storage._M_ptr = new _Tp(*__ptr);
513 __arg->_M_any->_M_storage._M_ptr = __any->_M_storage._M_ptr;
/dragonfly/contrib/gcc-4.7/libstdc++-v3/include/ext/
Drope923 _Rope_RopeRep<_CharT, _Alloc>* _M_ptr;
926 { _Rope_RopeRep<_CharT, _Alloc>::_S_unref(_M_ptr); }
928 _Rope_self_destruct_ptr() : _M_ptr(0) { };
933 : _M_ptr(__p) { }
937 { return *_M_ptr; }
941 { return _M_ptr; }
944 { return _M_ptr; }
948 { _M_ptr = __x; return *this; }

12