Home
last modified time | relevance | path

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

12

/third_party/vk-gl-cts/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()
/third_party/gn/src/base/memory/
Dweak_ptr.h84 class WeakPtr; variable
180 static WeakPtr<Derived> StaticAsWeakPtr(Derived* t) { in StaticAsWeakPtr()
192 static WeakPtr<Derived> AsWeakPtrImpl(SupportsWeakPtr<Base>* t) { in AsWeakPtrImpl()
193 WeakPtr<Base> ptr = t->AsWeakPtr(); in AsWeakPtrImpl()
194 return WeakPtr<Derived>( in AsWeakPtrImpl()
218 class WeakPtr : public internal::WeakPtrBase {
220 WeakPtr() = default;
222 WeakPtr(std::nullptr_t) {} in WeakPtr() function
227 WeakPtr(const WeakPtr<U>& other) : WeakPtrBase(other) { in WeakPtr() function
234 WeakPtr(WeakPtr<U>&& other) : WeakPtrBase(std::move(other)) { in WeakPtr() function
[all …]
/third_party/cef/include/base/
Dcef_weak_ptr.h120 class WeakPtr; variable
222 static WeakPtr<Derived> StaticAsWeakPtr(Derived* t) { in StaticAsWeakPtr()
234 static WeakPtr<Derived> AsWeakPtrImpl(SupportsWeakPtr<Base>* t) { in AsWeakPtrImpl()
235 WeakPtr<Base> ptr = t->AsWeakPtr(); in AsWeakPtrImpl()
236 return WeakPtr<Derived>( in AsWeakPtrImpl()
260 class WeakPtr : public internal::WeakPtrBase {
262 WeakPtr() = default;
263 WeakPtr(std::nullptr_t) {} in WeakPtr() function
268 WeakPtr(const WeakPtr<U>& other) : WeakPtrBase(other) { in WeakPtr() function
275 WeakPtr(WeakPtr<U>&& other) noexcept : WeakPtrBase(std::move(other)) { in WeakPtr() function
[all …]
/third_party/rust/crates/cxx/src/
Dweak_ptr.rs15 pub struct WeakPtr<T> struct
23 impl<T> WeakPtr<T> implementation
31 let mut weak_ptr = MaybeUninit::<WeakPtr<T>>::uninit(); in null()
57 unsafe impl<T> Send for WeakPtr<T> where T: Send + Sync + WeakPtrTarget {} implementation
58 unsafe impl<T> Sync for WeakPtr<T> where T: Send + Sync + WeakPtrTarget {} implementation
60 impl<T> Clone for WeakPtr<T> implementation
65 let mut weak_ptr = MaybeUninit::<WeakPtr<T>>::uninit(); in clone()
75 impl<T> Drop for WeakPtr<T> implementation
85 impl<T> Debug for WeakPtr<T> implementation
Dshared_ptr.rs4 use crate::weak_ptr::{WeakPtr, WeakPtrTarget};
72 pub fn downgrade(self: &SharedPtr<T>) -> WeakPtr<T> in downgrade()
77 let mut weak_ptr = MaybeUninit::<WeakPtr<T>>::uninit(); in downgrade()
/third_party/node/deps/v8/third_party/inspector_protocol/crdtp/
Ddispatch.h178 class WeakPtr {
180 explicit WeakPtr(DomainDispatcher*);
181 ~WeakPtr();
196 Callback(std::unique_ptr<WeakPtr> backend_impl,
206 std::unique_ptr<WeakPtr> backend_impl_;
245 std::unique_ptr<WeakPtr> weakPtr();
249 std::unordered_set<WeakPtr*> weak_ptrs_;
Ddispatch.cc413 DomainDispatcher::WeakPtr::WeakPtr(DomainDispatcher* dispatcher) in WeakPtr() function in v8_crdtp::DomainDispatcher::WeakPtr
416 DomainDispatcher::WeakPtr::~WeakPtr() { in ~WeakPtr()
428 std::unique_ptr<DomainDispatcher::WeakPtr> backend_impl, in Callback()
513 std::unique_ptr<DomainDispatcher::WeakPtr> DomainDispatcher::weakPtr() { in weakPtr()
514 auto weak = std::make_unique<DomainDispatcher::WeakPtr>(this); in weakPtr()
/third_party/node/tools/inspector_protocol/lib/
DDispatcherBase_h.template18 class WeakPtr;
58 class {{config.lib.export_macro}} WeakPtr {
60 explicit WeakPtr(DispatcherBase*);
61 ~WeakPtr();
71 …Callback(std::unique_ptr<WeakPtr> backendImpl, int callId, const String& method, const ProtocolMes…
80 std::unique_ptr<WeakPtr> m_backendImpl;
99 std::unique_ptr<WeakPtr> weakPtr();
103 std::unordered_set<WeakPtr*> m_weakPtrs;
DDispatcherBase_cpp.template65 DispatcherBase::WeakPtr::WeakPtr(DispatcherBase* dispatcher) : m_dispatcher(dispatcher) { }
67 DispatcherBase::WeakPtr::~WeakPtr()
73 DispatcherBase::Callback::Callback(std::unique_ptr<DispatcherBase::WeakPtr> backendImpl, int callId…
211 std::unique_ptr<DispatcherBase::WeakPtr> DispatcherBase::weakPtr()
213 std::unique_ptr<DispatcherBase::WeakPtr> weak(new DispatcherBase::WeakPtr(this));
/third_party/rust/crates/cxx/syntax/
Dinstantiate.rs12 WeakPtr(NamedImplKey<'a>), enumerator
43 } else if let Type::WeakPtr(ty) = self { in impl_key()
45 return Some(ImplKey::WeakPtr(NamedImplKey::new(ty, ident))); in impl_key()
Dimpls.rs50 Type::WeakPtr(t) => t.hash(state), in hash()
73 (Type::WeakPtr(lhs), Type::WeakPtr(rhs)) => lhs == rhs, in eq()
Dimproper.rs31 Type::UniquePtr(_) | Type::SharedPtr(_) | Type::WeakPtr(_) | Type::CxxVector(_) => { in determine_improper_ctype()
Dvisit.rs18 | Type::WeakPtr(ty) in visit_type()
Dpod.rs29 | Type::WeakPtr(_) in is_guaranteed_pod()
Dcheck.rs52 Type::WeakPtr(ptr) => check_type_weak_ptr(cx, ptr), in do_typecheck()
521 | Type::WeakPtr(ty) in check_api_impl()
649 | Type::WeakPtr(_) in is_unsized()
723 Type::WeakPtr(_) => "weak_ptr".to_owned(), in describe()
/third_party/cef/libcef/browser/native/
Dfile_dialog_runner_mac.h27 base::WeakPtr<CefFileDialogRunnerMac> weak_this,
32 base::WeakPtr<CefFileDialogRunnerMac> weak_this,
/third_party/cef/libcef/browser/
Ddownload_manager_delegate.cc46 CefBeforeDownloadCallbackImpl(const base::WeakPtr<DownloadManager>& manager, in CefBeforeDownloadCallbackImpl()
81 static void GenerateFilename(base::WeakPtr<DownloadManager> manager, in GenerateFilename()
117 static void ChooseDownloadPath(base::WeakPtr<DownloadManager> manager, in ChooseDownloadPath()
185 base::WeakPtr<DownloadManager> manager_;
197 const base::WeakPtr<DownloadManager>& manager, in CefDownloadItemCallbackImpl()
256 base::WeakPtr<DownloadManager> manager_;
/third_party/cef/libcef/browser/net_service/
Dlogin_delegate.cc22 explicit AuthCallbackImpl(base::WeakPtr<LoginDelegate> delegate) in AuthCallbackImpl()
65 base::WeakPtr<LoginDelegate> delegate_;
/third_party/cef/libcef/browser/devtools/
Ddevtools_manager.cc40 base::WeakPtr<CefDevToolsController> controller) { in Initialize()
92 base::WeakPtr<CefDevToolsController> controller_;
Ddevtools_controller.h60 base::WeakPtr<CefDevToolsController> GetWeakPtr() { in GetWeakPtr()
/third_party/cef/libcef/browser/osr/
Dbrowser_platform_delegate_osr.h121 base::WeakPtr<content::RenderWidgetHostImpl> current_rwh_for_drag_;
130 base::WeakPtr<content::RenderWidgetHostImpl> drag_start_rwh_;
/third_party/cef/libcef/browser/extensions/
Dextension_system.cc90 void LoadExtensionOnUIThread(base::WeakPtr<CefExtensionSystem> context, in LoadExtensionOnUIThread()
109 void LoadExtensionWithManifest(base::WeakPtr<CefExtensionSystem> context, in LoadExtensionWithManifest()
129 void LoadExtensionFromDisk(base::WeakPtr<CefExtensionSystem> context, in LoadExtensionFromDisk()
/third_party/cef/patch/patches/
Dservices_network_2718.patch14 // WeakPtr is not strictly necessary here due to OnRequestCancelled.
/third_party/cef/libcef_dll/wrapper/
Dcef_resource_manager.cc226 static void LoadOnFileThread(base::WeakPtr<ArchiveProvider> ptr, in LoadOnFileThread()
408 base::WeakPtr<CefResourceManager> manager = state->manager_; in ContinueOnIOThread()
418 base::WeakPtr<CefResourceManager> manager = state->manager_; in StopOnIOThread()

12