/external/chromium_org/jingle/notifier/base/ |
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 = weak_xmpp_client->AsWeakPtr() local [all...] |
xmpp_connection_unittest.cc | 12 #include "base/memory/weak_ptr.h" 170 base::WeakPtr<talk_base::Task> weak_ptr; local 172 WillOnce(SaveArg<0>(&weak_ptr)); 181 EXPECT_EQ(xmpp_connection.weak_xmpp_client_.get(), weak_ptr.get()); 184 EXPECT_EQ(NULL, weak_ptr.get()); 189 base::WeakPtr<talk_base::Task> weak_ptr; 191 WillOnce(SaveArg<0>(&weak_ptr)); 204 EXPECT_EQ(xmpp_connection.weak_xmpp_client_.get(), weak_ptr.get()); 210 base::WeakPtr<talk_base::Task> weak_ptr; local 212 WillOnce(SaveArg<0>(&weak_ptr)); [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.ownerless/ |
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<int> w1(p1) [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/ |
weak_ptr_Y.pass.cpp | 12 // weak_ptr 14 // template<class Y> weak_ptr(const weak_ptr<Y>& r); 56 static_assert(( std::is_convertible<std::weak_ptr<A>, std::weak_ptr<B> >::value), ""); 57 static_assert((!std::is_convertible<std::weak_ptr<B>, std::weak_ptr<A> >::value), ""); 58 static_assert((!std::is_convertible<std::weak_ptr<A>, std::weak_ptr<C> >::value), ""); 60 const std::weak_ptr<A> pA(std::shared_ptr<A>(new A)) [all...] |
default.pass.cpp | 12 // template<class T> class weak_ptr 14 // weak_ptr(); 23 std::weak_ptr<A> p;
|
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);
|
weak_ptr.pass.cpp | 12 // weak_ptr 14 // weak_ptr(const weak_ptr& r); 58 const std::weak_ptr<A> pA(ps); 63 std::weak_ptr<A> pB(pA); 76 std::weak_ptr<A> pA; 81 std::weak_ptr<A> pB(pA);
|
/external/chromium_org/sync/test/ |
null_transaction_observer.cc | 7 #include "base/memory/weak_ptr.h"
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/ |
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);
|
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);
|
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);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.spec/ |
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/stlport/stlport/ |
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
|
/ndk/sources/cxx-stl/stlport/stlport/ |
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
|
/prebuilts/ndk/5/sources/cxx-stl/stlport/stlport/ |
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
|
/prebuilts/ndk/6/sources/cxx-stl/stlport/stlport/ |
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
|
/prebuilts/ndk/7/sources/cxx-stl/stlport/stlport/ |
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
|
/prebuilts/ndk/8/sources/cxx-stl/stlport/stlport/ |
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
|
/prebuilts/ndk/9/sources/cxx-stl/EH/stlport/stlport/ |
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
|
/external/chromium_org/chrome/browser/ui/global_error/ |
global_error_bubble_view_base.h | 9 #include "base/memory/weak_ptr.h"
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.shared/util.smartptr.shared.obs/ |
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);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.mod/ |
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);
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.assign/ |
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;
|
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;
|
/external/chromium_org/google_apis/drive/ |
request_sender_unittest.cc | 140 base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); local 149 EXPECT_FALSE(weak_ptr); // The request object is deleted. 163 base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); local 171 EXPECT_FALSE(weak_ptr); // The request object is deleted. 183 base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); local 191 EXPECT_FALSE(weak_ptr); // The request object is deleted. 202 base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); local 213 EXPECT_FALSE(weak_ptr); // The request object is deleted. 222 base::WeakPtr<AuthenticatedRequestInterface> weak_ptr = request->GetWeakPtr(); local 247 EXPECT_FALSE(weak_ptr); [all...] |