Home
last modified time | relevance | path

Searched refs:auto_ptr (Results 1 – 18 of 18) sorted by relevance

/freebsd-12.1/contrib/libstdc++/include/std/
H A Dstd_memory.h174 class auto_ptr
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() function
222 auto_ptr&
223 operator=(auto_ptr& __a) throw() in throw()
240 auto_ptr&
241 operator=(auto_ptr<_Tp1>& __a) throw() in throw()
259 ~auto_ptr() { delete _M_ptr; } in ~auto_ptr()
352 auto_ptr&
368 operator auto_ptr<_Tp1>() throw() in throw()
[all …]
/freebsd-12.1/contrib/atf/atf-c++/
H A Dcheck_test.cpp55 std::auto_ptr< atf::check::check_result >
68 std::auto_ptr< atf::check::check_result >
251 std::auto_ptr< atf::fs::path > out; in ATF_TEST_CASE_BODY()
252 std::auto_ptr< atf::fs::path > err; in ATF_TEST_CASE_BODY()
255 std::auto_ptr< atf::check::check_result > r = in ATF_TEST_CASE_BODY()
275 std::auto_ptr< atf::check::check_result > r = in ATF_TEST_CASE_BODY()
283 std::auto_ptr< atf::check::check_result > r = in ATF_TEST_CASE_BODY()
291 std::auto_ptr< atf::check::check_result > r = in ATF_TEST_CASE_BODY()
324 std::auto_ptr< atf::check::check_result > r1 = in ATF_TEST_CASE_BODY()
329 std::auto_ptr< atf::check::check_result > r2 = in ATF_TEST_CASE_BODY()
[all …]
H A Dcheck.hpp74 friend std::auto_ptr< check_result > exec(const atf::process::argv_array&);
123 std::auto_ptr< check_result > exec(const atf::process::argv_array&);
H A Dcheck.cpp144 std::auto_ptr< impl::check_result >
153 return std::auto_ptr< impl::check_result >(new impl::check_result(&result)); in exec()
H A Dtests.hpp76 std::auto_ptr< tc_impl > pimpl;
/freebsd-12.1/contrib/atf/atf-c++/detail/
H A Dprocess_test.cpp199 std::auto_ptr< argv_array > argv1(new argv_array(carray1)); in ATF_TEST_CASE_BODY()
200 std::auto_ptr< argv_array > argv2(new argv_array(carray2)); in ATF_TEST_CASE_BODY()
229 std::auto_ptr< argv_array > argv1(new argv_array(carray)); in ATF_TEST_CASE_BODY()
230 std::auto_ptr< argv_array > argv2(new argv_array(*argv1)); in ATF_TEST_CASE_BODY()
/freebsd-12.1/contrib/atf/atf-sh/
H A Datf-check.cpp106 std::auto_ptr< atf::fs::path > m_path;
329 std::auto_ptr< atf::check::check_result >
345 std::auto_ptr< atf::check::check_result >
806 std::auto_ptr< atf::check::check_result > r = in main()
/freebsd-12.1/contrib/libc++/include/
H A Dmemory224 auto_ptr(auto_ptr&) throw();
225 template<class Y> auto_ptr(auto_ptr<Y>&) throw();
226 auto_ptr& operator=(auto_ptr&) throw();
227 template<class Y> auto_ptr& operator=(auto_ptr<Y>&) throw();
229 ~auto_ptr() throw();
237 auto_ptr(auto_ptr_ref<X>) throw();
2088 _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr& __p) throw() : __ptr_(__p.release()) {}
2089 template<class _Up> _LIBCPP_INLINE_VISIBILITY auto_ptr(auto_ptr<_Up>& __p) throw()
2091 _LIBCPP_INLINE_VISIBILITY auto_ptr& operator=(auto_ptr& __p) throw()
2093 template<class _Up> _LIBCPP_INLINE_VISIBILITY auto_ptr& operator=(auto_ptr<_Up>& __p) throw()
[all …]
/freebsd-12.1/contrib/libstdc++/include/tr1/
H A Dboost_shared_ptr.h288 __shared_count(std::auto_ptr<_Tp>& __r) in __shared_count()
588 __shared_ptr(std::auto_ptr<_Tp1>& __r) in __shared_ptr()
630 operator=(std::auto_ptr<_Tp1>& __r)
999 shared_ptr(std::auto_ptr<_Tp1>& __r) in shared_ptr()
1024 operator=(std::auto_ptr<_Tp1>& __r)
/freebsd-12.1/contrib/libstdc++/
H A DChangeLog-2000296 to copy-initialize an auto_ptr<Base> from an auto_ptr<Derived>; it
3296 (auto_ptr): _M_ptr changed to void*.
3298 (auto_ptr::auto_ptr(auto_ptr<Tp1>)): Test implicit convetsion.
3299 (auto_ptr::~auto_ptr): Use this->get() instead of _M_ptr.
3300 (auto_ptr::operator*): Likewise.
3301 (auto_ptr::operator->): Likewise.
3302 (auto_ptr::release): Likewise.
3303 (auto_ptr::reset): Likewise.
3304 (auto_ptr::auto_ptr(auto_ptr_ref)): Initialize from __ref._M_release.
3305 (auto_ptr::operator auto_ptr_rev<_Tp1>): Updated.
[all …]
H A DChangeLog-20041836 * testsuite/20_util/memory/auto_ptr/assign_neg.cc
6377 * 20_util/auto_ptr.cc, auto_ptr_neg.cc: Break into...
6378 * 20_util/auto_ptr/1.cc: ...this.
6379 * 20_util/auto_ptr/2.cc: Same.
6380 * 20_util/auto_ptr/3.cc: Same.
6381 * 20_util/auto_ptr/3946.cc: Same.
6382 * 20_util/auto_ptr/4.cc: Same.
6383 * 20_util/auto_ptr/5.cc: Same.
6384 * 20_util/auto_ptr/6.cc: Same.
6385 * 20_util/auto_ptr/7.cc: Same.
[all …]
H A DChangeLog-1999516 * src/locale.cc (locale::_Imp::_Imp): Use auto_ptr to make
2913 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
3354 * stl/bits/std_memory.h: Reconstructed auto_ptr, Ditto.
3423 * stl/bits/std_memory.h: Modify auto_ptr::reset to reflect the
H A DChangeLog-20022240 * testsuite/20_util/auto_ptr.cc: Tweaks.
2258 * testsuite/20_util/auto_ptr.cc (test08): New test.
2260 (auto_ptr::operator auto_ptr_ref): Fix typo.
H A DChangeLog-20031248 * include/std/std_memory.h (auto_ptr): Ditto.
4266 * testsuite/20_util/auto_ptr.cc: Don't dereference NULL auto_ptr
H A DChangeLog-20054627 shared_ptr/assign/auto_ptr.cc: New test.
4639 shared_ptr/cons/auto_ptr.cc: New test.
H A DChangeLog-20012286 * testsuite/20_util/auto_ptr.cc: Likewise.
5773 * docs/html/20_util/howto.html: More notes on auto_ptr.
/freebsd-12.1/cddl/usr.sbin/zfsd/
H A Dcase_file.cc78 using std::auto_ptr;
/freebsd-12.1/contrib/gcc/doc/
H A Dcontrib.texi429 strings, especially member functions, and for auto_ptr fixes.