/external/libcxx/test/std/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); 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<B>, std::weak_ptr<A> >::value), "") [all...] |
weak_ptr.pass.cpp | 12 // 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<A> pB(pA) [all...] |
default.pass.cpp | 12 // template<class T> class weak_ptr 14 // weak_ptr(); 23 std::weak_ptr<A> p;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/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); 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<B>, std::weak_ptr<A> >::value), "") [all...] |
weak_ptr.pass.cpp | 12 // 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<A> pB(pA) [all...] |
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
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.ownerless/ |
owner_less.pass.cpp | 20 // bool operator()(shared_ptr<T> const&, weak_ptr<T> const&) const noexcept; 21 // bool operator()(weak_ptr<T> const&, shared_ptr<T> const&) const noexcept; 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 noexcept; 30 // bool operator()(shared_ptr<T> const&, weak_ptr<T> const&) const noexcept; 31 // bool operator()(weak_ptr<T> const&, shared_ptr<T> const&) const noexcept; 40 // bool operator()(shared_ptr<T> const&, weak_ptr<U> const&) const noexcept [all...] |
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/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 noexcept; 21 // bool operator()(weak_ptr<T> const&, shared_ptr<T> const&) const noexcept; 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 noexcept; 30 // bool operator()(shared_ptr<T> const&, weak_ptr<T> const&) const noexcept; 31 // bool operator()(weak_ptr<T> const&, shared_ptr<T> const&) const noexcept; 40 // bool operator()(shared_ptr<T> const&, weak_ptr<U> const&) const noexcept [all...] |
/external/libcxx/test/std/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; 65 std::weak_ptr<A> pA(ps); 67 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; 65 std::weak_ptr<A> pA(ps); 67 std::weak_ptr<B> pB;
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/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; 65 std::weak_ptr<A> pA(ps); 67 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; 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.weak.obs/ |
owner_before_weak_ptr.pass.cpp | 12 // weak_ptr 14 // template<class U> bool owner_before(const weak_ptr<U>& b) const noexcept; 25 const std::weak_ptr<int> w1(p1); 26 const std::weak_ptr<int> w2(p2); 27 const std::weak_ptr<int> w3(p3);
|
owner_before_shared_ptr.pass.cpp | 12 // weak_ptr 25 const std::weak_ptr<int> w1(p1); 26 const std::weak_ptr<int> w2(p2); 27 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);
|
/external/libcxx/test/std/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);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/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) const noexcept; 25 const std::weak_ptr<int> w1(p1); 26 const std::weak_ptr<int> w2(p2); 27 const std::weak_ptr<int> w3(p3);
|
owner_before_shared_ptr.pass.cpp | 12 // weak_ptr 25 const std::weak_ptr<int> w1(p1); 26 const std::weak_ptr<int> w2(p2); 27 const std::weak_ptr<int> w3(p3);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/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/protobuf/src/google/protobuf/stubs/ |
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() : ptr_(NULL), control_block_(NULL) { [all...] |
/prebuilts/tools/darwin-x86_64/protoc/include/google/protobuf/stubs/ |
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() : ptr_(NULL), control_block_(NULL) { [all...] |
/external/libcxx/test/std/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 noexcept; 25 const std::weak_ptr<int> w1(p1); 26 const std::weak_ptr<int> w2(p2); 27 const std::weak_ptr<int> w3(p3);
|
/external/libcxx/test/std/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);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/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 noexcept; 25 const std::weak_ptr<int> w1(p1); 26 const std::weak_ptr<int> w2(p2); 27 const std::weak_ptr<int> w3(p3);
|
/prebuilts/ndk/r16/sources/cxx-stl/llvm-libc++/test/std/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);
|