Searched refs:AdoptRef (Results 1 – 10 of 10) sorted by relevance
36 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()
44 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()
18 RefPtr<T> AdoptRef(T* ptr);31 return AdoptRef<T>(new T(std::forward<Args>(args)...)); in MakeRefCounted()
189 friend RefPtr<T> AdoptRef<T>(T*);204 inline RefPtr<T> AdoptRef(T* ptr) { in AdoptRef() function
112 friend RefPtr<U> AdoptRef(U*);
28 scoped_refptr<T> AdoptRef(T* t);61 scoped_refptr<T> AdoptRef(T* obj) { in AdoptRef() function81 return AdoptRef(obj); in AdoptRefIfNeeded()254 friend scoped_refptr<U> base::AdoptRef(U*);
63 friend scoped_refptr<U> base::AdoptRef(U*);105 friend scoped_refptr<U> base::AdoptRef(U*);
65 scoped_refptr<T> AdoptRef(T* t);104 scoped_refptr<T> AdoptRef(T* obj) { in AdoptRef() function124 return AdoptRef(obj); in AdoptRefIfNeeded()318 friend scoped_refptr<U> base::AdoptRef(U*);
143 friend scoped_refptr<U> base::AdoptRef(U*);215 friend scoped_refptr<U> base::AdoptRef(U*);
201 : bind_state_(AdoptRef(bind_state)) {} in CallbackBase()