HomeSort by relevance Sort by last modified time
    Searched refs:shared_ptr (Results 126 - 150 of 318) sorted by null

1 2 3 4 56 7 8 91011>>

  /ndk/sources/cxx-stl/llvm-libc++/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;
  /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...]
  /external/libcxx/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...]
  /external/libcxx/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...]
  /external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
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);
  /external/libcxx/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;
  /external/libcxx/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);
  /external/libcxx/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);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/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++/libcxx/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++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
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);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/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++/libcxx/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);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/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);

Completed in 198 milliseconds

1 2 3 4 56 7 8 91011>>