Home
last modified time | relevance | path

Searched refs:WeakPtr (Results 1 – 25 of 30) sorted by relevance

12

/external/deqp/framework/delibs/decpp/
DdeSharedPtr.hpp96 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 …]
DdeSharedPtr.cpp124 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/
Dcfx_weak_ptr_unittest.cpp17 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/
Dweak_ptr.h85 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 …]
Dweak_ptr_unittest.nc24 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 …]
Dweak_ptr_unittest.cc21 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/
Drace_condition.pass.cpp25 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/
Dinterface_ptr_set.h62 base::WeakPtr<Element> GetWeakPtr() { in GetWeakPtr()
77 [](const base::WeakPtr<Element>& p) { in ClearNullPtrs()
83 std::vector<base::WeakPtr<Element>> ptrs_;
Dbinding_set.h74 base::WeakPtr<Element> GetWeakPtr() { in GetWeakPtr()
98 [](const base::WeakPtr<Element>& p) { in OnConnectionError()
108 std::vector<base::WeakPtr<Element>> bindings_;
Dconnector.h203 base::WeakPtr<Connector> weak_self_;
/external/libmojo/mojo/public/cpp/bindings/lib/
Drouter.cc25 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()
Dinterface_endpoint_client.cc28 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()
Dconnector.cc212 base::WeakPtr<Connector> weak_self(weak_self_); in OnSyncHandleWatcherHandleReady()
262 base::WeakPtr<Connector> weak_self = weak_self_; in ReadSingleMessage()
/external/v4l2_codec2/vda/
Dv4l2_slice_video_decode_accelerator.h56 const base::WeakPtr<Client>& decode_client,
327 base::WeakPtr<V4L2SliceVideoDecodeAccelerator> weak_this_;
334 base::WeakPtr<VideoDecodeAccelerator::Client> client_;
336 base::WeakPtr<Client> decode_client_;
Dvideo_decode_accelerator.cc33 const base::WeakPtr<Client>& decode_client, in TryToSetupDecodeOnSeparateThread()
Dvideo_decode_accelerator.h319 const base::WeakPtr<Client>& decode_client,
/external/libmojo/mojo/edk/js/
Ddrain_data.h54 base::WeakPtr<gin::Runner> runner_;
Dwaiting_callback.h56 base::WeakPtr<gin::Runner> runner_;
Dmojo_runner_delegate.cc35 void StartCallback(base::WeakPtr<gin::Runner> runner, in StartCallback()
/external/libmojo/mojo/public/cpp/system/
Dwatcher.h108 base::WeakPtr<Watcher> weak_self_;
/external/libbrillo/brillo/dbus/
Ddbus_object.h485 base::WeakPtr<ExportedObjectManager> object_manager,
547 const base::WeakPtr<ExportedObjectManager>& GetObjectManager() const { in GetObjectManager()
564 base::WeakPtr<ExportedObjectManager> object_manager_;
Ddbus_object.cc97 base::WeakPtr<ExportedObjectManager> object_manager, in ClaimInterface()
/external/libchrome/base/timer/
Dmock_timer_unittest.cc71 base::WeakPtr<HasWeakPtr> weak_ptr(has_weak_ptr->AsWeakPtr()); in TEST()
/external/libchrome/base/
Dobserver_list.h92 WeakPtr<ObserverListBase<ObserverType>> list_;
/external/libchrome/base/trace_event/
Dtrace_log.h140 WeakPtr<AsyncEnabledStateObserver> listener);

12