Searched refs:shared_ptr (Results 1 - 25 of 95) sorted by relevance

1234

/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/
H A Dop_bool.pass.cpp12 // shared_ptr
22 const std::shared_ptr<int> p(new int(32));
26 const std::shared_ptr<int> p;
H A Dunique.pass.cpp12 // shared_ptr
21 const std::shared_ptr<int> p(new int(32));
24 std::shared_ptr<int> p2 = p;
H A Downer_before_shared_ptr.pass.cpp12 // shared_ptr
14 // template <class U> bool owner_before(shared_ptr<U> const& b) const;
21 const std::shared_ptr<int> p1(new int);
22 const std::shared_ptr<int> p2 = p1;
23 const std::shared_ptr<int> p3(new int);
H A Ddereference.pass.cpp12 // shared_ptr
21 const std::shared_ptr<int> p(new int(32));
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
H A Dshared_ptr.hpp5 // shared_ptr.hpp
14 // See http://www.boost.org/libs/smart_ptr/shared_ptr.htm for documentation.
17 #include <boost/smart_ptr/shared_ptr.hpp>
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/
H A Datomic_compare_exchange_strong.pass.cpp17 // shared_ptr
21 // atomic_compare_exchange_strong(shared_ptr<T>* p, shared_ptr<T>* v,
22 // shared_ptr<T> w);
31 std::shared_ptr<int> p(new int(4));
32 std::shared_ptr<int> v(new int(3));
33 std::shared_ptr<int> w(new int(2));
41 std::shared_ptr<int> p(new int(4));
42 std::shared_ptr<int> v = p;
43 std::shared_ptr<in
[all...]
H A Datomic_compare_exchange_weak.pass.cpp17 // shared_ptr
21 // atomic_compare_exchange_weak(shared_ptr<T>* p, shared_ptr<T>* v,
22 // shared_ptr<T> w);
31 std::shared_ptr<int> p(new int(4));
32 std::shared_ptr<int> v(new int(3));
33 std::shared_ptr<int> w(new int(2));
41 std::shared_ptr<int> p(new int(4));
42 std::shared_ptr<int> v = p;
43 std::shared_ptr<in
[all...]
H A Datomic_exchange.pass.cpp17 // shared_ptr
20 // shared_ptr<T>
21 // atomic_exchange(shared_ptr<T>* p, shared_ptr<T> r)
30 std::shared_ptr<int> p(new int(4));
31 std::shared_ptr<int> r(new int(3));
H A Datomic_load.pass.cpp17 // shared_ptr
20 // shared_ptr<T>
21 // atomic_load(const shared_ptr<T>* p)
30 std::shared_ptr<int> p(new int(3));
31 std::shared_ptr<int> q = std::atomic_load(&p);
H A Datomic_load_explicit.pass.cpp17 // shared_ptr
20 // shared_ptr<T>
21 // atomic_load_explicit(const shared_ptr<T>* p, memory_order mo)
30 const std::shared_ptr<int> p(new int(3));
31 std::shared_ptr<int> q = std::atomic_load_explicit(&p, std::memory_order_relaxed);
H A Datomic_store.pass.cpp17 // shared_ptr
21 // atomic_store(shared_ptr<T>* p, shared_ptr<T> r)
30 std::shared_ptr<int> p;
31 std::shared_ptr<int> r(new int(3));
H A Datomic_store_explicit.pass.cpp17 // shared_ptr
21 // atomic_store_explicit(shared_ptr<T>* p, shared_ptr<T> r, memory_order mo)
30 std::shared_ptr<int> p;
31 std::shared_ptr<int> r(new int(3));
H A Datomic_compare_exchange_strong_explicit.pass.cpp17 // shared_ptr
21 // atomic_compare_exchange_strong_explicit(shared_ptr<T>* p, shared_ptr<T>* v,
22 // shared_ptr<T> w, memory_order success,
32 std::shared_ptr<int> p(new int(4));
33 std::shared_ptr<int> v(new int(3));
34 std::shared_ptr<int> w(new int(2));
44 std::shared_ptr<int> p(new int(4));
45 std::shared_ptr<int> v = p;
46 std::shared_ptr<in
[all...]
H A Datomic_compare_exchange_weak_explicit.pass.cpp17 // shared_ptr
21 // atomic_compare_exchange_weak_explicit(shared_ptr<T>* p, shared_ptr<T>* v,
22 // shared_ptr<T> w, memory_order success,
32 std::shared_ptr<int> p(new int(4));
33 std::shared_ptr<int> v(new int(3));
34 std::shared_ptr<int> w(new int(2));
44 std::shared_ptr<int> p(new int(4));
45 std::shared_ptr<int> v = p;
46 std::shared_ptr<in
[all...]
H A Datomic_is_lock_free.pass.cpp12 // shared_ptr
16 // atomic_is_lock_free(const shared_ptr<T>* p);
25 const std::shared_ptr<int> p(new int(3));
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
H A Dnot_less_than.fail.cpp21 const std::shared_ptr<int> p1(new int);
22 const std::shared_ptr<int> p2(new int);
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/
H A Deq.pass.cpp12 // shared_ptr
14 // template<class T, class U> bool operator==(const shared_ptr<T>& a, const shared_ptr<U>& b);
15 // template<class T, class U> bool operator!=(const shared_ptr<T>& a, const shared_ptr<U>& b);
26 const std::shared_ptr<int> p1(ptr1);
27 const std::shared_ptr<int> p2(ptr2);
28 const std::shared_ptr<int> p3(ptr2, do_nothing);
H A Dlt.pass.cpp12 // shared_ptr
14 // template<class T, class U> bool operator<(const shared_ptr<T>& a, const shared_ptr<U>& b);
25 const std::shared_ptr<int> p1(ptr1);
26 const std::shared_ptr<int> p2(ptr2);
27 const std::shared_ptr<int> p3(ptr2, do_nothing);
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/runtime/
H A Dfwd.hpp22 #include <boost/shared_ptr.hpp>
31 typedef shared_ptr<argument> argument_ptr;
32 typedef shared_ptr<argument const> const_argument_ptr;
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/
H A Dshared_ptr.hpp5 // shared_ptr.hpp
14 // See http://www.boost.org/libs/smart_ptr/shared_ptr.htm for documentation.
57 template<class T> class shared_ptr;
101 template< class X, class Y, class T > inline void sp_enable_shared_from_this( boost::shared_ptr<X> const * ppx, Y const * py, boost::enable_shared_from_this< T > const * pe )
109 template< class X, class Y, class T > inline void sp_enable_shared_from_this( boost::shared_ptr<X> * ppx, Y const * py, boost::enable_shared_from_this2< T > const * pe )
157 // shared_ptr
160 // The object pointed to is deleted when the last shared_ptr pointing to it
164 template<class T> class shared_ptr class in namespace:boost
169 typedef shared_ptr<T> this_type;
178 shared_ptr() function in class:boost::shared_ptr
183 explicit shared_ptr( Y * p ): px( p ), pn( p ) // Y must be complete function in class:boost::shared_ptr
194 template<class Y, class D> shared_ptr(Y * p, D d): px(p), pn(p, d) function in class:boost::shared_ptr
201 template<class Y, class D, class A> shared_ptr( Y * p, D d, A a ): px( p ), pn( p, d, a ) function in class:boost::shared_ptr
212 shared_ptr( shared_ptr const & r ): px( r.px ), pn( r.pn ) // never throws function in class:boost::shared_ptr
219 explicit shared_ptr(weak_ptr<Y> const & r): pn(r.pn) // may throw function in class:boost::shared_ptr
226 shared_ptr( weak_ptr<Y> const & r, boost::detail::sp_nothrow_tag ): px( 0 ), pn( r.pn, boost::detail::sp_nothrow_tag() ) // never throws function in class:boost::shared_ptr
237 shared_ptr( shared_ptr<Y> const & r, typename boost::detail::sp_enable_if_convertible<Y,T>::type = boost::detail::sp_empty() ) function in class:boost::shared_ptr
250 shared_ptr( shared_ptr<Y> const & r, T * p ): px( p ), pn( r.pn ) // never throws function in class:boost::shared_ptr
255 shared_ptr(shared_ptr<Y> const & r, boost::detail::static_cast_tag): px(static_cast<element_type *>(r.px)), pn(r.pn) function in class:boost::shared_ptr
260 shared_ptr(shared_ptr<Y> const & r, boost::detail::const_cast_tag): px(const_cast<element_type *>(r.px)), pn(r.pn) function in class:boost::shared_ptr
265 shared_ptr(shared_ptr<Y> const & r, boost::detail::dynamic_cast_tag): px(dynamic_cast<element_type *>(r.px)), pn(r.pn) function in class:boost::shared_ptr
274 shared_ptr(shared_ptr<Y> const & r, boost::detail::polymorphic_cast_tag): px(dynamic_cast<element_type *>(r.px)), pn(r.pn) function in class:boost::shared_ptr
285 explicit shared_ptr(std::auto_ptr<Y> & r): px(r.get()), pn() function in class:boost::shared_ptr
295 explicit shared_ptr( Ap r, typename boost::detail::sp_enable_if_auto_ptr<Ap, int>::type = 0 ): px( r.get() ), pn() function in class:boost::shared_ptr
353 shared_ptr( shared_ptr && r ): px( r.px ), pn() // never throws function in class:boost::shared_ptr
362 shared_ptr( shared_ptr<Y> && r, typename boost::detail::sp_enable_if_convertible<Y,T>::type = boost::detail::sp_empty() ) function in class:boost::shared_ptr
[all...]
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/runtime/cla/
H A Dfwd.hpp22 #include <boost/shared_ptr.hpp>
32 typedef shared_ptr<parameter> parameter_ptr;
34 typedef shared_ptr<naming_policy> naming_policy_ptr;
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.enab/
H A Denable_shared_from_this.pass.cpp19 // shared_ptr<T> shared_from_this();
20 // shared_ptr<T const> shared_from_this() const;
38 std::shared_ptr<Y> p(new Z);
39 std::shared_ptr<T> q = p->shared_from_this();
44 std::shared_ptr<Y> p = std::make_shared<Z>();
45 std::shared_ptr<T> q = p->shared_from_this();
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/
H A Dtypes.pass.cpp12 // template<class T> class shared_ptr
25 static_assert((std::is_same<std::shared_ptr<A>::element_type, A>::value), "");
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
H A Ddefault.pass.cpp12 // shared_ptr();
19 std::shared_ptr<int> p;
H A Dnullptr_t.pass.cpp12 // shared_ptr(nullptr_t)
19 std::shared_ptr<int> p(nullptr);

Completed in 269 milliseconds

1234