/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/ |
H A D | not_less_than.fail.cpp | 12 // template <class T> class weak_ptr; 23 const std::weak_ptr<int> w1(p1); 24 const std::weak_ptr<int> w2(p2);
|
H A D | owner_before_shared_ptr.pass.cpp | 12 // 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 D | owner_before_weak_ptr.pass.cpp | 12 // 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 D | expired.pass.cpp | 12 // weak_ptr 33 std::weak_ptr<A> wp; 39 std::weak_ptr<A> wp(sp0);
|
H A D | lock.pass.cpp | 12 // 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/utilities/memory/util.smartptr/util.smartptr.weak/ |
H A D | types.pass.cpp | 12 // template<class T> class weak_ptr 25 static_assert((std::is_same<std::weak_ptr<A>::element_type, A>::value), "");
|
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/ |
H A D | default.pass.cpp | 12 // template<class T> class weak_ptr 14 // weak_ptr(); 23 std::weak_ptr<A> p;
|
H A D | weak_ptr_Y.pass.cpp | 12 // 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); } 59 void sink (std::weak_ptr<T> &&) {} 63 static_assert(( std::is_convertible<std::weak_ptr<A>, std::weak_ptr< [all...] |
H A D | weak_ptr.pass.cpp | 12 // weak_ptr 14 // weak_ptr(const weak_ptr& r); 15 // weak_ptr(weak_ptr &&r) 56 std::weak_ptr<T> source (std::shared_ptr<T> p) { return std::weak_ptr<T>(p); } 59 void sink (std::weak_ptr<T> &&) {} 65 const std::weak_ptr<A> pA(ps); 70 std::weak_ptr< [all...] |
H A D | shared_ptr_Y.pass.cpp | 12 // 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);
|
H A D | Android.mk | 23 test_name := utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/weak_ptr 24 test_src := weak_ptr.pass.cpp
|
/external/chromium_org/jingle/notifier/base/ |
H A D | weak_xmpp_client_unittest.cc | 9 #include "base/memory/weak_ptr.h" 76 base::WeakPtr<WeakXmppClient> weak_ptr = weak_xmpp_client->AsWeakPtr(); local 77 EXPECT_TRUE(weak_ptr.get()); 78 RaiseSignals(weak_ptr.get()); 81 EXPECT_FALSE(weak_ptr.get()); 94 base::WeakPtr<WeakXmppClient> weak_ptr = weak_xmpp_client->AsWeakPtr(); local 95 EXPECT_TRUE(weak_ptr.get()); 96 RaiseSignals(weak_ptr.get()); 99 EXPECT_FALSE(weak_ptr.get()); 112 base::WeakPtr<WeakXmppClient> weak_ptr local [all...] |
H A D | xmpp_connection_unittest.cc | 12 #include "base/memory/weak_ptr.h" 175 base::WeakPtr<rtc::Task> weak_ptr; local 177 WillOnce(SaveArg<0>(&weak_ptr)); 186 EXPECT_EQ(xmpp_connection.weak_xmpp_client_.get(), weak_ptr.get()); 189 EXPECT_EQ(NULL, weak_ptr.get()); 194 base::WeakPtr<rtc::Task> weak_ptr; 196 WillOnce(SaveArg<0>(&weak_ptr)); 209 EXPECT_EQ(xmpp_connection.weak_xmpp_client_.get(), weak_ptr.get()); 215 base::WeakPtr<rtc::Task> weak_ptr; local 217 WillOnce(SaveArg<0>(&weak_ptr)); [all...] |
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/ |
H A D | owner_before_weak_ptr.pass.cpp | 14 // 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/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/ |
H A D | owner_less.pass.cpp | 20 // 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; 42 const std::weak_ptr<in [all...] |
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/ |
H A D | weak_ptr.pass.cpp | 12 // 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 D | weak_ptr_Y.pass.cpp | 12 // 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;
|
H A D | Android.mk | 19 test_name := utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/weak_ptr 20 test_src := weak_ptr.pass.cpp
|
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.mod/ |
H A D | swap.pass.cpp | 12 // weak_ptr 14 // void swap(weak_ptr& r); 36 std::weak_ptr<A> w1(p1); 39 std::weak_ptr<A> w2(p2);
|
H A D | reset.pass.cpp | 12 // weak_ptr 14 // void swap(weak_ptr& r); 34 std::weak_ptr<A> w1(p1);
|
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.spec/ |
H A D | swap.pass.cpp | 12 // 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/chromium_org/base/timer/ |
H A D | mock_timer_unittest.cc | 70 base::WeakPtr<HasWeakPtr> weak_ptr(has_weak_ptr->AsWeakPtr()); 73 ASSERT_TRUE(weak_ptr.get()); 77 ASSERT_TRUE(weak_ptr.get()); 79 ASSERT_FALSE(weak_ptr.get());
|
/external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.const/ |
H A D | weak_ptr.pass.cpp | 14 // template<class Y> explicit shared_ptr(const weak_ptr<Y>& r); 45 std::weak_ptr<A> wp; 58 std::weak_ptr<A> wp(sp0); 67 std::weak_ptr<A> wp(sp0);
|
/external/chromium_org/google_apis/drive/ |
H A D | request_sender_unittest.cc | 141 base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); local 150 EXPECT_FALSE(weak_ptr); // The request object is deleted. 164 base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); local 172 EXPECT_FALSE(weak_ptr); // The request object is deleted. 184 base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); local 192 EXPECT_FALSE(weak_ptr); // The request object is deleted. 203 base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); local 214 EXPECT_FALSE(weak_ptr); // The request object is deleted. 223 base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); local 248 EXPECT_FALSE(weak_ptr); [all...] |
/external/stlport/stlport/ |
H A D | memory | 76 template<class T> class weak_ptr; 82 template<class T> void swap(weak_ptr<T> & a, weak_ptr<T> & b); 96 # include <boost/weak_ptr.hpp> 113 using ::boost::weak_ptr; 117 // weak_ptr IO
|