Searched refs:scoped_refptr (Results 1 – 15 of 15) sorted by relevance
18 class scoped_refptr; variable28 scoped_refptr<T> AdoptRef(T* t);61 scoped_refptr<T> AdoptRef(T* obj) { in AdoptRef()69 return scoped_refptr<T>(obj, subtle::kAdoptRefTag); in AdoptRef()75 scoped_refptr<T> AdoptRefIfNeeded(T* obj, StartRefCountFromZeroTag) { in AdoptRefIfNeeded()76 return scoped_refptr<T>(obj); in AdoptRefIfNeeded()80 scoped_refptr<T> AdoptRefIfNeeded(T* obj, StartRefCountFromOneTag) { in AdoptRefIfNeeded()89 scoped_refptr<T> MakeRefCounted(Args&&... args) { in MakeRefCounted()97 scoped_refptr<T> WrapRefCounted(T* t) { in WrapRefCounted()98 return scoped_refptr<T>(t); in WrapRefCounted()[all …]
110 explicit WeakReference(const scoped_refptr<Flag>& flag);121 scoped_refptr<const Flag> flag_;136 mutable scoped_refptr<WeakReference::Flag> flag_;
63 friend scoped_refptr<U> base::AdoptRef(U*);105 friend scoped_refptr<U> base::AdoptRef(U*);
24 WeakReference::WeakReference(const scoped_refptr<Flag>& flag) : flag_(flag) {} in WeakReference()
65 scoped_refptr<Template> templ(new Template(setup.scope(), &templ_definition)); in TEST()67 scoped_refptr<Template> private_templ( in TEST()87 scoped_refptr<Template> new_templ( in TEST()119 scoped_refptr<Template> new_templ( in TEST()151 scoped_refptr<Template> new_templ( in TEST()
188 scoped_refptr<LoaderImpl> loader(new LoaderImpl(&build_settings_)); in TEST_F()252 scoped_refptr<LoaderImpl> loader(new LoaderImpl(&build_settings_)); in TEST_F()301 scoped_refptr<LoaderImpl> loader(new LoaderImpl(&build_settings_)); in TEST_F()345 scoped_refptr<LoaderImpl> loader(new LoaderImpl(&build_settings_)); in TEST_F()
115 scoped_refptr<InputFileManager> input_file_manager_;
172 scoped_refptr<LoaderImpl> loader_;
365 using TemplateMap = std::map<std::string, scoped_refptr<const Template>>;
272 scoped_refptr<HeaderChecker> header_checker(new HeaderChecker( in CheckPublicHeaders()
104 scoped_refptr<MockLoader> loader_;
57 scoped_refptr<HeaderChecker> CreateChecker() { in CreateChecker()
91 scoped_refptr<MockLoader> loader_;
122 scoped_refptr<base::RefCountedMemory> bytes() const { return bytes_; }127 static Binary fromRefCounted(scoped_refptr<base::RefCountedMemory> memory);133 explicit Binary(scoped_refptr<base::RefCountedMemory> bytes);134 scoped_refptr<base::RefCountedMemory> bytes_;
197 Binary::Binary(scoped_refptr<base::RefCountedMemory> bytes) : bytes_(bytes) {}220 Binary Binary::fromRefCounted(scoped_refptr<base::RefCountedMemory> memory) {236 return Binary(scoped_refptr<base::RefCountedBytes>(