Home
last modified time | relevance | path

Searched refs:get_deleter (Results 1 – 25 of 75) sorted by relevance

123

/third_party/boost/libs/smart_ptr/test/
Dget_deleter_array_test2.cpp41 BOOST_TEST(boost::get_deleter<void>(p) == 0); in main()
42 BOOST_TEST(boost::get_deleter<void const>(p) == 0); in main()
43 BOOST_TEST(boost::get_deleter<int>(p) == 0); in main()
44 BOOST_TEST(boost::get_deleter<int const>(p) == 0); in main()
45 BOOST_TEST(boost::get_deleter<X>(p) == 0); in main()
46 BOOST_TEST(boost::get_deleter<X const>(p) == 0); in main()
47 BOOST_TEST(boost::get_deleter<deleter>(p) == 0); in main()
48 BOOST_TEST(boost::get_deleter<deleter const>(p) == 0); in main()
49 BOOST_TEST(boost::get_deleter<deleter2>(p) == 0); in main()
50 BOOST_TEST(boost::get_deleter<deleter2 const>(p) == 0); in main()
[all …]
Dget_local_deleter_array_test.cpp41 BOOST_TEST(boost::get_deleter<void>(p) == 0); in main()
42 BOOST_TEST(boost::get_deleter<void const>(p) == 0); in main()
43 BOOST_TEST(boost::get_deleter<int>(p) == 0); in main()
44 BOOST_TEST(boost::get_deleter<int const>(p) == 0); in main()
45 BOOST_TEST(boost::get_deleter<X>(p) == 0); in main()
46 BOOST_TEST(boost::get_deleter<X const>(p) == 0); in main()
47 BOOST_TEST(boost::get_deleter<deleter>(p) == 0); in main()
48 BOOST_TEST(boost::get_deleter<deleter const>(p) == 0); in main()
49 BOOST_TEST(boost::get_deleter<deleter2>(p) == 0); in main()
50 BOOST_TEST(boost::get_deleter<deleter2 const>(p) == 0); in main()
[all …]
Dget_deleter_array_test.cpp41 BOOST_TEST(boost::get_deleter<void>(p) == 0); in main()
42 BOOST_TEST(boost::get_deleter<void const>(p) == 0); in main()
43 BOOST_TEST(boost::get_deleter<int>(p) == 0); in main()
44 BOOST_TEST(boost::get_deleter<int const>(p) == 0); in main()
45 BOOST_TEST(boost::get_deleter<X>(p) == 0); in main()
46 BOOST_TEST(boost::get_deleter<X const>(p) == 0); in main()
47 BOOST_TEST(boost::get_deleter<deleter>(p) == 0); in main()
48 BOOST_TEST(boost::get_deleter<deleter const>(p) == 0); in main()
49 BOOST_TEST(boost::get_deleter<deleter2>(p) == 0); in main()
50 BOOST_TEST(boost::get_deleter<deleter2 const>(p) == 0); in main()
[all …]
Dget_local_deleter_test.cpp41 BOOST_TEST(boost::get_deleter<void>(p) == 0); in main()
42 BOOST_TEST(boost::get_deleter<void const>(p) == 0); in main()
43 BOOST_TEST(boost::get_deleter<int>(p) == 0); in main()
44 BOOST_TEST(boost::get_deleter<int const>(p) == 0); in main()
45 BOOST_TEST(boost::get_deleter<X>(p) == 0); in main()
46 BOOST_TEST(boost::get_deleter<X const>(p) == 0); in main()
47 BOOST_TEST(boost::get_deleter<deleter>(p) == 0); in main()
48 BOOST_TEST(boost::get_deleter<deleter const>(p) == 0); in main()
49 BOOST_TEST(boost::get_deleter<deleter2>(p) == 0); in main()
50 BOOST_TEST(boost::get_deleter<deleter2 const>(p) == 0); in main()
[all …]
Dget_deleter_array_test3.cpp30 BOOST_TEST(boost::get_deleter<void>(p) == 0); in main()
31 BOOST_TEST(boost::get_deleter<void const>(p) == 0); in main()
32 BOOST_TEST(boost::get_deleter<int>(p) == 0); in main()
33 BOOST_TEST(boost::get_deleter<int const>(p) == 0); in main()
34 BOOST_TEST(boost::get_deleter<X>(p) == 0); in main()
35 BOOST_TEST(boost::get_deleter<X const>(p) == 0); in main()
36 BOOST_TEST(boost::get_deleter<deleter>(p) == 0); in main()
37 BOOST_TEST(boost::get_deleter<deleter const>(p) == 0); in main()
38 BOOST_TEST(boost::get_deleter<deleter2>(p) == 0); in main()
39 BOOST_TEST(boost::get_deleter<deleter2 const>(p) == 0); in main()
[all …]
Dget_local_deleter_array_test2.cpp40 BOOST_TEST(boost::get_deleter<void>(p) == 0); in main()
41 BOOST_TEST(boost::get_deleter<void const>(p) == 0); in main()
42 BOOST_TEST(boost::get_deleter<int>(p) == 0); in main()
43 BOOST_TEST(boost::get_deleter<int const>(p) == 0); in main()
44 BOOST_TEST(boost::get_deleter<X>(p) == 0); in main()
45 BOOST_TEST(boost::get_deleter<X const>(p) == 0); in main()
46 BOOST_TEST(boost::get_deleter<deleter>(p) == 0); in main()
47 BOOST_TEST(boost::get_deleter<deleter const>(p) == 0); in main()
48 BOOST_TEST(boost::get_deleter<deleter2>(p) == 0); in main()
49 BOOST_TEST(boost::get_deleter<deleter2 const>(p) == 0); in main()
[all …]
Dget_deleter_test3.cpp30 BOOST_TEST(boost::get_deleter<void>(p) == 0); in main()
31 BOOST_TEST(boost::get_deleter<void const>(p) == 0); in main()
32 BOOST_TEST(boost::get_deleter<int>(p) == 0); in main()
33 BOOST_TEST(boost::get_deleter<int const>(p) == 0); in main()
34 BOOST_TEST(boost::get_deleter<X>(p) == 0); in main()
35 BOOST_TEST(boost::get_deleter<X const>(p) == 0); in main()
36 BOOST_TEST(boost::get_deleter<deleter>(p) == 0); in main()
37 BOOST_TEST(boost::get_deleter<deleter const>(p) == 0); in main()
38 BOOST_TEST(boost::get_deleter<deleter2>(p) == 0); in main()
39 BOOST_TEST(boost::get_deleter<deleter2 const>(p) == 0); in main()
Dget_local_deleter_test3.cpp40 BOOST_TEST(boost::get_deleter<void>(p) == 0); in main()
41 BOOST_TEST(boost::get_deleter<void const>(p) == 0); in main()
42 BOOST_TEST(boost::get_deleter<int>(p) == 0); in main()
43 BOOST_TEST(boost::get_deleter<int const>(p) == 0); in main()
44 BOOST_TEST(boost::get_deleter<X>(p) == 0); in main()
45 BOOST_TEST(boost::get_deleter<X const>(p) == 0); in main()
46 BOOST_TEST(boost::get_deleter<deleter>(p) == 0); in main()
47 BOOST_TEST(boost::get_deleter<deleter const>(p) == 0); in main()
48 BOOST_TEST(boost::get_deleter<deleter2>(p) == 0); in main()
49 BOOST_TEST(boost::get_deleter<deleter2 const>(p) == 0); in main()
Dget_local_deleter_test2.cpp22 BOOST_TEST( boost::get_deleter<deleter>( p ) != 0 ); in test_lsp_get_deleter()
27 BOOST_TEST( boost::get_deleter<deleter>( p ) != 0 ); in test_sp_get_deleter()
Dsp_unary_addr_test.cpp46 deleter * q = boost::get_deleter<deleter>( p ); in main()
58 deleter * q = boost::get_deleter<deleter>( p ); in main()
/third_party/boost/libs/move/test/
Dunique_ptr_ctordtor.cpp53 BOOST_TEST(&p.get_deleter() == &d); in test()
64 BOOST_TEST(&p.get_deleter() == &d); in test()
75 BOOST_TEST(&p.get_deleter() == &d); in test()
101 BOOST_TEST(p.get_deleter().state() == 5); in test()
111 BOOST_TEST(p.get_deleter().state() == 5); in test()
122 BOOST_TEST(p.get_deleter().state() == 5); in test()
133 BOOST_TEST(p.get_deleter().state() == 5); in test()
159 BOOST_TEST(s.get_deleter().state() == 5); in test()
172 BOOST_TEST(s.get_deleter().state() == 5); in test()
186 BOOST_TEST(s.get_deleter().state() == 5); in test()
[all …]
Dunique_ptr_movector.cpp105 BOOST_TEST(s2.get_deleter().state() == 5); in test()
106 BOOST_TEST(s.get_deleter().state() == 0); in test()
118 BOOST_TEST(s2.get_deleter().state() == 5); in test()
119 BOOST_TEST(s.get_deleter().state() == 0); in test()
159 BOOST_TEST(s2.get_deleter().state() == d.state()); in test()
160 BOOST_TEST(s.get_deleter().state() == d.state()); in test()
174 BOOST_TEST(s2.get_deleter().state() == d.state()); in test()
175 BOOST_TEST(s.get_deleter().state() == d.state()); in test()
189 BOOST_TEST(s2.get_deleter().state() == d.state()); in test()
190 BOOST_TEST(s.get_deleter().state() == d.state()); in test()
[all …]
Dunique_ptr_assign.cpp120 BOOST_TEST(s2.get_deleter().state() == 5); in test()
121 BOOST_TEST(s.get_deleter().state() == 0); in test()
137 BOOST_TEST(s2.get_deleter().state() == 5); in test()
138 BOOST_TEST(s.get_deleter().state() == 0); in test()
153 BOOST_TEST(s2.get_deleter().state() == 5); in test()
154 BOOST_TEST(s.get_deleter().state() == 0); in test()
167 BOOST_TEST(s2.get_deleter().state() == 5); in test()
168 BOOST_TEST(s.get_deleter().state() == 0); in test()
198 BOOST_TEST(s2.get_deleter().state() == 5); in test()
216 BOOST_TEST(s2.get_deleter().state() == 5); in test()
[all …]
Dunique_ptr_modifiers.cpp287 BOOST_TEST(s1.get_deleter().state() == 1); in test()
290 BOOST_TEST(s2.get_deleter().state() == 2); in test()
294 BOOST_TEST(s1.get_deleter().state() == 2); in test()
297 BOOST_TEST(s2.get_deleter().state() == 1); in test()
315 BOOST_TEST(s1.get_deleter().state() == 1); in test()
319 BOOST_TEST(s2.get_deleter().state() == 2); in test()
324 BOOST_TEST(s1.get_deleter().state() == 2); in test()
328 BOOST_TEST(s2.get_deleter().state() == 1); in test()
346 BOOST_TEST(s1.get_deleter().state() == 1); in test()
350 BOOST_TEST(s2.get_deleter().state() == 2); in test()
[all …]
Dunique_ptr_observers.cpp197 BOOST_TEST(p.get_deleter().test() == 5); in test()
201 BOOST_TEST(p.get_deleter().test() == 6); in test()
206 BOOST_TEST(p.get_deleter().test() == 5); in test()
210 BOOST_TEST(p.get_deleter().test() == 6); in test()
215 BOOST_TEST(p.get_deleter().test() == 5); in test()
219 BOOST_TEST(p.get_deleter().test() == 6); in test()
/third_party/libphonenumber/cpp/src/phonenumbers/base/memory/
Dscoped_ptr.h110 : data_(other->release(), other->get_deleter()) {
122 get_deleter() = other->get_deleter();
161 D& get_deleter() { return data_; }
162 const D& get_deleter() const { return data_; }
279 deleter_type& get_deleter() { return impl_.get_deleter(); }
280 const deleter_type& get_deleter() const { return impl_.get_deleter(); }
363 deleter_type& get_deleter() { return impl_.get_deleter(); }
364 const deleter_type& get_deleter() const { return impl_.get_deleter(); }
/third_party/boost/boost/ptr_container/detail/
Dstatic_move_ptr.hpp63 : impl_(p.get(), p.get_deleter()) in static_move_ptr()
73 : impl_(src.ptr().get(), src.ptr().get_deleter()) in static_move_ptr()
85 ~static_move_ptr() { if (ptr()) get_deleter()(ptr()); } in ~static_move_ptr()
129 if (ptr()) get_deleter()(ptr()); in reset()
143 deleter_reference get_deleter() { return impl_.second(); } in get_deleter() function in boost::ptr_container_detail::static_move_ptr
145 deleter_const_reference get_deleter() const { return impl_.second(); } in get_deleter() function in boost::ptr_container_detail::static_move_ptr
/third_party/boost/libs/interprocess/test/
Dunique_ptr_test.cpp61 ,segment.get_deleter<MyClass>()); in main()
63 ,segment.get_deleter<MyClass>()); in main()
70 my_unique_ptr_class my_ptr3(0, segment.get_deleter<MyClass>()); in main()
134 … my_unique_ptr_class a(0, segment.get_deleter<MyClass>()), b(0, segment.get_deleter<MyClass>()); in main()
/third_party/boost/boost/signals2/
Ddeconstruct.hpp273 …detail::deconstruct_deleter< T > * pd = boost::get_deleter< detail::deconstruct_deleter< T > >( pt… in deconstruct()
295 …detail::deconstruct_deleter< T > * pd = boost::get_deleter< detail::deconstruct_deleter< T > >( pt… in deconstruct()
314 …detail::deconstruct_deleter< T > * pd = boost::get_deleter< detail::deconstruct_deleter< T > >( pt… in deconstruct()
331 …detail::deconstruct_deleter< T > * pd = boost::get_deleter< detail::deconstruct_deleter< T > >( pt… in deconstruct()
348 …detail::deconstruct_deleter< T > * pd = boost::get_deleter< detail::deconstruct_deleter< T > >( pt… in deconstruct()
365 …detail::deconstruct_deleter< T > * pd = boost::get_deleter< detail::deconstruct_deleter< T > >( pt… in deconstruct()
382 …detail::deconstruct_deleter< T > * pd = boost::get_deleter< detail::deconstruct_deleter< T > >( pt… in deconstruct()
399 …detail::deconstruct_deleter< T > * pd = boost::get_deleter< detail::deconstruct_deleter< T > >( pt… in deconstruct()
416 …detail::deconstruct_deleter< T > * pd = boost::get_deleter< detail::deconstruct_deleter< T > >( pt… in deconstruct()
433 …detail::deconstruct_deleter< T > * pd = boost::get_deleter< detail::deconstruct_deleter< T > >( pt… in deconstruct()
[all …]
/third_party/boost/boost/python/converter/
Dshared_ptr_to_python.hpp22 else if (shared_ptr_deleter* d = boost::get_deleter<shared_ptr_deleter>(x)) in shared_ptr_to_python()
34 else if (shared_ptr_deleter* d = std::get_deleter<shared_ptr_deleter>(x)) in shared_ptr_to_python()
/third_party/boost/boost/smart_ptr/detail/
Dsp_counted_impl.hpp92 void * get_deleter( sp_typeinfo_ const & ) BOOST_SP_NOEXCEPT BOOST_OVERRIDE in get_deleter() function in boost::detail::sp_counted_impl_p
172 void * get_deleter( sp_typeinfo_ const & ti ) BOOST_SP_NOEXCEPT BOOST_OVERRIDE in get_deleter() function in boost::detail::sp_counted_impl_pd
265 void * get_deleter( sp_typeinfo_ const & ti ) BOOST_SP_NOEXCEPT BOOST_OVERRIDE in get_deleter() function in boost::detail::sp_counted_impl_pda
Dshared_count.hpp390 D2 d2( r.get_deleter() ); in shared_count()
415 D2 d2( r.get_deleter() ); in shared_count()
511 void * get_deleter( sp_typeinfo_ const & ti ) const BOOST_SP_NOEXCEPT in get_deleter() function in boost::detail::shared_count
513 return pi_? pi_->get_deleter( ti ): 0; in get_deleter()
/third_party/boost/boost/serialization/detail/
Dshared_count_132.hpp109 virtual void * get_deleter(std::type_info const & ti) = 0;
259 virtual void * get_deleter(std::type_info const & ti) in get_deleter() function in boost_132::detail::sp_counted_base_impl
431 void * get_deleter(std::type_info const & ti) const in get_deleter() function in boost_132::detail::shared_count
433 return pi_? pi_->get_deleter(ti): 0; in get_deleter()
/third_party/boost/boost/interprocess/smart_ptr/
Dshared_ptr.hpp310 const_deleter_pointer get_deleter() const in get_deleter() function in boost::interprocess::shared_ptr
311 { return m_pn.get_deleter(); } in get_deleter()
386 , managed_memory.template get_deleter<T>() in make_managed_shared_ptr()
402 , managed_memory.template get_deleter<T>() in make_managed_shared_ptr()
/third_party/boost/boost/move/
Dunique_ptr.hpp530 : m_data(u.release(), ::boost::move_if_not_lvalue_reference<D>(u.get_deleter())) in unique_ptr()
552 : m_data(u.release(), ::boost::move_if_not_lvalue_reference<E>(u.get_deleter()))
581 m_data.deleter() = ::boost::move_if_not_lvalue_reference<D>(u.get_deleter()); in operator =()
603 m_data.deleter() = ::boost::move_if_not_lvalue_reference<E>(u.get_deleter()); in BOOST_MOVE_DOC1ST()
662 get_deleter() BOOST_NOEXCEPT in BOOST_MOVE_DOC1ST()
668 get_deleter() const BOOST_NOEXCEPT in BOOST_MOVE_DOC1ST()

123