/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
weak_ptr.pass.cpp | 12 // shared_ptr 14 // template<class Y> explicit shared_ptr(const weak_ptr<Y>& r); 48 std::shared_ptr<A> sp(wp); 57 std::shared_ptr<A> sp0(new A); 59 std::shared_ptr<A> sp(wp); 66 std::shared_ptr<A> sp0(new A); 71 std::shared_ptr<A> sp(wp);
|
pointer.pass.cpp | 12 // template<class Y> explicit shared_ptr(Y* p); 32 std::shared_ptr<A> p(ptr); 40 std::shared_ptr<void> p(ptr);
|
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));
|
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/ |
lock.pass.cpp | 14 // shared_ptr<T> lock() const; 34 std::shared_ptr<A> sp = wp.lock(); 40 std::shared_ptr<A> sp0(new A); 42 std::shared_ptr<A> sp = wp.lock(); 49 std::shared_ptr<A> sp0(new A); 52 std::shared_ptr<A> sp = wp.lock();
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
weak_ptr.pass.cpp | 12 // shared_ptr 14 // template<class Y> explicit shared_ptr(const weak_ptr<Y>& r); 48 std::shared_ptr<A> sp(wp); 57 std::shared_ptr<A> sp0(new A); 59 std::shared_ptr<A> sp(wp); 66 std::shared_ptr<A> sp0(new A); 71 std::shared_ptr<A> sp(wp);
|
pointer.pass.cpp | 12 // template<class Y> explicit shared_ptr(Y* p); 32 std::shared_ptr<A> p(ptr); 40 std::shared_ptr<void> p(ptr);
|
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));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/ |
lock.pass.cpp | 14 // shared_ptr<T> lock() const; 34 std::shared_ptr<A> sp = wp.lock(); 40 std::shared_ptr<A> sp0(new A); 42 std::shared_ptr<A> sp = wp.lock(); 49 std::shared_ptr<A> sp0(new A); 52 std::shared_ptr<A> sp = wp.lock();
|
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/ |
swap.pass.cpp | 12 // shared_ptr 14 // void swap(shared_ptr& r); 35 std::shared_ptr<A> p1(ptr1); 37 std::shared_ptr<A> p2(ptr2); 53 std::shared_ptr<A> p1(ptr1); 55 std::shared_ptr<A> p2; 71 std::shared_ptr<A> p1; 73 std::shared_ptr<A> p2(ptr2); 89 std::shared_ptr<A> p1; 91 std::shared_ptr<A> p2 [all...] |
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.spec/ |
swap.pass.cpp | 12 // shared_ptr 14 // template<class T> void swap(shared_ptr<T>& a, shared_ptr<T>& b); 35 std::shared_ptr<A> p1(ptr1); 37 std::shared_ptr<A> p2(ptr2); 53 std::shared_ptr<A> p1(ptr1); 55 std::shared_ptr<A> p2; 71 std::shared_ptr<A> p1; 73 std::shared_ptr<A> p2(ptr2); 89 std::shared_ptr<A> p1 [all...] |
/external/stlport/test/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/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.mod/ |
swap.pass.cpp | 12 // shared_ptr 14 // void swap(shared_ptr& r); 35 std::shared_ptr<A> p1(ptr1); 37 std::shared_ptr<A> p2(ptr2); 53 std::shared_ptr<A> p1(ptr1); 55 std::shared_ptr<A> p2; 71 std::shared_ptr<A> p1; 73 std::shared_ptr<A> p2(ptr2); 89 std::shared_ptr<A> p1; 91 std::shared_ptr<A> p2 [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.spec/ |
swap.pass.cpp | 12 // shared_ptr 14 // template<class T> void swap(shared_ptr<T>& a, shared_ptr<T>& b); 35 std::shared_ptr<A> p1(ptr1); 37 std::shared_ptr<A> p2(ptr2); 53 std::shared_ptr<A> p1(ptr1); 55 std::shared_ptr<A> p2; 71 std::shared_ptr<A> p1; 73 std::shared_ptr<A> p2(ptr2); 89 std::shared_ptr<A> p1 [all...] |
/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();
|
/external/libcxx/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));
|
/external/libcxx/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++/libcxx/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++/libcxx/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/tests/device/issue42891-boost-1_52/jni/boost/boost/test/utils/runtime/cla/ |
basic_parameter.hpp | 64 inline shared_ptr<param_type ## _t<T> > \ 67 return shared_ptr<param_type ## _t<T> >( new param_type ## _t<T>( name ) ); \ 70 inline shared_ptr<param_type ## _t<cstring> > \ 73 return shared_ptr<param_type ## _t<cstring> >( new param_type ## _t<cstring>( name ) ); \
|
char_parameter.hpp | 69 inline shared_ptr<char_parameter_t<T> > 72 return shared_ptr<char_parameter_t<T> >( new char_parameter_t<T>( name ) ); 77 inline shared_ptr<char_parameter_t<cstring> > 80 return shared_ptr<char_parameter_t<cstring> >( new char_parameter_t<cstring>( name ) );
|
/external/libcxx/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;
|