Searched refs:shared_ptr (Results 1 - 25 of 143) sorted by relevance

123456

/external/clang/test/PCH/
H A Dcxx-variadic-templates.cpp13 shared_ptr<int> spi = shared_ptr<int>::allocate_shared(1, 2);
H A Dcxx-variadic-templates.h3 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;
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/
H A Dop_bool.pass.cpp12 // shared_ptr
22 const std::shared_ptr<int> p(new int(32));
26 const std::shared_ptr<int> p;
H A Dunique.pass.cpp12 // shared_ptr
21 const std::shared_ptr<int> p(new int(32));
24 std::shared_ptr<int> p2 = p;
H A Downer_before_shared_ptr.pass.cpp12 // shared_ptr
14 // template <class U> bool owner_before(shared_ptr<U> const& b) const;
21 const std::shared_ptr<int> p1(new int);
22 const std::shared_ptr<int> p2 = p1;
23 const std::shared_ptr<int> p3(new int);
H A Ddereference.pass.cpp12 // shared_ptr
21 const std::shared_ptr<int> p(new int(32));
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared.atomic/
H A Datomic_compare_exchange_strong.pass.cpp17 // 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<in
[all...]
H A Datomic_compare_exchange_weak.pass.cpp17 // 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<in
[all...]
H A Datomic_exchange.pass.cpp17 // 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));
H A Datomic_load.pass.cpp17 // 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);
H A Datomic_load_explicit.pass.cpp17 // 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);
H A Datomic_store.pass.cpp17 // 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));
H A Datomic_store_explicit.pass.cpp17 // 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));
H A Datomic_compare_exchange_strong_explicit.pass.cpp17 // 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<in
[all...]
H A Datomic_compare_exchange_weak_explicit.pass.cpp17 // 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<in
[all...]
H A Datomic_is_lock_free.pass.cpp12 // shared_ptr
16 // atomic_is_lock_free(const shared_ptr<T>* p);
25 const std::shared_ptr<int> p(new int(3));
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
H A Dnot_less_than.fail.cpp21 const std::shared_ptr<int> p1(new int);
22 const std::shared_ptr<int> p2(new int);
/external/clang/test/CodeGenCXX/
H A Dlinetable-eh.cpp20 template<class _Tp> class shared_ptr { class
24 ~shared_ptr();
34 virtual shared_ptr<Context> GetContext () = 0;
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.cmp/
H A Deq.pass.cpp12 // 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);
H A Dlt.pass.cpp12 // 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.enab/
H A Denable_shared_from_this.pass.cpp19 // shared_ptr<T> shared_from_this();
20 // shared_ptr<T const> shared_from_this() const;
38 std::shared_ptr<Y> p(new Z);
39 std::shared_ptr<T> q = p->shared_from_this();
44 std::shared_ptr<Y> p = std::make_shared<Z>();
45 std::shared_ptr<T> q = p->shared_from_this();
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/
H A Dtypes.pass.cpp12 // template<class T> class shared_ptr
25 static_assert((std::is_same<std::shared_ptr<A>::element_type, A>::value), "");
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
H A Ddefault.pass.cpp12 // shared_ptr();
19 std::shared_ptr<int> p;
H A Dnullptr_t.pass.cpp12 // shared_ptr(nullptr_t)
19 std::shared_ptr<int> p(nullptr);
/external/lldb/include/lldb/
H A Dlldb-forward.h263 typedef std::shared_ptr<lldb_private::ABI> ABISP;
264 typedef std::shared_ptr<lldb_private::Baton> BatonSP;
265 typedef std::shared_ptr<lldb_private::Block> BlockSP;
266 typedef std::shared_ptr<lldb_private::Breakpoint> BreakpointSP;
268 typedef std::shared_ptr<lldb_private::BreakpointSite> BreakpointSiteSP;
270 typedef std::shared_ptr<lldb_private::BreakpointLocation> BreakpointLocationSP;
272 typedef std::shared_ptr<lldb_private::BreakpointResolver> BreakpointResolverSP;
273 typedef std::shared_ptr<lldb_private::Broadcaster> BroadcasterSP;
274 typedef std::shared_ptr<lldb_private::ClangExpressionVariable> ClangExpressionVariableSP;
275 typedef std::shared_ptr<lldb_privat
[all...]

Completed in 1085 milliseconds

123456