Home
last modified time | relevance | path

Searched refs:AdoptRef (Results 1 – 10 of 10) sorted by relevance

/third_party/flutter/engine/flutter/fml/platform/win/
Dnative_library_win.cc36 auto library = fml::AdoptRef(new NativeLibrary(path)); in Create()
44 fml::AdoptRef(new NativeLibrary(handle, close_handle_when_done)); in CreateWithHandle()
49 return fml::AdoptRef(new NativeLibrary(::GetModuleHandle(nullptr), false)); in CreateForCurrentProcess()
/third_party/flutter/engine/flutter/fml/platform/posix/
Dnative_library_posix.cc44 auto library = fml::AdoptRef(new NativeLibrary(path)); in Create()
52 fml::AdoptRef(new NativeLibrary(handle, close_handle_when_done)); in CreateWithHandle()
57 return fml::AdoptRef(new NativeLibrary(RTLD_DEFAULT, false)); in CreateForCurrentProcess()
/third_party/flutter/engine/flutter/fml/memory/
Dref_ptr_internal.h18 RefPtr<T> AdoptRef(T* ptr);
31 return AdoptRef<T>(new T(std::forward<Args>(args)...)); in MakeRefCounted()
Dref_ptr.h189 friend RefPtr<T> AdoptRef<T>(T*);
204 inline RefPtr<T> AdoptRef(T* ptr) { in AdoptRef() function
Dref_counted.h112 friend RefPtr<U> AdoptRef(U*);
/third_party/gn/src/base/memory/
Dscoped_refptr.h28 scoped_refptr<T> AdoptRef(T* t);
61 scoped_refptr<T> AdoptRef(T* obj) { in AdoptRef() function
81 return AdoptRef(obj); in AdoptRefIfNeeded()
254 friend scoped_refptr<U> base::AdoptRef(U*);
Dref_counted.h63 friend scoped_refptr<U> base::AdoptRef(U*);
105 friend scoped_refptr<U> base::AdoptRef(U*);
/third_party/cef/include/base/
Dcef_scoped_refptr.h65 scoped_refptr<T> AdoptRef(T* t);
104 scoped_refptr<T> AdoptRef(T* obj) { in AdoptRef() function
124 return AdoptRef(obj); in AdoptRefIfNeeded()
318 friend scoped_refptr<U> base::AdoptRef(U*);
Dcef_ref_counted.h143 friend scoped_refptr<U> base::AdoptRef(U*);
215 friend scoped_refptr<U> base::AdoptRef(U*);
/third_party/cef/include/base/internal/
Dcef_callback_internal.h201 : bind_state_(AdoptRef(bind_state)) {} in CallbackBase()