/external/parameter-framework/asio/include/asio/detail/ |
H A D | weak_ptr.hpp | 2 // detail/weak_ptr.hpp 22 using std::weak_ptr;
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
H A D | weak_ptr.hpp | 2 // 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 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/std/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/std/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); } 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 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); } 60 void sink (std::weak_ptr<T> &&) {} 67 const std::weak_ptr<A> pA(ps); 72 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);
|
/external/libweave/src/ |
H A D | access_api_handler.h | 10 #include <base/memory/weak_ptr.h> 31 void Block(const std::weak_ptr<Command>& command); 32 void Unblock(const std::weak_ptr<Command>& command); 33 void List(const std::weak_ptr<Command>& command); 36 void OnCommandDone(const std::weak_ptr<Command>& command, ErrorPtr error);
|
H A D | base_api_handler.h | 11 #include <base/memory/weak_ptr.h> 31 void UpdateBaseConfiguration(const std::weak_ptr<Command>& command); 32 void UpdateDeviceInfo(const std::weak_ptr<Command>& command);
|
/external/libcxx/test/std/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/std/utilities/tuple/tuple.general/ |
H A D | tuple.smartptr.pass.cpp | 23 std::tuple<std::weak_ptr <char>> wp; 29 std::tuple<std::weak_ptr <char[]>> wp; 35 std::tuple<std::weak_ptr <char[5]>> wp;
|
/external/protobuf/src/google/protobuf/stubs/ |
H A D | shared_ptr.h | 63 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.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;
|
/external/libcxx/test/std/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/std/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/std/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/libchrome/base/timer/ |
H A D | mock_timer_unittest.cc | 71 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 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);
|