HomeSort by relevance Sort by last modified time
    Searched full:shared_ptr (Results 26 - 50 of 502) sorted by null

12 3 4 5 6 7 8 91011>>

  /prebuilts/ndk/9/sources/cxx-stl/EH/stlport/stlport/
memory 75 template<class T> class shared_ptr;
78 template<class D, class T> D * get_deleter(shared_ptr<T> const & p);
79 template<class T, class U> shared_ptr<T> static_pointer_cast(shared_ptr<U> const & r);
80 template<class T, class U> shared_ptr<T> const_pointer_cast(shared_ptr<U> const & r);
81 template<class T, class U> shared_ptr<T> dynamic_pointer_cast(shared_ptr<U> const & r);
83 template<class T> void swap(shared_ptr<T> & a, shared_ptr<T> & b)
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.6/x86_64-linux/include/c++/4.6/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...]
  /prebuilts/misc/common/swig/include/2.0.11/csharp/
boost_shared_ptr.i 7 %include <shared_ptr.i>
14 %naturalvar SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE >;
25 argp = ((SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > *)$input) ? ((SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > *)$input)->get() : 0;
32 %{ $result = new SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE >(new $1_ltype(($1_ltype &)$1)); %}
35 %typemap(in, canthrow=1) CONST TYPE * (SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > *smartarg = 0) %{
36 smartarg = (SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > *)$input;
39 $result = $1 ? new SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE >($1 SWIG_NO_NULL_DELETER_$owner) : 0;
44 $1 = ($1_ltype)(((SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > *)$input) ? ((SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > *)$input)->get() : 0)
    [all...]
boost_intrusive_ptr.i 24 %typemap(in, canthrow=1) CONST TYPE ($&1_type argp = 0, SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > *smartarg = 0) %{
26 argp = (*(SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > **)&$input) ? (*(SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > **)&$input)->get() : 0;
37 *(SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > **)&$result = new SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE >(resultp, SWIG_intrusive_deleter< CONST TYPE >());
40 %typemap(in, canthrow=1) CONST TYPE * (SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > *smartarg = 0) %{
42 smartarg = *(SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > **)&$input;
50 *(SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > **)&$result = new SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE >($1, SWIG_intrusive_deleter< CONST TYPE >());
52 *(SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > **)&$result = 0;
    [all...]
  /external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/
static_pointer_cast.pass.cpp 12 // shared_ptr
14 // template<class T, class U> shared_ptr<T> static_pointer_cast(const shared_ptr<U>& r);
46 const std::shared_ptr<A> pA(new A);
47 std::shared_ptr<B> pB = std::static_pointer_cast<B>(pA);
52 const std::shared_ptr<B> pA(new A);
53 std::shared_ptr<A> pB = std::static_pointer_cast<A>(pA);
58 const std::shared_ptr<A> pA;
59 std::shared_ptr<B> pB = std::static_pointer_cast<B>(pA);
64 const std::shared_ptr<B> pA
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cast/
static_pointer_cast.pass.cpp 12 // shared_ptr
14 // template<class T, class U> shared_ptr<T> static_pointer_cast(const shared_ptr<U>& r);
46 const std::shared_ptr<A> pA(new A);
47 std::shared_ptr<B> pB = std::static_pointer_cast<B>(pA);
52 const std::shared_ptr<B> pA(new A);
53 std::shared_ptr<A> pB = std::static_pointer_cast<A>(pA);
58 const std::shared_ptr<A> pA;
59 std::shared_ptr<B> pB = std::static_pointer_cast<B>(pA);
64 const std::shared_ptr<B> pA
    [all...]
  /external/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/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);
  /external/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_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...]
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_compare_exchange_weak_explicit.pass.cpp 17 // 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<int> w(new int(2))
    [all...]
  /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_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...]
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_compare_exchange_weak_explicit.pass.cpp 17 // 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<int> w(new int(2))
    [all...]
  /prebuilts/misc/common/swig/include/2.0.11/java/
boost_intrusive_ptr.i 25 %typemap(in) CONST TYPE ($&1_type argp = 0, SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > *smartarg = 0) %{
27 argp = (*(SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > **)&$input) ? (*(SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > **)&$input)->get() : 0;
38 *(SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > **)&$result = new SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE >(resultp, SWIG_intrusive_deleter< CONST TYPE >());
41 %typemap(in) CONST TYPE * (SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > *smartarg = 0) %{
43 smartarg = *(SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > **)&$input;
51 *(SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > **)&$result = new SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE >($1, SWIG_intrusive_deleter< CONST TYPE >());
53 *(SWIG_SHARED_PTR_QNAMESPACE::shared_ptr< CONST TYPE > **)&$result = 0
    [all...]
  /external/ceres-solver/cmake/
FindSharedPtr.cmake 36 # SHARED_PTR_FOUND: TRUE if shared_ptr found.
38 # for the shared_ptr object, otherwise use <memory>.
39 # SHARED_PTR_TR1_NAMESPACE: TRUE if shared_ptr is defined in std::tr1 namespace,
46 # Finding the memory header doesn't mean that shared_ptr is in std
49 # In particular, MSVC 2008 has shared_ptr declared in std::tr1. In
55 std::shared_ptr<int> int_ptr;
61 MESSAGE("-- Found shared_ptr in std namespace using <memory> header.")
66 std::tr1::shared_ptr<int> int_ptr;
71 MESSAGE("-- Found shared_ptr in std::tr1 namespace using <memory> header.")
79 # Further, gcc defines shared_ptr in std::tr1 namespace an
    [all...]
  /external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
shared_ptr_Y.pass.cpp 12 // shared_ptr
14 // template<class Y> shared_ptr(const shared_ptr<Y>& r);
56 static_assert(( std::is_convertible<std::shared_ptr<A>, std::shared_ptr<B> >::value), "");
57 static_assert((!std::is_convertible<std::shared_ptr<B>, std::shared_ptr<A> >::value), "");
58 static_assert((!std::is_convertible<std::shared_ptr<A>, std::shared_ptr<C> >::value), "");
60 const std::shared_ptr<A> pA(new A)
    [all...]
shared_ptr_Y_rv.pass.cpp 12 // shared_ptr
14 // template<class Y> shared_ptr(shared_ptr<Y>&& r);
56 static_assert(( std::is_convertible<std::shared_ptr<A>, std::shared_ptr<B> >::value), "");
57 static_assert((!std::is_convertible<std::shared_ptr<B>, std::shared_ptr<A> >::value), "");
58 static_assert((!std::is_convertible<std::shared_ptr<A>, std::shared_ptr<C> >::value), "");
60 std::shared_ptr<A> pA(new A)
    [all...]
  /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...]

Completed in 1120 milliseconds

12 3 4 5 6 7 8 91011>>