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

1 2

  /external/libchrome/base/memory/
weak_ptr.h 31 // static void StartNew(const WeakPtr<Controller>& controller) {
36 // Worker(const WeakPtr<Controller>& controller)
42 // WeakPtr<Controller> controller_;
55 // To ensure correct use, the first time a WeakPtr issued by a WeakPtrFactory
62 // If all WeakPtr objects are destroyed or invalidated then the factory is
64 // destroyed, or new WeakPtr objects may be used, from a different sequence.
66 // Thus, at least one WeakPtr object must exist and have been dereferenced on
67 // the correct thread to enforce that other WeakPtr objects will enforce they
83 template <typename T> class WeakPtr;
86 // These classes are part of the WeakPtr implementation
    [all...]
weak_ptr_unittest.cc 51 WeakPtr<Target> target;
164 WeakPtr<TargetBase> b = object->target;
166 WeakPtr<TargetBase> c;
182 WeakPtr<int> ptr = factory.GetWeakPtr();
189 WeakPtr<int> ptr = factory.GetWeakPtr();
190 WeakPtr<int> ptr2 = ptr;
195 WeakPtr<int> ptr;
206 WeakPtr<int> a, b;
220 WeakPtr<int> a;
226 WeakPtr<int> b = factory.GetWeakPtr()
    [all...]
  /external/libweave/third_party/chromium/base/memory/
weak_ptr.h 31 // static void StartNew(const WeakPtr<Controller>& controller) {
36 // Worker(const WeakPtr<Controller>& controller)
42 // WeakPtr<Controller> controller_;
55 // To ensure correct use, the first time a WeakPtr issued by a WeakPtrFactory
62 // If all WeakPtr objects are destroyed or invalidated then the factory is
64 // destroyed, or new WeakPtr objects may be used, from a different sequence.
66 // Thus, at least one WeakPtr object must exist and have been dereferenced on
67 // the correct thread to enforce that other WeakPtr objects will enforce they
81 template <typename T> class WeakPtr;
84 // These classes are part of the WeakPtr implementation
    [all...]
weak_ptr_unittest.cc 29 WeakPtr<Target> target;
41 WeakPtr<int> ptr = factory.GetWeakPtr();
48 WeakPtr<int> ptr = factory.GetWeakPtr();
49 WeakPtr<int> ptr2 = ptr;
54 WeakPtr<int> ptr;
65 WeakPtr<int> a, b;
79 WeakPtr<int> a;
85 WeakPtr<int> b = factory.GetWeakPtr();
96 WeakPtr<Base> ptr = factory.GetWeakPtr();
105 WeakPtr<Base> ptr = factory.GetWeakPtr()
    [all...]
  /external/deqp/framework/delibs/decpp/
deSharedPtr.hpp 64 volatile deInt32 weakRefCount; //!< WeakPtr references + StrongPtr references.
96 class WeakPtr;
122 explicit SharedPtr (const WeakPtr<Y>& other);
131 SharedPtr& operator= (const WeakPtr<Y>& other);
148 void acquireFromWeak (const WeakPtr<T>& other);
154 friend class WeakPtr<T>;
163 * WeakPtr manages weak references to objects owned by SharedPtr. Shared
168 * WeakPtr can be converted back to SharedPtr but that operation can fail
173 class WeakPtr
176 WeakPtr (void)
    [all...]
deSharedPtr.cpp 124 WeakPtr<Object> ptrA(m_ptr);
126 WeakPtr<Object> ptrB;
367 WeakPtr<Object> weakPtr(ptr);
370 SharedPtr<Object> newRef(weakPtr);
382 SharedPtr<Object> newRef(weakPtr);
409 // Basic WeakPtr threaded test.
  /system/connectivity/shill/ethernet/
mock_ethernet_service.cc 26 base::WeakPtr<Ethernet> ethernet)
ethernet_service.h 43 base::WeakPtr<Ethernet> ethernet);
74 base::WeakPtr<Ethernet> ethernet);
87 base::WeakPtr<Ethernet> ethernet_;
ethernet_service.cc 58 base::WeakPtr<Ethernet> ethernet)
78 base::WeakPtr<Ethernet> ethernet)
mock_ethernet_service.h 31 base::WeakPtr<Ethernet> ethernet);
  /external/libcxx/test/libcxx/utilities/memory/util.smartptr/
race_condition.pass.cpp 25 typedef std::weak_ptr<int> WeakPtr;
38 WeakPtr x3 = x; // increment weak count
40 WeakPtr x5 = x3; // increment weak count
58 WeakPtr w = p;
  /system/connectivity/shill/
mock_external_task.cc 24 const base::WeakPtr<RPCTaskDelegate>& task_delegate,
mock_external_task.h 34 const base::WeakPtr<RPCTaskDelegate>& task_delegate,
external_task.h 45 const base::WeakPtr<RPCTaskDelegate>& task_delegate,
114 base::WeakPtr<RPCTaskDelegate> task_delegate_;
ppp_daemon.h 107 const base::WeakPtr<RPCTaskDelegate>& task_delegate,
ppp_daemon.cc 44 const base::WeakPtr<RPCTaskDelegate>& task_delegate,
external_task.cc 36 const base::WeakPtr<RPCTaskDelegate>& task_delegate,
  /system/tpm/trunks/
background_command_transceiver.h 66 base::WeakPtr<BackgroundCommandTransceiver> GetWeakPtr() {
trunks_dbus_proxy.h 50 base::WeakPtr<TrunksDBusProxy> GetWeakPtr() {
trunks_dbus_service.h 64 base::WeakPtr<TrunksDBusService> GetWeakPtr() {
trunks_binder_service.h 70 base::WeakPtr<BinderServiceInternal> GetWeakPtr() {
  /external/libchrome/base/timer/
mock_timer_unittest.cc 71 base::WeakPtr<HasWeakPtr> weak_ptr(has_weak_ptr->AsWeakPtr());
  /system/connectivity/shill/pppoe/
pppoe_service.h 53 base::WeakPtr<Ethernet> ethernet);
  /external/libchrome/base/
bind_helpers.h 486 struct UnwrapTraits<WeakPtr<T> > {
487 using ForwardType = const WeakPtr<T>&;
488 static ForwardType Unwrap(const WeakPtr<T>& o) { return o; }
551 // IsWeakMethod is a helper that determine if we are binding a WeakPtr<> to a
553 // InvokeHelper that will no-op itself in the event the WeakPtr<> for
562 struct IsWeakMethod<true, WeakPtr<T>, Args...> : public true_type {};
565 struct IsWeakMethod<true, ConstRefWrapper<WeakPtr<T>>, Args...>
  /external/libweave/third_party/chromium/base/
bind_helpers.h 425 struct UnwrapTraits<WeakPtr<T> > {
426 using ForwardType = const WeakPtr<T>&;
427 static ForwardType Unwrap(const WeakPtr<T>& o) { return o; }
490 // IsWeakMethod is a helper that determine if we are binding a WeakPtr<> to a
492 // InvokeHelper that will no-op itself in the event the WeakPtr<> for
501 struct IsWeakMethod<true, WeakPtr<T>, Args...> : public std::true_type {};
504 struct IsWeakMethod<true, ConstRefWrapper<WeakPtr<T>>, Args...>

Completed in 874 milliseconds

1 2