Home
last modified time | relevance | path

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

/openbsd/src/gnu/gcc/libstdc++-v3/include/std/
Dstd_memory.h135 _Tp1* _M_ptr; member
138 auto_ptr_ref(_Tp1* __p): _M_ptr(__p) { } in auto_ptr_ref()
177 _Tp* _M_ptr;
190 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } in throw()
199 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } in throw()
212 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } in auto_ptr()
259 ~auto_ptr() { delete _M_ptr; } in ~auto_ptr() local
272 _GLIBCXX_DEBUG_ASSERT(_M_ptr != 0); in throw()
273 return *_M_ptr; in throw()
285 _GLIBCXX_DEBUG_ASSERT(_M_ptr != 0);
[all …]
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/std/
Dstd_memory.h130 _Tp1* _M_ptr; member
133 auto_ptr_ref(_Tp1* __p): _M_ptr(__p) { } in auto_ptr_ref()
170 _Tp* _M_ptr;
183 auto_ptr(element_type* __p = 0) throw() : _M_ptr(__p) { } in throw()
192 auto_ptr(auto_ptr& __a) throw() : _M_ptr(__a.release()) { } in throw()
204 auto_ptr(auto_ptr<_Tp1>& __a) throw() : _M_ptr(__a.release()) { } in auto_ptr()
251 ~auto_ptr() { delete _M_ptr; } in ~auto_ptr() local
262 operator*() const throw() { return *_M_ptr; } in throw()
271 operator->() const throw() { return _M_ptr; }
284 get() const throw() { return _M_ptr; } in get()
[all …]
/openbsd/src/gnu/gcc/libstdc++-v3/include/tr1/
Dboost_shared_ptr.h242 : _M_ptr(__p), _M_del(__d) { } in _Sp_counted_base_impl()
246 { _M_del(_M_ptr); } in _M_dispose()
256 _Ptr _M_ptr; // copy constructor must not throw variable
512 : _M_ptr(0), _M_refcount() // never throws in __shared_ptr()
523 : _M_ptr(__p), _M_refcount(__p, _Sp_deleter<_Tp1>()) in __shared_ptr()
544 : _M_ptr(__p), _M_refcount(__p, __d) in __shared_ptr()
562 : _M_ptr(__r._M_ptr), _M_refcount(__r._M_refcount) // never throws in __shared_ptr()
580 _M_ptr = __r._M_ptr; in __shared_ptr()
589 : _M_ptr(__r.get()), _M_refcount() in __shared_ptr()
600 : _M_ptr(static_cast<element_type*>(__r._M_ptr)), in __shared_ptr()
[all …]
/openbsd/src/gnu/gcc/libstdc++-v3/include/bits/
Dstl_function.h484 _Result (*_M_ptr)(_Arg);
490 : _M_ptr(__x) {} in pointer_to_unary_function()
494 { return _M_ptr(__x); } in operator()
509 _Result (*_M_ptr)(_Arg1, _Arg2);
515 : _M_ptr(__x) {} in pointer_to_binary_function()
519 { return _M_ptr(__x, __y); } in operator()
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/bits/
Dstl_function.h441 _Result (*_M_ptr)(_Arg);
444 explicit pointer_to_unary_function(_Result (*__x)(_Arg)) : _M_ptr(__x) {} in pointer_to_unary_function()
445 _Result operator()(_Arg __x) const { return _M_ptr(__x); } in operator()
460 _Result (*_M_ptr)(_Arg1, _Arg2);
464 : _M_ptr(__x) {} in pointer_to_binary_function()
466 return _M_ptr(__x, __y); in operator()
/openbsd/src/gnu/llvm/lldb/examples/summaries/
Dlldb22 type summary add -w lldb "lldb::ModuleSP" -s "${var._M_ptr%S}"
/openbsd/src/gnu/lib/libstdc++/libstdc++/include/ext/
Dstl_rope.h747 _Rope_RopeRep<_CharT,_Alloc>* _M_ptr; member
749 { _Rope_RopeRep<_CharT,_Alloc>::_S_unref(_M_ptr); } in ~_Rope_self_destruct_ptr()
751 _Rope_self_destruct_ptr() : _M_ptr(0) {}; in _Rope_self_destruct_ptr()
755 _Rope_self_destruct_ptr(_Rope_RopeRep<_CharT,_Alloc>* __p) : _M_ptr(__p) {} in _Rope_self_destruct_ptr()
756 _Rope_RopeRep<_CharT,_Alloc>& operator*() { return *_M_ptr; }
757 _Rope_RopeRep<_CharT,_Alloc>* operator->() { return _M_ptr; }
758 operator _Rope_RopeRep<_CharT,_Alloc>*() { return _M_ptr; }
760 { _M_ptr = __x; return *this; }
/openbsd/src/gnu/llvm/clang/www/
Dlibstdc++4.4-clang0x.patch71 std::swap(_M_ptr, __other._M_ptr);
/openbsd/src/gnu/gcc/libstdc++-v3/include/ext/
Drope891 _Rope_RopeRep<_CharT, _Alloc>* _M_ptr;
894 { _Rope_RopeRep<_CharT, _Alloc>::_S_unref(_M_ptr); }
896 _Rope_self_destruct_ptr() : _M_ptr(0) { };
901 : _M_ptr(__p) { }
905 { return *_M_ptr; }
909 { return _M_ptr; }
912 { return _M_ptr; }
916 { _M_ptr = __x; return *this; }
/openbsd/src/gnu/lib/libstdc++/libstdc++/
DChangeLog-20003296 (auto_ptr): _M_ptr changed to void*.
3297 (suto_ptr::get): Cast _M_ptr to element type.
3299 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.