HomeSort by relevance Sort by last modified time
    Searched refs:shared_ptr (Results 1 - 25 of 155) sorted by null

1 2 3 4 5 6 7

  /external/clang/test/PCH/
cxx-variadic-templates.cpp 13 shared_ptr<int> spi = shared_ptr<int>::allocate_shared(1, 2);
cxx-variadic-templates.h 3 class shared_ptr{ class
7 shared_ptr<_Tp>
13 shared_ptr<_Tp>
14 shared_ptr<_Tp>::allocate_shared(const _Alloc& __a, _Args&& ...__args)
16 shared_ptr<_Tp> __r;
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/
op_bool.pass.cpp 12 // shared_ptr
22 const std::shared_ptr<int> p(new int(32));
26 const std::shared_ptr<int> p;
unique.pass.cpp 12 // shared_ptr
21 const std::shared_ptr<int> p(new int(32));
24 std::shared_ptr<int> p2 = p;
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/
shared_ptr.hpp 5 // 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/
atomic_compare_exchange_strong.pass.cpp 17 // 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<int> w(new int(2))
    [all...]
atomic_compare_exchange_weak.pass.cpp 17 // 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<int> w(new int(2))
    [all...]
atomic_exchange.pass.cpp 17 // 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));
atomic_load.pass.cpp 17 // 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);
atomic_load_explicit.pass.cpp 17 // 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);
atomic_store.pass.cpp 17 // 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));
atomic_store_explicit.pass.cpp 17 // 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));
atomic_compare_exchange_strong_explicit.pass.cpp 17 // 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<int> w(new int(2))
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/
shared_ptr.h 0 // shared_ptr and weak_ptr implementation -*- C++ -*-
30 // shared_ptr.hpp
44 /** @file bits/shared_ptr.h
63 /// 2.2.3.7 shared_ptr I/O
73 /// 2.2.3.10 shared_ptr get_deleter (experimental)
89 * The object pointed to is deleted when the last shared_ptr pointing to
93 class shared_ptr : public __shared_ptr<_Tp> class in inherits:__shared_ptr
97 * @brief Construct an empty %shared_ptr.
100 constexpr shared_ptr() noexcept
103 shared_ptr(const shared_ptr&) noexcept = default
112 explicit shared_ptr(_Tp1* __p) function in class:shared_ptr
129 shared_ptr(_Tp1* __p, _Deleter __d) function in class:shared_ptr
146 shared_ptr(nullptr_t __p, _Deleter __d) function in class:shared_ptr
165 shared_ptr(_Tp1* __p, _Deleter __d, _Alloc __a) function in class:shared_ptr
184 shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) function in class:shared_ptr
248 explicit shared_ptr(const weak_ptr<_Tp1>& __r) function in class:shared_ptr
253 shared_ptr(std::auto_ptr<_Tp1>&& __r) function in class:shared_ptr
258 shared_ptr(std::unique_ptr<_Tp1, _Del>&& __r) function in class:shared_ptr
315 shared_ptr(_Sp_make_shared_tag __tag, const _Alloc& __a, function in class:shared_ptr
    [all...]
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.7/include/bits/
shared_ptr.h 0 // shared_ptr and weak_ptr implementation -*- C++ -*-
30 // shared_ptr.hpp
44 /** @file bits/shared_ptr.h
63 /// 2.2.3.7 shared_ptr I/O
73 /// 2.2.3.10 shared_ptr get_deleter (experimental)
89 * The object pointed to is deleted when the last shared_ptr pointing to
93 class shared_ptr : public __shared_ptr<_Tp> class in inherits:__shared_ptr
97 * @brief Construct an empty %shared_ptr.
100 constexpr shared_ptr() noexcept
103 shared_ptr(const shared_ptr&) noexcept = default
112 explicit shared_ptr(_Tp1* __p) function in class:shared_ptr
129 shared_ptr(_Tp1* __p, _Deleter __d) function in class:shared_ptr
146 shared_ptr(nullptr_t __p, _Deleter __d) function in class:shared_ptr
165 shared_ptr(_Tp1* __p, _Deleter __d, _Alloc __a) function in class:shared_ptr
184 shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) function in class:shared_ptr
248 explicit shared_ptr(const weak_ptr<_Tp1>& __r) function in class:shared_ptr
253 shared_ptr(std::auto_ptr<_Tp1>&& __r) function in class:shared_ptr
258 shared_ptr(std::unique_ptr<_Tp1, _Del>&& __r) function in class:shared_ptr
315 shared_ptr(_Sp_make_shared_tag __tag, const _Alloc& __a, function in class:shared_ptr
    [all...]
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.8/include/bits/
shared_ptr.h 0 // shared_ptr and weak_ptr implementation -*- C++ -*-
30 // shared_ptr.hpp
44 /** @file bits/shared_ptr.h
63 /// 2.2.3.7 shared_ptr I/O
73 /// 2.2.3.10 shared_ptr get_deleter (experimental)
89 * The object pointed to is deleted when the last shared_ptr pointing to
93 class shared_ptr : public __shared_ptr<_Tp> class in inherits:__shared_ptr
97 * @brief Construct an empty %shared_ptr.
100 constexpr shared_ptr() noexcept
103 shared_ptr(const shared_ptr&) noexcept = default
112 explicit shared_ptr(_Tp1* __p) function in class:shared_ptr
129 shared_ptr(_Tp1* __p, _Deleter __d) function in class:shared_ptr
146 shared_ptr(nullptr_t __p, _Deleter __d) function in class:shared_ptr
165 shared_ptr(_Tp1* __p, _Deleter __d, _Alloc __a) function in class:shared_ptr
184 shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) function in class:shared_ptr
248 explicit shared_ptr(const weak_ptr<_Tp1>& __r) function in class:shared_ptr
257 shared_ptr(std::unique_ptr<_Tp1, _Del>&& __r) function in class:shared_ptr
314 shared_ptr(_Sp_make_shared_tag __tag, const _Alloc& __a, function in class:shared_ptr
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
not_less_than.fail.cpp 21 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/
eq.pass.cpp 12 // 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);
lt.pass.cpp 12 // 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/
fwd.hpp 22 #include <boost/shared_ptr.hpp>
31 typedef shared_ptr<argument> argument_ptr;
32 typedef shared_ptr<argument const> const_argument_ptr;
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/i686-linux/include/c++/4.6.x-google/bits/
shared_ptr.h 0 // shared_ptr and weak_ptr implementation -*- C++ -*-
30 // shared_ptr.hpp
44 /** @file bits/shared_ptr.h
63 /// 2.2.3.7 shared_ptr I/O
73 /// 2.2.3.10 shared_ptr get_deleter (experimental)
89 * The object pointed to is deleted when the last shared_ptr pointing to
93 class shared_ptr : public __shared_ptr<_Tp> class in inherits:__shared_ptr
97 * @brief Construct an empty %shared_ptr.
100 constexpr shared_ptr() function in class:shared_ptr
103 shared_ptr(const shared_ptr&) = default; // never throw
112 explicit shared_ptr(_Tp1* __p) function in class:shared_ptr
129 shared_ptr(_Tp1* __p, _Deleter __d) function in class:shared_ptr
146 shared_ptr(nullptr_t __p, _Deleter __d) function in class:shared_ptr
165 shared_ptr(_Tp1* __p, _Deleter __d, _Alloc __a) function in class:shared_ptr
184 shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) function in class:shared_ptr
206 shared_ptr(const shared_ptr<_Tp1>& __r, _Tp* __p) function in class:shared_ptr
218 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:shared_ptr
226 shared_ptr(shared_ptr&& __r) function in class:shared_ptr
236 shared_ptr(shared_ptr<_Tp1>&& __r) function in class:shared_ptr
248 explicit shared_ptr(const weak_ptr<_Tp1>& __r) function in class:shared_ptr
253 shared_ptr(std::auto_ptr<_Tp1>&& __r) function in class:shared_ptr
258 shared_ptr(std::unique_ptr<_Tp1, _Del>&& __r) function in class:shared_ptr
266 constexpr shared_ptr(nullptr_t __p) function in class:shared_ptr
315 shared_ptr(_Sp_make_shared_tag __tag, const _Alloc& __a, function in class:shared_ptr
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/x86_64-linux/include/c++/4.6.x-google/bits/
shared_ptr.h 0 // shared_ptr and weak_ptr implementation -*- C++ -*-
30 // shared_ptr.hpp
44 /** @file bits/shared_ptr.h
63 /// 2.2.3.7 shared_ptr I/O
73 /// 2.2.3.10 shared_ptr get_deleter (experimental)
89 * The object pointed to is deleted when the last shared_ptr pointing to
93 class shared_ptr : public __shared_ptr<_Tp> class in inherits:__shared_ptr
97 * @brief Construct an empty %shared_ptr.
100 constexpr shared_ptr() function in class:shared_ptr
103 shared_ptr(const shared_ptr&) = default; // never throw
112 explicit shared_ptr(_Tp1* __p) function in class:shared_ptr
129 shared_ptr(_Tp1* __p, _Deleter __d) function in class:shared_ptr
146 shared_ptr(nullptr_t __p, _Deleter __d) function in class:shared_ptr
165 shared_ptr(_Tp1* __p, _Deleter __d, _Alloc __a) function in class:shared_ptr
184 shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) function in class:shared_ptr
206 shared_ptr(const shared_ptr<_Tp1>& __r, _Tp* __p) function in class:shared_ptr
218 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:shared_ptr
226 shared_ptr(shared_ptr&& __r) function in class:shared_ptr
236 shared_ptr(shared_ptr<_Tp1>&& __r) function in class:shared_ptr
248 explicit shared_ptr(const weak_ptr<_Tp1>& __r) function in class:shared_ptr
253 shared_ptr(std::auto_ptr<_Tp1>&& __r) function in class:shared_ptr
258 shared_ptr(std::unique_ptr<_Tp1, _Del>&& __r) function in class:shared_ptr
266 constexpr shared_ptr(nullptr_t __p) function in class:shared_ptr
315 shared_ptr(_Sp_make_shared_tag __tag, const _Alloc& __a, function in class:shared_ptr
    [all...]
  /prebuilts/ndk/8/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/
shared_ptr.h 0 // shared_ptr and weak_ptr implementation -*- C++ -*-
30 // shared_ptr.hpp
44 /** @file bits/shared_ptr.h
63 /// 2.2.3.7 shared_ptr I/O
73 /// 2.2.3.10 shared_ptr get_deleter (experimental)
89 * The object pointed to is deleted when the last shared_ptr pointing to
93 class shared_ptr : public __shared_ptr<_Tp> class in inherits:__shared_ptr
97 * @brief Construct an empty %shared_ptr.
100 constexpr shared_ptr() function in class:shared_ptr
103 shared_ptr(const shared_ptr&) = default; // never throw
112 explicit shared_ptr(_Tp1* __p) function in class:shared_ptr
129 shared_ptr(_Tp1* __p, _Deleter __d) function in class:shared_ptr
146 shared_ptr(nullptr_t __p, _Deleter __d) function in class:shared_ptr
165 shared_ptr(_Tp1* __p, _Deleter __d, _Alloc __a) function in class:shared_ptr
184 shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) function in class:shared_ptr
206 shared_ptr(const shared_ptr<_Tp1>& __r, _Tp* __p) function in class:shared_ptr
218 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:shared_ptr
226 shared_ptr(shared_ptr&& __r) function in class:shared_ptr
236 shared_ptr(shared_ptr<_Tp1>&& __r) function in class:shared_ptr
248 explicit shared_ptr(const weak_ptr<_Tp1>& __r) function in class:shared_ptr
253 shared_ptr(std::auto_ptr<_Tp1>&& __r) function in class:shared_ptr
258 shared_ptr(std::unique_ptr<_Tp1, _Del>&& __r) function in class:shared_ptr
266 constexpr shared_ptr(nullptr_t __p) function in class:shared_ptr
315 shared_ptr(_Sp_make_shared_tag __tag, const _Alloc& __a, function in class:shared_ptr
    [all...]
  /prebuilts/ndk/9/sources/cxx-stl/gnu-libstdc++/4.6/include/bits/
shared_ptr.h 0 // shared_ptr and weak_ptr implementation -*- C++ -*-
30 // shared_ptr.hpp
44 /** @file bits/shared_ptr.h
63 /// 2.2.3.7 shared_ptr I/O
73 /// 2.2.3.10 shared_ptr get_deleter (experimental)
89 * The object pointed to is deleted when the last shared_ptr pointing to
93 class shared_ptr : public __shared_ptr<_Tp> class in inherits:__shared_ptr
97 * @brief Construct an empty %shared_ptr.
100 constexpr shared_ptr() function in class:shared_ptr
103 shared_ptr(const shared_ptr&) = default; // never throw
112 explicit shared_ptr(_Tp1* __p) function in class:shared_ptr
129 shared_ptr(_Tp1* __p, _Deleter __d) function in class:shared_ptr
146 shared_ptr(nullptr_t __p, _Deleter __d) function in class:shared_ptr
165 shared_ptr(_Tp1* __p, _Deleter __d, _Alloc __a) function in class:shared_ptr
184 shared_ptr(nullptr_t __p, _Deleter __d, _Alloc __a) function in class:shared_ptr
206 shared_ptr(const shared_ptr<_Tp1>& __r, _Tp* __p) function in class:shared_ptr
218 shared_ptr(const shared_ptr<_Tp1>& __r) function in class:shared_ptr
226 shared_ptr(shared_ptr&& __r) function in class:shared_ptr
236 shared_ptr(shared_ptr<_Tp1>&& __r) function in class:shared_ptr
248 explicit shared_ptr(const weak_ptr<_Tp1>& __r) function in class:shared_ptr
253 shared_ptr(std::auto_ptr<_Tp1>&& __r) function in class:shared_ptr
258 shared_ptr(std::unique_ptr<_Tp1, _Del>&& __r) function in class:shared_ptr
266 constexpr shared_ptr(nullptr_t __p) function in class:shared_ptr
315 shared_ptr(_Sp_make_shared_tag __tag, const _Alloc& __a, function in class:shared_ptr
    [all...]
  /ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/smart_ptr/
shared_ptr.hpp 5 // 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(): px(0), pn() // never throws in 1.30 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...]

Completed in 358 milliseconds

1 2 3 4 5 6 7