/external/deqp/framework/delibs/decpp/ |
D | deSharedPtr.hpp | 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>; 173 class WeakPtr class 176 WeakPtr (void); 177 WeakPtr (const WeakPtr<T>& other); 179 explicit WeakPtr (const SharedPtr<T>& other); 180 ~WeakPtr (void); [all …]
|
D | deSharedPtr.cpp | 124 WeakPtr<Object> ptrA(m_ptr); in run() 126 WeakPtr<Object> ptrB; in run() 367 WeakPtr<Object> weakPtr(ptr); in SharedPtr_selfTest()
|
/external/pdfium/core/fxcrt/ |
D | cfx_weak_ptr_unittest.cpp | 17 using WeakPtr = CFX_WeakPtr<PseudoDeletable, ReleaseDeleter<PseudoDeletable>>; typedef 28 void SetNext(const WeakPtr& next) { next_ = next; } in SetNext() 33 WeakPtr next_; 39 WeakPtr ptr1; in TEST() 42 WeakPtr ptr2; in TEST() 46 WeakPtr ptr3(ptr1); in TEST() 50 WeakPtr ptr4 = ptr1; in TEST() 60 WeakPtr ptr1(std::move(unique)); in TEST() 64 WeakPtr ptr2; in TEST() 68 WeakPtr ptr3(ptr1); in TEST() [all …]
|
/external/libchrome/base/memory/ |
D | weak_ptr.h | 85 template <typename T> class WeakPtr; variable 173 static WeakPtr<Derived> StaticAsWeakPtr(Derived* t) { in StaticAsWeakPtr() 185 static WeakPtr<Derived> AsWeakPtrImpl( in AsWeakPtrImpl() 187 WeakPtr<Base> ptr = t->Base::AsWeakPtr(); in AsWeakPtrImpl() 188 return WeakPtr<Derived>(ptr.ref_, static_cast<Derived*>(ptr.ptr_)); in AsWeakPtrImpl() 210 class WeakPtr : public internal::WeakPtrBase { 212 WeakPtr() : ptr_(nullptr) {} in WeakPtr() function 214 WeakPtr(std::nullptr_t) : ptr_(nullptr) {} in WeakPtr() function 219 WeakPtr(const WeakPtr<U>& other) : WeakPtrBase(other), ptr_(other.ptr_) { in WeakPtr() function 222 WeakPtr(WeakPtr<U>&& other) in WeakPtr() function [all …]
|
D | weak_ptr_unittest.nc | 24 WeakPtr<Producer> ptr = f.AsWeakPtr(); 25 WeakPtr<DerivedProducer> derived_ptr = ptr; 32 WeakPtr<Producer> ptr = f.AsWeakPtr(); 33 WeakPtr<DerivedProducer> derived_ptr = 34 static_cast<WeakPtr<DerivedProducer> >(ptr); 37 …non-const lvalue reference to type 'WeakPtr<base::DerivedProducer>' cannot bind to a value of unre… 41 WeakPtr<Producer> ptr = f.AsWeakPtr(); 42 WeakPtr<DerivedProducer>& derived_ptr = ptr; 45 …non-const lvalue reference to type 'WeakPtr<base::DerivedProducer>' cannot bind to a value of unre… 49 WeakPtr<Producer> ptr = f.AsWeakPtr(); [all …]
|
D | weak_ptr_unittest.cc | 21 WeakPtr<int> PassThru(WeakPtr<int> ptr) { in PassThru() 56 WeakPtr<Target> target; 176 WeakPtr<TargetBase> b = object->target; in DoCopyAndAssignArrowBase() 178 WeakPtr<TargetBase> c; in DoCopyAndAssignArrowBase() 194 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST() 201 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST() 202 WeakPtr<int> ptr2 = ptr; in TEST() 209 WeakPtr<int> ptr = factory.GetWeakPtr(); in TEST() 210 WeakPtr<int> ptr2 = factory.GetWeakPtr(); in TEST() 211 WeakPtr<int> ptr3 = std::move(ptr2); in TEST() [all …]
|
/external/libcxx/test/libcxx/utilities/memory/util.smartptr/ |
D | race_condition.pass.cpp | 25 typedef std::weak_ptr<int> WeakPtr; typedef 38 WeakPtr x3 = x; // increment weak count in operator ()() 40 WeakPtr x5 = x3; // increment weak count in operator ()() 58 WeakPtr w = p; in run_test()
|
/external/libmojo/mojo/public/cpp/bindings/ |
D | interface_ptr_set.h | 62 base::WeakPtr<Element> GetWeakPtr() { in GetWeakPtr() 77 [](const base::WeakPtr<Element>& p) { in ClearNullPtrs() 83 std::vector<base::WeakPtr<Element>> ptrs_;
|
D | binding_set.h | 74 base::WeakPtr<Element> GetWeakPtr() { in GetWeakPtr() 98 [](const base::WeakPtr<Element>& p) { in OnConnectionError() 108 std::vector<base::WeakPtr<Element>> bindings_;
|
D | connector.h | 203 base::WeakPtr<Connector> weak_self_;
|
/external/libmojo/mojo/public/cpp/bindings/lib/ |
D | router.cc | 25 void DCheckIfInvalid(const base::WeakPtr<Router>& router, in DCheckIfInvalid() 33 explicit ResponderThunk(const base::WeakPtr<Router>& router, in ResponderThunk() 89 base::WeakPtr<Router> router_; 176 base::WeakPtr<Router> weak_self = weak_factory_.GetWeakPtr(); in AcceptWithResponder() 228 base::WeakPtr<Router> weak_self = weak_factory_.GetWeakPtr(); in HandleQueuedMessages()
|
D | interface_endpoint_client.cc | 28 void DCheckIfInvalid(const base::WeakPtr<InterfaceEndpointClient>& client, in DCheckIfInvalid() 41 const base::WeakPtr<InterfaceEndpointClient>& endpoint_client, in ResponderThunk() 99 base::WeakPtr<InterfaceEndpointClient> endpoint_client_; 239 base::WeakPtr<InterfaceEndpointClient> weak_self = in AcceptWithResponder()
|
D | connector.cc | 212 base::WeakPtr<Connector> weak_self(weak_self_); in OnSyncHandleWatcherHandleReady() 262 base::WeakPtr<Connector> weak_self = weak_self_; in ReadSingleMessage()
|
/external/v4l2_codec2/vda/ |
D | v4l2_slice_video_decode_accelerator.h | 56 const base::WeakPtr<Client>& decode_client, 327 base::WeakPtr<V4L2SliceVideoDecodeAccelerator> weak_this_; 334 base::WeakPtr<VideoDecodeAccelerator::Client> client_; 336 base::WeakPtr<Client> decode_client_;
|
D | video_decode_accelerator.cc | 33 const base::WeakPtr<Client>& decode_client, in TryToSetupDecodeOnSeparateThread()
|
D | video_decode_accelerator.h | 319 const base::WeakPtr<Client>& decode_client,
|
/external/libmojo/mojo/edk/js/ |
D | drain_data.h | 54 base::WeakPtr<gin::Runner> runner_;
|
D | waiting_callback.h | 56 base::WeakPtr<gin::Runner> runner_;
|
D | mojo_runner_delegate.cc | 35 void StartCallback(base::WeakPtr<gin::Runner> runner, in StartCallback()
|
/external/libmojo/mojo/public/cpp/system/ |
D | watcher.h | 108 base::WeakPtr<Watcher> weak_self_;
|
/external/libbrillo/brillo/dbus/ |
D | dbus_object.h | 485 base::WeakPtr<ExportedObjectManager> object_manager, 547 const base::WeakPtr<ExportedObjectManager>& GetObjectManager() const { in GetObjectManager() 564 base::WeakPtr<ExportedObjectManager> object_manager_;
|
D | dbus_object.cc | 97 base::WeakPtr<ExportedObjectManager> object_manager, in ClaimInterface()
|
/external/libchrome/base/timer/ |
D | mock_timer_unittest.cc | 71 base::WeakPtr<HasWeakPtr> weak_ptr(has_weak_ptr->AsWeakPtr()); in TEST()
|
/external/libchrome/base/ |
D | observer_list.h | 92 WeakPtr<ObserverListBase<ObserverType>> list_;
|
/external/libchrome/base/trace_event/ |
D | trace_log.h | 140 WeakPtr<AsyncEnabledStateObserver> listener);
|