Home
last modified time | relevance | path

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

/external/libchrome/base/memory/
Dscoped_refptr.h29 scoped_refptr<T> AdoptRef(T* t);
62 scoped_refptr<T> AdoptRef(T* obj) { in AdoptRef() function
82 return AdoptRef(obj); in AdoptRefIfNeeded()
259 friend scoped_refptr<U> base::AdoptRef(U*);
Dref_counted.h114 friend scoped_refptr<U> base::AdoptRef(U*);
180 friend scoped_refptr<U> base::AdoptRef(U*);
Dref_counted_unittest.cc595 base::AdoptRef(new InitialRefCountIsOne); in TEST()
664 EXPECT_DCHECK_DEATH(base::AdoptRef(ptr)); in TEST()
670 EXPECT_DCHECK_DEATH(base::AdoptRef(obj.get())); in TEST()
/external/libchrome/base/
Dcallback_internal.h145 : bind_state_(AdoptRef(bind_state)) {} in CallbackBase()