HomeSort by relevance Sort by last modified time
    Searched refs:shared_ptr (Results 76 - 100 of 120) sorted by null

1 2 34 5

  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.getdeleter/
get_deleter.pass.cpp 12 // shared_ptr
14 // template<class D, class T> D* get_deleter(const shared_ptr<T>& p);
36 std::shared_ptr<A> p(ptr, test_deleter<A>(3));
50 std::shared_ptr<A> p(nullptr, test_deleter<A>(3));
63 std::shared_ptr<A> p(nullptr, test_deleter<A>(3));
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/i686-linux/include/c++/4.4.3/tr1/
shared_ptr.h 1 // <tr1/shared_ptr.h> -*- C++ -*-
28 // shared_ptr.hpp
44 /** @file tr1/shared_ptr.h
315 class shared_ptr;
353 * The object pointed to is deleted when the last shared_ptr pointing to
591 // 2.2.3.8 shared_ptr specialized algorithms.
597 // 2.2.3.9 shared_ptr casts
599 * <code>shared_ptr<_Tp, _Lp>(static_cast<_Tp*>(__r.get()))</code>
609 * <code>shared_ptr<_Tp, _Lp>(const_cast<_Tp*>(__r.get()))</code>
619 * <code>shared_ptr<_Tp, _Lp>(dynamic_cast<_Tp*>(__r.get()))</code
832 class shared_ptr class in namespace:std::tr1
836 shared_ptr() function in class:std::tr1::shared_ptr
841 shared_ptr(_Tp1* __p) function in class:std::tr1::shared_ptr
845 shared_ptr(_Tp1* __p, _Deleter __d) function in class:std::tr1::shared_ptr
849 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:std::tr1::shared_ptr
854 shared_ptr(const weak_ptr<_Tp1>& __r) function in class:std::tr1::shared_ptr
860 shared_ptr(std::auto_ptr<_Tp1>& __r) function in class:std::tr1::shared_ptr
865 shared_ptr(const shared_ptr<_Tp1>& __r, __static_cast_tag) function in class:std::tr1::shared_ptr
869 shared_ptr(const shared_ptr<_Tp1>& __r, __const_cast_tag) function in class:std::tr1::shared_ptr
873 shared_ptr(const shared_ptr<_Tp1>& __r, __dynamic_cast_tag) function in class:std::tr1::shared_ptr
    [all...]
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/tr1/
shared_ptr.h 1 // <tr1/shared_ptr.h> -*- C++ -*-
28 // shared_ptr.hpp
44 /** @file tr1/shared_ptr.h
59 * @brief Exception possibly thrown by @c shared_ptr.
510 class shared_ptr;
545 // object pointed to is deleted when the last shared_ptr pointing to
746 // 2.2.3.8 shared_ptr specialized algorithms.
752 // 2.2.3.9 shared_ptr casts
754 * shared_ptr<_Tp, _Lp>(static_cast<_Tp*>(__r.get()))
764 * shared_ptr<_Tp, _Lp>(const_cast<_Tp*>(__r.get())
992 class shared_ptr class in namespace:tr1
996 shared_ptr() function in class:tr1::shared_ptr
1001 shared_ptr(_Tp1* __p) function in class:tr1::shared_ptr
1005 shared_ptr(_Tp1* __p, _Deleter __d) function in class:tr1::shared_ptr
1009 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:tr1::shared_ptr
1014 shared_ptr(const weak_ptr<_Tp1>& __r) function in class:tr1::shared_ptr
1020 shared_ptr(std::auto_ptr<_Tp1>& __r) function in class:tr1::shared_ptr
1025 shared_ptr(const shared_ptr<_Tp1>& __r, __static_cast_tag) function in class:tr1::shared_ptr
1029 shared_ptr(const shared_ptr<_Tp1>& __r, __const_cast_tag) function in class:tr1::shared_ptr
1033 shared_ptr(const shared_ptr<_Tp1>& __r, __dynamic_cast_tag) function in class:tr1::shared_ptr
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/tr1/
shared_ptr.h 1 // <tr1/shared_ptr.h> -*- C++ -*-
28 // shared_ptr.hpp
44 /** @file tr1/shared_ptr.h
59 * @brief Exception possibly thrown by @c shared_ptr.
510 class shared_ptr;
545 // object pointed to is deleted when the last shared_ptr pointing to
746 // 2.2.3.8 shared_ptr specialized algorithms.
752 // 2.2.3.9 shared_ptr casts
754 * shared_ptr<_Tp, _Lp>(static_cast<_Tp*>(__r.get()))
764 * shared_ptr<_Tp, _Lp>(const_cast<_Tp*>(__r.get())
992 class shared_ptr class in namespace:tr1
996 shared_ptr() function in class:tr1::shared_ptr
1001 shared_ptr(_Tp1* __p) function in class:tr1::shared_ptr
1005 shared_ptr(_Tp1* __p, _Deleter __d) function in class:tr1::shared_ptr
1009 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:tr1::shared_ptr
1014 shared_ptr(const weak_ptr<_Tp1>& __r) function in class:tr1::shared_ptr
1020 shared_ptr(std::auto_ptr<_Tp1>& __r) function in class:tr1::shared_ptr
1025 shared_ptr(const shared_ptr<_Tp1>& __r, __static_cast_tag) function in class:tr1::shared_ptr
1029 shared_ptr(const shared_ptr<_Tp1>& __r, __const_cast_tag) function in class:tr1::shared_ptr
1033 shared_ptr(const shared_ptr<_Tp1>& __r, __dynamic_cast_tag) function in class:tr1::shared_ptr
    [all...]
  /prebuilts/ndk/5/sources/cxx-stl/gnu-libstdc++/include/tr1/
shared_ptr.h 1 // <tr1/shared_ptr.h> -*- C++ -*-
28 // shared_ptr.hpp
44 /** @file tr1/shared_ptr.h
315 class shared_ptr;
353 * The object pointed to is deleted when the last shared_ptr pointing to
591 // 2.2.3.8 shared_ptr specialized algorithms.
597 // 2.2.3.9 shared_ptr casts
599 * <code>shared_ptr<_Tp, _Lp>(static_cast<_Tp*>(__r.get()))</code>
609 * <code>shared_ptr<_Tp, _Lp>(const_cast<_Tp*>(__r.get()))</code>
619 * <code>shared_ptr<_Tp, _Lp>(dynamic_cast<_Tp*>(__r.get()))</code
832 class shared_ptr class in namespace:std::tr1
836 shared_ptr() function in class:std::tr1::shared_ptr
841 shared_ptr(_Tp1* __p) function in class:std::tr1::shared_ptr
845 shared_ptr(_Tp1* __p, _Deleter __d) function in class:std::tr1::shared_ptr
849 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:std::tr1::shared_ptr
854 shared_ptr(const weak_ptr<_Tp1>& __r) function in class:std::tr1::shared_ptr
860 shared_ptr(std::auto_ptr<_Tp1>& __r) function in class:std::tr1::shared_ptr
865 shared_ptr(const shared_ptr<_Tp1>& __r, __static_cast_tag) function in class:std::tr1::shared_ptr
869 shared_ptr(const shared_ptr<_Tp1>& __r, __const_cast_tag) function in class:std::tr1::shared_ptr
873 shared_ptr(const shared_ptr<_Tp1>& __r, __dynamic_cast_tag) function in class:std::tr1::shared_ptr
    [all...]
  /prebuilts/ndk/6/sources/cxx-stl/gnu-libstdc++/include/tr1/
shared_ptr.h 1 // <tr1/shared_ptr.h> -*- C++ -*-
28 // shared_ptr.hpp
44 /** @file tr1/shared_ptr.h
315 class shared_ptr;
353 * The object pointed to is deleted when the last shared_ptr pointing to
591 // 2.2.3.8 shared_ptr specialized algorithms.
597 // 2.2.3.9 shared_ptr casts
599 * <code>shared_ptr<_Tp, _Lp>(static_cast<_Tp*>(__r.get()))</code>
609 * <code>shared_ptr<_Tp, _Lp>(const_cast<_Tp*>(__r.get()))</code>
619 * <code>shared_ptr<_Tp, _Lp>(dynamic_cast<_Tp*>(__r.get()))</code
832 class shared_ptr class in namespace:std::tr1
836 shared_ptr() function in class:std::tr1::shared_ptr
841 shared_ptr(_Tp1* __p) function in class:std::tr1::shared_ptr
845 shared_ptr(_Tp1* __p, _Deleter __d) function in class:std::tr1::shared_ptr
849 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:std::tr1::shared_ptr
854 shared_ptr(const weak_ptr<_Tp1>& __r) function in class:std::tr1::shared_ptr
860 shared_ptr(std::auto_ptr<_Tp1>& __r) function in class:std::tr1::shared_ptr
865 shared_ptr(const shared_ptr<_Tp1>& __r, __static_cast_tag) function in class:std::tr1::shared_ptr
869 shared_ptr(const shared_ptr<_Tp1>& __r, __const_cast_tag) function in class:std::tr1::shared_ptr
873 shared_ptr(const shared_ptr<_Tp1>& __r, __dynamic_cast_tag) function in class:std::tr1::shared_ptr
    [all...]
  /prebuilts/ndk/7/sources/cxx-stl/gnu-libstdc++/include/tr1/
shared_ptr.h 1 // <tr1/shared_ptr.h> -*- C++ -*-
28 // shared_ptr.hpp
44 /** @file tr1/shared_ptr.h
315 class shared_ptr;
353 * The object pointed to is deleted when the last shared_ptr pointing to
591 // 2.2.3.8 shared_ptr specialized algorithms.
597 // 2.2.3.9 shared_ptr casts
599 * <code>shared_ptr<_Tp, _Lp>(static_cast<_Tp*>(__r.get()))</code>
609 * <code>shared_ptr<_Tp, _Lp>(const_cast<_Tp*>(__r.get()))</code>
619 * <code>shared_ptr<_Tp, _Lp>(dynamic_cast<_Tp*>(__r.get()))</code
832 class shared_ptr class in namespace:std::tr1
836 shared_ptr() function in class:std::tr1::shared_ptr
841 shared_ptr(_Tp1* __p) function in class:std::tr1::shared_ptr
845 shared_ptr(_Tp1* __p, _Deleter __d) function in class:std::tr1::shared_ptr
849 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:std::tr1::shared_ptr
854 shared_ptr(const weak_ptr<_Tp1>& __r) function in class:std::tr1::shared_ptr
860 shared_ptr(std::auto_ptr<_Tp1>& __r) function in class:std::tr1::shared_ptr
865 shared_ptr(const shared_ptr<_Tp1>& __r, __static_cast_tag) function in class:std::tr1::shared_ptr
869 shared_ptr(const shared_ptr<_Tp1>& __r, __const_cast_tag) function in class:std::tr1::shared_ptr
873 shared_ptr(const shared_ptr<_Tp1>& __r, __dynamic_cast_tag) function in class:std::tr1::shared_ptr
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.4.3/include/tr1/
shared_ptr.h 1 // <tr1/shared_ptr.h> -*- C++ -*-
28 // shared_ptr.hpp
44 /** @file tr1/shared_ptr.h
315 class shared_ptr;
353 * The object pointed to is deleted when the last shared_ptr pointing to
591 // 2.2.3.8 shared_ptr specialized algorithms.
597 // 2.2.3.9 shared_ptr casts
599 * <code>shared_ptr<_Tp, _Lp>(static_cast<_Tp*>(__r.get()))</code>
609 * <code>shared_ptr<_Tp, _Lp>(const_cast<_Tp*>(__r.get()))</code>
619 * <code>shared_ptr<_Tp, _Lp>(dynamic_cast<_Tp*>(__r.get()))</code
832 class shared_ptr class in namespace:std::tr1
836 shared_ptr() function in class:std::tr1::shared_ptr
841 shared_ptr(_Tp1* __p) function in class:std::tr1::shared_ptr
845 shared_ptr(_Tp1* __p, _Deleter __d) function in class:std::tr1::shared_ptr
849 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:std::tr1::shared_ptr
854 shared_ptr(const weak_ptr<_Tp1>& __r) function in class:std::tr1::shared_ptr
860 shared_ptr(std::auto_ptr<_Tp1>& __r) function in class:std::tr1::shared_ptr
865 shared_ptr(const shared_ptr<_Tp1>& __r, __static_cast_tag) function in class:std::tr1::shared_ptr
869 shared_ptr(const shared_ptr<_Tp1>& __r, __const_cast_tag) function in class:std::tr1::shared_ptr
873 shared_ptr(const shared_ptr<_Tp1>& __r, __dynamic_cast_tag) function in class:std::tr1::shared_ptr
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/tr1/
shared_ptr.h 1 // <tr1/shared_ptr.h> -*- C++ -*-
28 // shared_ptr.hpp
44 /** @file tr1/shared_ptr.h
59 * @brief Exception possibly thrown by @c shared_ptr.
510 class shared_ptr;
545 // object pointed to is deleted when the last shared_ptr pointing to
746 // 2.2.3.8 shared_ptr specialized algorithms.
752 // 2.2.3.9 shared_ptr casts
754 * shared_ptr<_Tp, _Lp>(static_cast<_Tp*>(__r.get()))
764 * shared_ptr<_Tp, _Lp>(const_cast<_Tp*>(__r.get())
992 class shared_ptr class in namespace:tr1
996 shared_ptr() function in class:tr1::shared_ptr
1001 shared_ptr(_Tp1* __p) function in class:tr1::shared_ptr
1005 shared_ptr(_Tp1* __p, _Deleter __d) function in class:tr1::shared_ptr
1009 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:tr1::shared_ptr
1014 shared_ptr(const weak_ptr<_Tp1>& __r) function in class:tr1::shared_ptr
1020 shared_ptr(std::auto_ptr<_Tp1>& __r) function in class:tr1::shared_ptr
1025 shared_ptr(const shared_ptr<_Tp1>& __r, __static_cast_tag) function in class:tr1::shared_ptr
1029 shared_ptr(const shared_ptr<_Tp1>& __r, __const_cast_tag) function in class:tr1::shared_ptr
1033 shared_ptr(const shared_ptr<_Tp1>& __r, __dynamic_cast_tag) function in class:tr1::shared_ptr
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/tr1/
shared_ptr.h 1 // <tr1/shared_ptr.h> -*- C++ -*-
29 // shared_ptr.hpp
45 /** @file tr1/shared_ptr.h
60 * @brief Exception possibly thrown by @c shared_ptr.
510 class shared_ptr;
545 // object pointed to is deleted when the last shared_ptr pointing to
746 // 2.2.3.8 shared_ptr specialized algorithms.
752 // 2.2.3.9 shared_ptr casts
754 * shared_ptr<_Tp, _Lp>(static_cast<_Tp*>(__r.get()))
764 * shared_ptr<_Tp, _Lp>(const_cast<_Tp*>(__r.get())
992 class shared_ptr class in namespace:tr1
996 shared_ptr() function in class:tr1::shared_ptr
1001 shared_ptr(_Tp1* __p) function in class:tr1::shared_ptr
1005 shared_ptr(_Tp1* __p, _Deleter __d) function in class:tr1::shared_ptr
1009 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:tr1::shared_ptr
1014 shared_ptr(const weak_ptr<_Tp1>& __r) function in class:tr1::shared_ptr
1020 shared_ptr(std::auto_ptr<_Tp1>& __r) function in class:tr1::shared_ptr
1025 shared_ptr(const shared_ptr<_Tp1>& __r, __static_cast_tag) function in class:tr1::shared_ptr
1029 shared_ptr(const shared_ptr<_Tp1>& __r, __const_cast_tag) function in class:tr1::shared_ptr
1033 shared_ptr(const shared_ptr<_Tp1>& __r, __dynamic_cast_tag) function in class:tr1::shared_ptr
    [all...]
  /external/valgrind/unittest/
libstdc++_tests.cc 106 // If reference counting inside shared_ptr is not understood
122 shared_ptr<Foo> *s;
129 shared_ptr<Foo> x(*s);
149 s = new shared_ptr<Foo>(new Foo);
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.assign/
auto_ptr_Y.pass.cpp 12 // shared_ptr
14 // template<class Y> shared_ptr& operator=(auto_ptr<Y>&& r);
49 std::shared_ptr<B> pB(new B);
66 std::shared_ptr<B> pB(new B);
83 std::shared_ptr<B> pB;
100 std::shared_ptr<B> pB;
unique_ptr_Y.pass.cpp 12 // shared_ptr
14 // template <class Y, class D> shared_ptr& operator=(unique_ptr<Y, D>&& r);
49 std::shared_ptr<B> pB(new B);
66 std::shared_ptr<B> pB(new B);
83 std::shared_ptr<B> pB;
100 std::shared_ptr<B> pB;
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
nullptr_t_deleter_allocator_throw.pass.cpp 12 // template<class D, class A> shared_ptr(nullptr_t, D d, A a);
35 std::shared_ptr<A> p(nullptr, test_deleter<A>(3), test_allocator<A>(5));
nullptr_t_deleter_throw.pass.cpp 12 // shared_ptr
14 // template<class D> shared_ptr(nullptr_t, D d);
52 std::shared_ptr<A> p(nullptr, test_deleter<A>(3));
pointer_deleter_allocator_throw.pass.cpp 12 // template<class Y, class D, class A> shared_ptr(Y* p, D d, A a);
36 std::shared_ptr<A> p(ptr, test_deleter<A>(3), test_allocator<A>(5));
pointer_throw.pass.cpp 12 // template<class Y> explicit shared_ptr(Y* p);
52 std::shared_ptr<A> p(ptr);
unique_ptr.pass.cpp 12 // template <class Y, class D> explicit shared_ptr(unique_ptr<Y, D>&&r);
61 std::shared_ptr<B> p(std::move(ptr));
75 std::shared_ptr<B> p(std::move(ptr));
nullptr_t_deleter.pass.cpp 12 // shared_ptr
14 // template<class D> shared_ptr(nullptr_t, D d);
34 std::shared_ptr<A> p(nullptr, test_deleter<A>(3));
nullptr_t_deleter_allocator.pass.cpp 12 // template<class D, class A> shared_ptr(nullptr_t, D d, A a);
33 std::shared_ptr<A> p(nullptr, test_deleter<A>(3), test_allocator<A>(5));
pointer_deleter.pass.cpp 12 // shared_ptr
14 // template<class Y, class D> shared_ptr(Y* p, D d);
35 std::shared_ptr<A> p(ptr, test_deleter<A>(3));
pointer_deleter_throw.pass.cpp 12 // shared_ptr
14 // template<class Y, class D> shared_ptr(Y* p, D d);
53 std::shared_ptr<A> p(ptr, test_deleter<A>(3));
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
expired.pass.cpp 38 std::shared_ptr<A> sp0(new A);
  /ndk/sources/cxx-stl/llvm-libc++/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.create/
make_shared.pass.cpp 12 // shared_ptr
14 // template<class T, class... Args> shared_ptr<T> make_shared(Args&&... args);
59 std::shared_ptr<A> p = std::make_shared<A>(i, c);
69 std::shared_ptr<A> p = std::make_shared<A>(67, c);
allocate_shared.pass.cpp 12 // shared_ptr
15 // shared_ptr<T> allocate_shared(const A& a, Args&&... args);
49 std::shared_ptr<A> p = std::allocate_shared<A>(test_allocator<A>(54), i, c);

Completed in 434 milliseconds

1 2 34 5