HomeSort by relevance Sort by last modified time
    Searched refs:weak_ptr (Results 1 - 25 of 123) sorted by null

1 2 3 4 5

  /external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
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);
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);
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);
expired.pass.cpp 12 // weak_ptr
33 std::weak_ptr<A> wp;
39 std::weak_ptr<A> wp(sp0);
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.obs/
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);
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);
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);
expired.pass.cpp 12 // weak_ptr
33 std::weak_ptr<A> wp;
39 std::weak_ptr<A> wp(sp0);
  /external/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/
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/
default.pass.cpp 12 // template<class T> class weak_ptr
14 // weak_ptr();
23 std::weak_ptr<A> p;
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<B> >::value), "")
    [all...]
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<A> pB(pA)
    [all...]
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/
types.pass.cpp 12 // template<class T> class weak_ptr
25 static_assert((std::is_same<std::weak_ptr<A>::element_type, A>::value), "");
  /ndk/sources/cxx-stl/llvm-libc++/libcxx/test/utilities/memory/util.smartptr/util.smartptr.weak/util.smartptr.weak.const/
default.pass.cpp 12 // template<class T> class weak_ptr
14 // weak_ptr();
23 std::weak_ptr<A> p;
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<B> >::value), "")
    [all...]
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<A> pB(pA)
    [all...]
  /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...]
  /external/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.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/tuple/tuple.general/
tuple.smartptr.pass.cpp 20 std::tuple<std::weak_ptr <char>> wp;
26 std::tuple<std::weak_ptr <char[]>> wp;
32 std::tuple<std::weak_ptr <char[5]>> wp;
  /external/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...]
  /external/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;
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;
  /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.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;

Completed in 315 milliseconds

1 2 3 4 5