/ndk/tests/device/test-gnustl-full/unit/ |
shared_ptr_test.cpp | 34 std::tr1::shared_ptr<X> p( new X ); 35 std::tr1::shared_ptr<X> q = p->shared_from_this();
|
/ndk/tests/device/test-stlport/unit/ |
shared_ptr_test.cpp | 34 std::tr1::shared_ptr<X> p( new X ); 35 std::tr1::shared_ptr<X> q = p->shared_from_this();
|
/external/clang/test/SemaTemplate/ |
destructor-template.cpp | 62 template <class T> class shared_ptr {}; class in namespace:rdar13140795 70 shared_ptr<T> *x; 71 x->template shared_ptr<T>::~shared_ptr();
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
shared_ptr.pass.cpp | 12 // shared_ptr 14 // shared_ptr(const shared_ptr& r); 33 std::shared_ptr<A> pA(new A); 37 std::shared_ptr<A> pA2(pA); 48 std::shared_ptr<A> pA; 52 std::shared_ptr<A> pA2(pA);
|
shared_ptr_rv.pass.cpp | 12 // shared_ptr 14 // shared_ptr(shared_ptr&& r); 33 std::shared_ptr<A> pA(new A); 38 std::shared_ptr<A> pA2(std::move(pA)); 59 std::shared_ptr<A> pA; 63 std::shared_ptr<A> pA2(std::move(pA));
|
shared_ptr_pointer.pass.cpp | 12 // shared_ptr 14 // template<class Y> shared_ptr(const shared_ptr<Y>& r, T *p); 44 std::shared_ptr<A> pA(new A); 48 std::shared_ptr<B> pB(pA, &b);
|
auto_ptr.pass.cpp | 12 // template<class Y> explicit shared_ptr(auto_ptr<Y>&& r); 62 std::shared_ptr<B> p(std::move(ptr)); 64 std::shared_ptr<B> p(ptr); 80 std::shared_ptr<B> p(std::move(ptr)); 82 std::shared_ptr<B> p(ptr); 94 // the shared_ptr destructor and the copy was
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/ |
arrow.pass.cpp | 12 // shared_ptr 22 const std::shared_ptr<std::pair<int, int> > p(new std::pair<int, int>(3, 4));
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/ |
owner_less.pass.cpp | 15 // struct owner_less<shared_ptr<T> > 16 // : binary_function<shared_ptr<T>, shared_ptr<T>, bool> 19 // bool operator()(shared_ptr<T> const&, shared_ptr<T> const&) const; 20 // bool operator()(shared_ptr<T> const&, weak_ptr<T> const&) const; 21 // bool operator()(weak_ptr<T> const&, shared_ptr<T> const&) const; 30 // bool operator()(shared_ptr<T> const&, weak_ptr<T> const&) const; 31 // bool operator()(weak_ptr<T> const&, shared_ptr<T> const&) const; 39 const std::shared_ptr<int> p1(new int) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/ |
shared_ptr_Y.pass.cpp | 14 // template<class Y> weak_ptr(const shared_ptr<Y>& r); 56 static_assert(( std::is_convertible<std::shared_ptr<A>, std::weak_ptr<B> >::value), ""); 57 static_assert((!std::is_convertible<std::weak_ptr<B>, std::shared_ptr<A> >::value), ""); 58 static_assert((!std::is_convertible<std::shared_ptr<A>, std::weak_ptr<C> >::value), ""); 60 const std::shared_ptr<A> pA(new A); 78 std::shared_ptr<A> pA;
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/bits/ |
shared_ptr.h | 0 // shared_ptr and weak_ptr implementation -*- C++ -*- 28 // shared_ptr.hpp 44 /** @file bits/shared_ptr.h 517 class shared_ptr; 627 * This can be used to construct a @c shared_ptr to a sub-object 628 * of an object managed by an existing @c shared_ptr. 631 * shared_ptr< pair<int,int> > pii(new pair<int,int>()); 632 * shared_ptr<int> pi(pii, &pii->first); 886 // 20.8.13.2.7 shared_ptr comparisons 940 // 2.2.3.8 shared_ptr specialized algorithms 1234 class shared_ptr class in inherits:__shared_ptr 1238 shared_ptr() function in class:shared_ptr 1243 shared_ptr(_Tp1* __p) function in class:shared_ptr 1247 shared_ptr(_Tp1* __p, _Deleter __d) function in class:shared_ptr 1251 shared_ptr(_Tp1* __p, _Deleter __d, const _Alloc& __a) function in class:shared_ptr 1256 shared_ptr(const shared_ptr<_Tp1>& __r, _Tp* __p) function in class:shared_ptr 1260 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:shared_ptr 1263 shared_ptr(shared_ptr&& __r) function in class:shared_ptr 1267 shared_ptr(shared_ptr<_Tp1>&& __r) function in class:shared_ptr 1272 shared_ptr(const weak_ptr<_Tp1>& __r) function in class:shared_ptr 1278 shared_ptr(std::auto_ptr<_Tp1>&& __r) function in class:shared_ptr 1288 shared_ptr(std::unique_ptr<_Tp1, _Del>&& __r) function in class:shared_ptr 1339 shared_ptr(_Sp_make_shared_tag __tag, _Alloc __a, _Args&&... __args) function in class:shared_ptr [all...] |
/prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/bits/ |
shared_ptr.h | 0 // shared_ptr and weak_ptr implementation -*- C++ -*- 28 // shared_ptr.hpp 44 /** @file bits/shared_ptr.h 517 class shared_ptr; 627 * This can be used to construct a @c shared_ptr to a sub-object 628 * of an object managed by an existing @c shared_ptr. 631 * shared_ptr< pair<int,int> > pii(new pair<int,int>()); 632 * shared_ptr<int> pi(pii, &pii->first); 886 // 20.8.13.2.7 shared_ptr comparisons 940 // 2.2.3.8 shared_ptr specialized algorithms 1234 class shared_ptr class in inherits:__shared_ptr 1238 shared_ptr() function in class:shared_ptr 1243 shared_ptr(_Tp1* __p) function in class:shared_ptr 1247 shared_ptr(_Tp1* __p, _Deleter __d) function in class:shared_ptr 1251 shared_ptr(_Tp1* __p, _Deleter __d, const _Alloc& __a) function in class:shared_ptr 1256 shared_ptr(const shared_ptr<_Tp1>& __r, _Tp* __p) function in class:shared_ptr 1260 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:shared_ptr 1263 shared_ptr(shared_ptr&& __r) function in class:shared_ptr 1267 shared_ptr(shared_ptr<_Tp1>&& __r) function in class:shared_ptr 1272 shared_ptr(const weak_ptr<_Tp1>& __r) function in class:shared_ptr 1278 shared_ptr(std::auto_ptr<_Tp1>&& __r) function in class:shared_ptr 1288 shared_ptr(std::unique_ptr<_Tp1, _Del>&& __r) function in class:shared_ptr 1339 shared_ptr(_Sp_make_shared_tag __tag, _Alloc __a, _Args&&... __args) function in class:shared_ptr [all...] |
/prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/bits/ |
shared_ptr.h | 0 // shared_ptr and weak_ptr implementation -*- C++ -*- 28 // shared_ptr.hpp 44 /** @file bits/shared_ptr.h 517 class shared_ptr; 627 * This can be used to construct a @c shared_ptr to a sub-object 628 * of an object managed by an existing @c shared_ptr. 631 * shared_ptr< pair<int,int> > pii(new pair<int,int>()); 632 * shared_ptr<int> pi(pii, &pii->first); 886 // 20.8.13.2.7 shared_ptr comparisons 940 // 2.2.3.8 shared_ptr specialized algorithms 1234 class shared_ptr class in inherits:__shared_ptr 1238 shared_ptr() function in class:shared_ptr 1243 shared_ptr(_Tp1* __p) function in class:shared_ptr 1247 shared_ptr(_Tp1* __p, _Deleter __d) function in class:shared_ptr 1251 shared_ptr(_Tp1* __p, _Deleter __d, const _Alloc& __a) function in class:shared_ptr 1256 shared_ptr(const shared_ptr<_Tp1>& __r, _Tp* __p) function in class:shared_ptr 1260 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:shared_ptr 1263 shared_ptr(shared_ptr&& __r) function in class:shared_ptr 1267 shared_ptr(shared_ptr<_Tp1>&& __r) function in class:shared_ptr 1272 shared_ptr(const weak_ptr<_Tp1>& __r) function in class:shared_ptr 1278 shared_ptr(std::auto_ptr<_Tp1>&& __r) function in class:shared_ptr 1288 shared_ptr(std::unique_ptr<_Tp1, _Del>&& __r) function in class:shared_ptr 1339 shared_ptr(_Sp_make_shared_tag __tag, _Alloc __a, _Args&&... __args) function in class:shared_ptr [all...] |
/prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/bits/ |
shared_ptr.h | 0 // shared_ptr and weak_ptr implementation -*- C++ -*- 28 // shared_ptr.hpp 44 /** @file bits/shared_ptr.h 517 class shared_ptr; 627 * This can be used to construct a @c shared_ptr to a sub-object 628 * of an object managed by an existing @c shared_ptr. 631 * shared_ptr< pair<int,int> > pii(new pair<int,int>()); 632 * shared_ptr<int> pi(pii, &pii->first); 886 // 20.8.13.2.7 shared_ptr comparisons 940 // 2.2.3.8 shared_ptr specialized algorithms 1234 class shared_ptr class in inherits:__shared_ptr 1238 shared_ptr() function in class:shared_ptr 1243 shared_ptr(_Tp1* __p) function in class:shared_ptr 1247 shared_ptr(_Tp1* __p, _Deleter __d) function in class:shared_ptr 1251 shared_ptr(_Tp1* __p, _Deleter __d, const _Alloc& __a) function in class:shared_ptr 1256 shared_ptr(const shared_ptr<_Tp1>& __r, _Tp* __p) function in class:shared_ptr 1260 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:shared_ptr 1263 shared_ptr(shared_ptr&& __r) function in class:shared_ptr 1267 shared_ptr(shared_ptr<_Tp1>&& __r) function in class:shared_ptr 1272 shared_ptr(const weak_ptr<_Tp1>& __r) function in class:shared_ptr 1278 shared_ptr(std::auto_ptr<_Tp1>&& __r) function in class:shared_ptr 1288 shared_ptr(std::unique_ptr<_Tp1, _Del>&& __r) function in class:shared_ptr 1339 shared_ptr(_Sp_make_shared_tag __tag, _Alloc __a, _Args&&... __args) function in class:shared_ptr [all...] |
/prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/bits/ |
shared_ptr.h | 0 // shared_ptr and weak_ptr implementation -*- C++ -*- 28 // shared_ptr.hpp 44 /** @file bits/shared_ptr.h 517 class shared_ptr; 627 * This can be used to construct a @c shared_ptr to a sub-object 628 * of an object managed by an existing @c shared_ptr. 631 * shared_ptr< pair<int,int> > pii(new pair<int,int>()); 632 * shared_ptr<int> pi(pii, &pii->first); 886 // 20.8.13.2.7 shared_ptr comparisons 940 // 2.2.3.8 shared_ptr specialized algorithms 1224 class shared_ptr class in inherits:__shared_ptr 1228 shared_ptr() function in class:shared_ptr 1233 shared_ptr(_Tp1* __p) function in class:shared_ptr 1237 shared_ptr(_Tp1* __p, _Deleter __d) function in class:shared_ptr 1241 shared_ptr(_Tp1* __p, _Deleter __d, const _Alloc& __a) function in class:shared_ptr 1246 shared_ptr(const shared_ptr<_Tp1>& __r, _Tp* __p) function in class:shared_ptr 1250 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:shared_ptr 1253 shared_ptr(shared_ptr&& __r) function in class:shared_ptr 1257 shared_ptr(shared_ptr<_Tp1>&& __r) function in class:shared_ptr 1262 shared_ptr(const weak_ptr<_Tp1>& __r) function in class:shared_ptr 1268 shared_ptr(std::auto_ptr<_Tp1>&& __r) function in class:shared_ptr 1278 shared_ptr(std::unique_ptr<_Tp1, _Del>&& __r) function in class:shared_ptr 1329 shared_ptr(_Sp_make_shared_tag __tag, _Alloc __a, _Args&&... __args) function in class:shared_ptr [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/ |
shared_ptr.pass.cpp | 12 // shared_ptr 14 // shared_ptr& operator=(const shared_ptr& r); 46 const std::shared_ptr<A> pA(new A); 49 std::shared_ptr<A> pB(new A); 65 const std::shared_ptr<A> pA; 68 std::shared_ptr<A> pB(new A); 84 const std::shared_ptr<A> pA(new A); 87 std::shared_ptr<A> pB; 103 const std::shared_ptr<A> pA [all...] |
shared_ptr_Y.pass.cpp | 12 // shared_ptr 14 // template<class Y> shared_ptr& operator=(const shared_ptr<Y>& r); 46 const std::shared_ptr<A> pA(new A); 49 std::shared_ptr<B> pB(new B); 65 const std::shared_ptr<A> pA; 68 std::shared_ptr<B> pB(new B); 84 const std::shared_ptr<A> pA(new A); 87 std::shared_ptr<B> pB; 103 const std::shared_ptr<A> pA [all...] |
shared_ptr_Y_rv.pass.cpp | 12 // shared_ptr 14 // template<class Y> shared_ptr& operator=(shared_ptr<Y>&& r); 47 std::shared_ptr<A> pA(new A); 50 std::shared_ptr<B> pB(new B); 66 std::shared_ptr<A> pA; 69 std::shared_ptr<B> pB(new B); 85 std::shared_ptr<A> pA(new A); 88 std::shared_ptr<B> pB; 104 std::shared_ptr<A> pA [all...] |
shared_ptr_rv.pass.cpp | 12 // shared_ptr 14 // shared_ptr& operator=(shared_ptr&& r); 47 std::shared_ptr<A> pA(new A); 50 std::shared_ptr<A> pB(new A); 66 std::shared_ptr<A> pA; 69 std::shared_ptr<A> pB(new A); 85 std::shared_ptr<A> pA(new A); 88 std::shared_ptr<A> pB; 104 std::shared_ptr<A> pA [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/ |
cmp_nullptr.pass.cpp | 12 // shared_ptr 15 // bool operator==(const shared_ptr<T>& x, nullptr_t) noexcept; 17 // bool operator==(nullptr_t, const shared_ptr<T>& y) noexcept; 19 // bool operator!=(const shared_ptr<T>& x, nullptr_t) noexcept; 21 // bool operator!=(nullptr_t, const shared_ptr<T>& y) noexcept; 23 // bool operator<(const shared_ptr<T>& x, nullptr_t) noexcept; 25 // bool operator<(nullptr_t, const shared_ptr<T>& y) noexcept; 27 // bool operator<=(const shared_ptr<T>& x, nullptr_t) noexcept; 29 // bool operator<=(nullptr_t, const shared_ptr<T>& y) noexcept; 31 // bool operator>(const shared_ptr<T>& x, nullptr_t) noexcept [all...] |
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/ |
reset.pass.cpp | 12 // shared_ptr 45 std::shared_ptr<B> p(new B); 54 std::shared_ptr<B> p;
|
reset_pointer.pass.cpp | 12 // shared_ptr 45 std::shared_ptr<B> p(new B); 55 std::shared_ptr<B> p;
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.mod/ |
swap.pass.cpp | 35 std::shared_ptr<A> p1(ptr1); 38 std::shared_ptr<A> p2(ptr2);
|
reset.pass.cpp | 33 std::shared_ptr<A> p1(new A);
|
/ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.spec/ |
swap.pass.cpp | 35 std::shared_ptr<A> p1(ptr1); 38 std::shared_ptr<A> p2(ptr2);
|