Searched refs:weak_ptr (Results 1 - 25 of 44) sorted by relevance

12

/external/parameter-framework/asio/include/asio/detail/
H A Dweak_ptr.hpp2 // detail/weak_ptr.hpp
22 using std::weak_ptr;
/external/parameter-framework/asio-1.10.6/include/asio/detail/
H A Dweak_ptr.hpp2 // detail/weak_ptr.hpp
22 using std::weak_ptr;
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
H A Dnot_less_than.fail.cpp12 // template <class T> class weak_ptr;
23 const std::weak_ptr<int> w1(p1);
24 const std::weak_ptr<int> w2(p2);
H A Downer_before_shared_ptr.pass.cpp12 // weak_ptr
24 const std::weak_ptr<int> w1(p1);
25 const std::weak_ptr<int> w2(p2);
26 const std::weak_ptr<int> w3(p3);
H A Downer_before_weak_ptr.pass.cpp12 // weak_ptr
14 // template<class U> bool owner_before(const weak_ptr<U>& b);
24 const std::weak_ptr<int> w1(p1);
25 const std::weak_ptr<int> w2(p2);
26 const std::weak_ptr<int> w3(p3);
H A Dexpired.pass.cpp12 // weak_ptr
33 std::weak_ptr<A> wp;
39 std::weak_ptr<A> wp(sp0);
H A Dlock.pass.cpp12 // weak_ptr
33 std::weak_ptr<A> wp;
41 std::weak_ptr<A> wp(sp0);
50 std::weak_ptr<A> wp(sp0);
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/
H A Dtypes.pass.cpp12 // template<class T> class weak_ptr
25 static_assert((std::is_same<std::weak_ptr<A>::element_type, A>::value), "");
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/
H A Ddefault.pass.cpp12 // template<class T> class weak_ptr
14 // weak_ptr();
23 std::weak_ptr<A> p;
H A Dweak_ptr_Y.pass.cpp12 // weak_ptr
14 // template<class Y> weak_ptr(const weak_ptr<Y>& r);
15 // template<class Y> weak_ptr(weak_ptr<Y> &&r);
56 std::weak_ptr<T> source (std::shared_ptr<T> p) { return std::weak_ptr<T>(p); }
60 static_assert(( std::is_convertible<std::weak_ptr<A>, std::weak_ptr<B> >::value), "");
61 static_assert((!std::is_convertible<std::weak_ptr<
[all...]
H A Dweak_ptr.pass.cpp12 // weak_ptr
14 // weak_ptr(const weak_ptr& r);
15 // weak_ptr(weak_ptr &&r)
58 std::weak_ptr<T> source (std::shared_ptr<T> p) { return std::weak_ptr<T>(p); }
62 void sink (std::weak_ptr<T> &&) {}
69 const std::weak_ptr<A> pA(ps);
74 std::weak_ptr<
[all...]
H A Dshared_ptr_Y.pass.cpp12 // weak_ptr
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), "");
65 std::weak_ptr<B> pB(pA);
83 std::weak_ptr<B> pB(pA);
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/
H A Downer_before_weak_ptr.pass.cpp14 // template <class U> bool owner_before(weak_ptr<U> const& b) const;
24 const std::weak_ptr<int> w1(p1);
25 const std::weak_ptr<int> w2(p2);
26 const std::weak_ptr<int> w3(p3);
/external/libcxx/test/std/utilities/tuple/tuple.general/
H A Dtuple.smartptr.pass.cpp23 std::tuple<std::weak_ptr <char>> wp;
28 std::tuple<std::weak_ptr <char[]>> wp;
/external/protobuf/src/google/protobuf/stubs/
H A Dshared_ptr.h63 using std::weak_ptr;
77 template <typename T> class weak_ptr;
90 // weak_ptr destructors. We need to make sure the control block is
95 template <typename T> friend class weak_ptr;
107 template <typename U> friend class weak_ptr;
163 // shared_ptr(const weak_ptr<U>& ptr);
293 class weak_ptr {
294 template <typename U> friend class weak_ptr;
298 // Create an empty (i.e. already expired) weak_ptr.
299 weak_ptr()
[all...]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/
H A Dtypes.pass.cpp16 // typedef weak_ptr<T> weak_type; // C++17
30 static_assert((std::is_same<std::shared_ptr<A>::weak_type, std::weak_ptr<A>>::value), "");
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/
H A Dweak_ptr.pass.cpp12 // weak_ptr
14 // weak_ptr& operator=(const weak_ptr& r);
47 const std::weak_ptr<A> pA(ps);
49 std::weak_ptr<A> pB;
65 std::weak_ptr<A> pA(ps);
67 std::weak_ptr<A> pB;
H A Dweak_ptr_Y.pass.cpp12 // weak_ptr
14 // template<class Y> weak_ptr& operator=(const weak_ptr<Y>& r);
47 const std::weak_ptr<A> pA(ps);
49 std::weak_ptr<B> pB;
65 std::weak_ptr<A> pA(ps);
67 std::weak_ptr<B> pB;
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/
H A Downer_less.pass.cpp20 // bool operator()(shared_ptr<T> const&, weak_ptr<T> const&) const;
21 // bool operator()(weak_ptr<T> const&, shared_ptr<T> const&) const;
25 // struct owner_less<weak_ptr<T> >
26 // : binary_function<weak_ptr<T>, weak_ptr<T>, bool>
29 // bool operator()(weak_ptr<T> const&, weak_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;
40 // bool operator()(shared_ptr<T> const&, weak_ptr<
[all...]
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.mod/
H A Dswap.pass.cpp12 // weak_ptr
14 // void swap(weak_ptr& r);
36 std::weak_ptr<A> w1(p1);
39 std::weak_ptr<A> w2(p2);
H A Dreset.pass.cpp12 // weak_ptr
14 // void swap(weak_ptr& r);
34 std::weak_ptr<A> w1(p1);
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.spec/
H A Dswap.pass.cpp12 // weak_ptr
14 // template<class T> void swap(weak_ptr<T>& a, weak_ptr<T>& b)
36 std::weak_ptr<A> w1(p1);
39 std::weak_ptr<A> w2(p2);
/external/libchrome/base/timer/
H A Dmock_timer_unittest.cc71 base::WeakPtr<HasWeakPtr> weak_ptr(has_weak_ptr->AsWeakPtr());
74 ASSERT_TRUE(weak_ptr.get());
78 ASSERT_TRUE(weak_ptr.get());
80 ASSERT_FALSE(weak_ptr.get());
/external/libcxx/test/std/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/
H A Dweak_ptr.pass.cpp14 // template<class Y> explicit shared_ptr(const weak_ptr<Y>& r);
48 std::weak_ptr<A> wp;
62 std::weak_ptr<A> wp(sp0);
72 std::weak_ptr<A> wp(sp0);
/external/libbrillo/brillo/dbus/
H A Dexported_object_manager.h13 #include <base/memory/weak_ptr.h>
124 std::weak_ptr<SignalInterfacesAdded> signal_itf_added_;
125 std::weak_ptr<SignalInterfacesRemoved> signal_itf_removed_;

Completed in 4727 milliseconds

12