/third_party/boost/boost/smart_ptr/ |
D | intrusive_ptr.hpp | 53 template<class T> class intrusive_ptr class 57 typedef intrusive_ptr this_type; 63 BOOST_CONSTEXPR intrusive_ptr() BOOST_SP_NOEXCEPT : px( 0 ) in intrusive_ptr() function in boost::intrusive_ptr 67 intrusive_ptr( T * p, bool add_ref = true ): px( p ) in intrusive_ptr() function in boost::intrusive_ptr 77 …intrusive_ptr( intrusive_ptr<U> const & rhs, typename boost::detail::sp_enable_if_convertible<U,T>… in intrusive_ptr() function in boost::intrusive_ptr 81 intrusive_ptr( intrusive_ptr<U> const & rhs ) in intrusive_ptr() 91 intrusive_ptr(intrusive_ptr const & rhs): px( rhs.px ) in intrusive_ptr() function in boost::intrusive_ptr 96 ~intrusive_ptr() in ~intrusive_ptr() 103 template<class U> intrusive_ptr & operator=(intrusive_ptr<U> const & rhs) in operator =() 115 intrusive_ptr(intrusive_ptr && rhs) BOOST_SP_NOEXCEPT : px( rhs.px ) in intrusive_ptr() function in boost::intrusive_ptr [all …]
|
/third_party/boost/libs/smart_ptr/doc/smart_ptr/ |
D | intrusive_ptr.adoc | 10 [#intrusive_ptr] anchor 11 # intrusive_ptr: Managing Objects with Embedded Counts 18 The `intrusive_ptr` class template stores a pointer to an object with an embedded reference count. 19 Every new `intrusive_ptr` instance increments the reference count by using an unqualified call to t… 20 … `intrusive_ptr_add_ref`, passing it the pointer as an argument. Similarly, when an `intrusive_ptr` 26 may help adding support for `intrusive_ptr` to user types. 28 The class template is parameterized on `T`, the type of the object pointed to. `intrusive_ptr<T>` c… 29 converted to `intrusive_ptr<U>` whenever `T*` can be implicitly converted to `U*`. 31 The main reasons to use `intrusive_ptr` are: 34 * The memory footprint of `intrusive_ptr` is the same as the corresponding raw pointer; [all …]
|
/third_party/boost/boost/interprocess/smart_ptr/ |
D | intrusive_ptr.hpp | 59 class intrusive_ptr class 72 typedef intrusive_ptr this_type; 76 BOOST_COPYABLE_AND_MOVABLE(intrusive_ptr) 81 intrusive_ptr() BOOST_NOEXCEPT in intrusive_ptr() function in boost::interprocess::intrusive_ptr 88 intrusive_ptr(const pointer &p, bool add_ref = true) BOOST_NOEXCEPT in intrusive_ptr() function in boost::interprocess::intrusive_ptr 96 intrusive_ptr(intrusive_ptr const & rhs) BOOST_NOEXCEPT in intrusive_ptr() function in boost::interprocess::intrusive_ptr 103 intrusive_ptr(BOOST_RV_REF(intrusive_ptr) rhs) BOOST_NOEXCEPT in intrusive_ptr() function in boost::interprocess::intrusive_ptr 111 template<class U> intrusive_ptr(intrusive_ptr<U, VP> const & rhs) BOOST_NOEXCEPT in intrusive_ptr() function in boost::interprocess::intrusive_ptr 118 ~intrusive_ptr() in ~intrusive_ptr() 125 intrusive_ptr & operator=(BOOST_COPY_ASSIGN_REF(intrusive_ptr) rhs) BOOST_NOEXCEPT in operator =() [all …]
|
/third_party/boost/libs/smart_ptr/test/ |
D | intrusive_ptr_test.cpp | 142 typedef boost::intrusive_ptr<X>::element_type T; in test() 154 boost::intrusive_ptr<X> px; in default_constructor() 161 boost::intrusive_ptr<X> px(0); in pointer_constructor() 166 boost::intrusive_ptr<X> px(0, false); in pointer_constructor() 178 boost::intrusive_ptr<X> px(p); in pointer_constructor() 197 boost::intrusive_ptr<X> px(p, false); in pointer_constructor() 208 boost::intrusive_ptr<X> px; in copy_constructor() 209 boost::intrusive_ptr<X> px2(px); in copy_constructor() 214 boost::intrusive_ptr<Y> py; in copy_constructor() 215 boost::intrusive_ptr<X> px(py); in copy_constructor() [all …]
|
D | intrusive_ptr_move_test.cpp | 135 boost::intrusive_ptr<X> p( new X ); in main() 138 boost::intrusive_ptr<X> p2( std::move( p ) ); in main() 147 boost::intrusive_ptr<Y> p( new Y ); in main() 150 boost::intrusive_ptr<X> p2( std::move( p ) ); in main() 159 boost::intrusive_ptr<X> p( new X ); in main() 162 boost::intrusive_ptr<X> p2; in main() 172 boost::intrusive_ptr<X> p( new X ); in main() 175 boost::intrusive_ptr<X> p2( new X ); in main() 186 boost::intrusive_ptr<Y> p( new Y ); in main() 189 boost::intrusive_ptr<X> p2; in main() [all …]
|
D | pointer_to_other_test.cpp | 60 …assert_same_type< boost::pointer_to_other< boost::intrusive_ptr<X>, Y >::type, boost::intrusive_pt… in main() 61 …assert_same_type< boost::pointer_to_other< boost::intrusive_ptr<X>, void >::type, boost::intrusive… in main() 62 …assert_same_type< boost::pointer_to_other< boost::intrusive_ptr<void>, Y >::type, boost::intrusive… in main()
|
D | ip_convertible_test.cpp | 40 int f( boost::intrusive_ptr<X> ) in f() 45 int f( boost::intrusive_ptr<Y> ) in f() 52 BOOST_TEST( 1 == f( boost::intrusive_ptr<Z>() ) ); in main()
|
D | intrusive_ref_counter_test.cpp | 125 boost::intrusive_ptr< N1::my_class > p = new N1::my_class(); in main() 130 boost::intrusive_ptr< N2::my_class > p = new N2::my_class(); in main() 143 boost::intrusive_ptr< N6::Z > p1 = new N6::Z(); in main() 146 boost::intrusive_ptr< N3::root > p2 = p1; in main()
|
D | ip_hash_test2.cpp | 59 boost::intrusive_ptr<X> p1, p2( new X ); in main() 61 BOOST_TEST_EQ( std::hash< boost::intrusive_ptr<X> >()( p1 ), std::hash< X* >()( p1.get() ) ); in main() 62 BOOST_TEST_EQ( std::hash< boost::intrusive_ptr<X> >()( p2 ), std::hash< X* >()( p2.get() ) ); in main()
|
/third_party/boost/libs/interprocess/test/ |
D | intrusive_ptr_test.cpp | 97 typedef boost::interprocess::intrusive_ptr<X, VP>::element_type T; in test() 109 boost::interprocess::intrusive_ptr<X, VP> px; in default_constructor() 116 boost::interprocess::intrusive_ptr<X, VP> px(0); in pointer_constructor() 121 boost::interprocess::intrusive_ptr<X, VP> px(0, false); in pointer_constructor() 129 boost::interprocess::intrusive_ptr<X, VP> px(p); in pointer_constructor() 141 boost::interprocess::intrusive_ptr<X, VP> px(p, false); in pointer_constructor() 150 boost::interprocess::intrusive_ptr<X, VP> px; in copy_constructor() 151 boost::interprocess::intrusive_ptr<X, VP> px2(px); in copy_constructor() 156 boost::interprocess::intrusive_ptr<Y, VP> py; in copy_constructor() 157 boost::interprocess::intrusive_ptr<X, VP> px(py); in copy_constructor() [all …]
|
/third_party/mesa3d/src/gallium/frontends/clover/util/ |
D | pointer.hpp | 116 class intrusive_ptr { class 118 intrusive_ptr(T *q = NULL) : p(q) { in intrusive_ptr() function in clover::intrusive_ptr 123 intrusive_ptr(const intrusive_ptr &ptr) : in intrusive_ptr() function in clover::intrusive_ptr 124 intrusive_ptr(ptr.p) { in intrusive_ptr() 127 intrusive_ptr(intrusive_ptr &&ptr) : in intrusive_ptr() function in clover::intrusive_ptr 132 ~intrusive_ptr() { in ~intrusive_ptr() 137 intrusive_ptr & 138 operator=(intrusive_ptr ptr) { in operator =() 144 operator==(const intrusive_ptr &ref) const { in operator ==() 149 operator!=(const intrusive_ptr &ref) const { in operator !=()
|
/third_party/boost/boost/xpressive/detail/core/ |
D | optimize.hpp | 28 intrusive_ptr<finder<BidiIter> > optimize_regex in optimize_regex() 37 return intrusive_ptr<finder<BidiIter> > in optimize_regex() 44 return intrusive_ptr<finder<BidiIter> > in optimize_regex() 51 return intrusive_ptr<finder<BidiIter> > in optimize_regex() 57 return intrusive_ptr<finder<BidiIter> >(); in optimize_regex() 64 intrusive_ptr<finder<BidiIter> > optimize_regex in optimize_regex() 78 return intrusive_ptr<finder<BidiIter> > in optimize_regex() 93 intrusive_ptr<matchable_ex<BidiIter> const> const ®ex in common_compile()
|
D | adaptor.hpp | 73 inline intrusive_ptr<Base const> make_adaptor(Xpr const &xpr) in make_adaptor() 75 return intrusive_ptr<Base const>(new xpression_adaptor<Xpr, Base>(xpr)); in make_adaptor()
|
/third_party/boost/boost/statechart/ |
D | event_base.hpp | 56 intrusive_ptr< const event_base > intrusive_from_this() const; 69 virtual intrusive_ptr< const event_base > clone() const = 0; 108 inline intrusive_ptr< const event_base > event_base::intrusive_from_this() const in intrusive_from_this() 112 return intrusive_ptr< const event_base >( this ); in intrusive_from_this()
|
D | event.hpp | 64 virtual intrusive_ptr< const event_base > clone() const in clone() 66 return intrusive_ptr< const event_base >( new MostDerived( in clone()
|
/third_party/mesa3d/src/gallium/frontends/clover/core/ |
D | printf.hpp | 34 create(const intrusive_ptr<command_queue> &q, 48 printf_handler(const intrusive_ptr<command_queue> &q, 52 intrusive_ptr<command_queue> _q;
|
/third_party/boost/libs/statechart/example/PingPong/ |
D | Player.hpp | 52 boost::intrusive_ptr< T > MakeIntrusive( T * pObject ) in MakeIntrusive() 54 return boost::intrusive_ptr< T >( pObject ); in MakeIntrusive() 61 boost::function1< void, const boost::intrusive_ptr< const BallReturned > & >
|
/third_party/boost/tools/quickbook/src/ |
D | symbols.hpp | 74 boost::intrusive_ptr<tst_node> left; 75 boost::intrusive_ptr<tst_node> middle; 76 boost::intrusive_ptr<tst_node> right; 100 typedef boost::intrusive_ptr<node_t> node_ptr;
|
/third_party/boost/boost/log/attributes/ |
D | attribute.hpp | 89 intrusive_ptr< impl > m_pImpl; 113 explicit attribute(intrusive_ptr< impl > p) BOOST_NOEXCEPT { m_pImpl.swap(p); } in attribute() 168 void set_impl(intrusive_ptr< impl > p) BOOST_NOEXCEPT { m_pImpl.swap(p); } in set_impl()
|
D | mutable_constant.hpp | 110 intrusive_ptr< attr_value > m_Value; 134 intrusive_ptr< attr_value > p = new attr_value(value); in set() 141 intrusive_ptr< attr_value > p = new attr_value(boost::move(value)); in set() 234 intrusive_ptr< attr_value > m_Value;
|
D | attribute_value.hpp | 93 virtual intrusive_ptr< impl > detach_from_thread() in detach_from_thread() 111 intrusive_ptr< impl > m_pImpl; 134 explicit attribute_value(intrusive_ptr< impl > p) BOOST_NOEXCEPT { m_pImpl.swap(p); } in attribute_value()
|
/third_party/boost/boost/phoenix/function/ |
D | lazy_reuse.hpp | 130 boost::intrusive_ptr<const M> ref; 134 if( !ref ) ref = boost::intrusive_ptr<const M>( new M(f,x) ); in operator ()() 174 boost::intrusive_ptr<const M> ref; 178 if( !ref ) ref = boost::intrusive_ptr<const M>( new M(f,x,y) ); in operator ()() 225 boost::intrusive_ptr<const M> ref; 229 if( !ref ) ref = boost::intrusive_ptr<const M>( new M(f,x,y,z) ); in operator ()() 278 boost::intrusive_ptr<const M> ref; 282 if( !ref ) ref = boost::intrusive_ptr<const M>( new M(f,w,x,y,z) ); in operator ()()
|
/third_party/boost/boost/xpressive/detail/dynamic/ |
D | sequence.hpp | 41 sequence(intrusive_ptr<dynamic_xpression<Matcher, BidiIter> > const &xpr) in sequence() 53 …sequence(intrusive_ptr<dynamic_xpression<alternate_matcher<alternates_vector<BidiIter>, Traits>, B… in sequence() 157 intrusive_ptr<alt_end_xpr_type> alt_end_xpr_;
|
/third_party/boost/boost/xpressive/detail/utility/ |
D | tracking_ptr.hpp | 432 if(intrusive_ptr<element_type> impl = this->fork_()) in get() 449 typedef intrusive_ptr<element_type> tracking_ptr::* unspecified_bool_type; 478 intrusive_ptr<element_type> fork_() const in fork_() 480 intrusive_ptr<element_type> impl; in fork_() 498 mutable intrusive_ptr<element_type> impl_;
|
/third_party/boost/libs/fiber/src/algo/ |
D | work_stealing.cpp | 27 std::vector< intrusive_ptr< work_stealing > > work_stealing::schedulers_{}; 31 std::vector< intrusive_ptr< work_stealing > > & schedulers) { in init_() 33 std::vector< intrusive_ptr< work_stealing > >{ thread_count, nullptr }.swap( schedulers); in init_()
|