OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:AdoptRef
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/skia/ext/
refptr.h
17
// skia::RefPtr<SkShader> shader = skia::
AdoptRef
(SkGradientShader::Create());
31
// return skia::
AdoptRef
(SkGradientShader::Create());
41
//
AdoptRef
() the raw pointer immediately into a skia::RefPtr and always work
101
friend RefPtr<U>
AdoptRef
(U* ptr);
109
RefPtr<T>
AdoptRef
(T* ptr) { return RefPtr<T>(ptr); }
/external/chromium_org/third_party/WebKit/Source/wtf/
PassRefPtr.h
32
template<typename T> PassRefPtr<T>
adoptRef
(T*);
87
friend PassRefPtr
adoptRef
<T>(T*);
90
enum AdoptRefTag {
AdoptRef
};
162
template<typename T> inline PassRefPtr<T>
adoptRef
(T* p)
165
return PassRefPtr<T>(p, PassRefPtr<T>::
AdoptRef
);
170
return
adoptRef
(static_cast<T*>(p.leakRef()));
181
using WTF::
adoptRef
;
Completed in 823 milliseconds