HomeSort by relevance Sort by last modified time
    Searched defs:RefPtr (Results 1 - 9 of 9) sorted by null

  /external/chromium_org/skia/ext/
refptr.h 17 // skia::RefPtr<SkShader> shader = skia::AdoptRef(SkGradientShader::Create());
21 // pass around the skia::RefPtr instead of the raw pointer. An example method
23 // void AMethodThatSavesAShader(const skia::RefPtr<SkShader>& shader) {
26 // skia::RefPtr<SkShader> member_refptr_;
28 // When returning a ref-counted pointer, also return the skia::RefPtr instead.
30 // skia::RefPtr<SkShader> MakeAShader() {
38 // skia::RefPtr<SkShader> shader = skia::SharePtr(paint.getShader());
41 // AdoptRef() the raw pointer immediately into a skia::RefPtr and always work
42 // with skia::RefPtr instances instead, the ref-counting will be taken care of
45 class RefPtr {
    [all...]
  /external/chromium_org/third_party/WebKit/Source/wtf/
RefPtr.h 21 // RefPtr and PassRefPtr are documented at http://webkit.org/coding/RefPtr.html
35 template<typename T> class RefPtr {
36 WTF_DISALLOW_CONSTRUCTION_FROM_ZERO(RefPtr);
37 WTF_DISALLOW_ZERO_ASSIGNMENT(RefPtr);
39 ALWAYS_INLINE RefPtr() : m_ptr(0) { }
40 ALWAYS_INLINE RefPtr(std::nullptr_t) : m_ptr(0) { }
41 ALWAYS_INLINE RefPtr(T* ptr) : m_ptr(ptr) { refIfNotNull(ptr); }
42 template<typename U> RefPtr(const RawPtr<U>& ptr, EnsurePtrConvertibleArgDecl(U, T)) : m_ptr(ptr.get()) { refIfNotNull(m_ptr); }
43 ALWAYS_INLINE explicit RefPtr(T& ref) : m_ptr(&ref) { m_ptr->ref();
    [all...]
WeakPtr.h 31 #include "wtf/RefPtr.h"
100 typedef RefPtr<WeakReference<T> > (WeakPtr::*UnspecifiedBoolType);
104 RefPtr<WeakReference<T> > m_ref;
144 RefPtr<WeakReference<T> > m_ref;
  /external/clang/test/CodeGenCXX/
vtable-available-externally.cpp 73 // PR9114, test that we don't try to instantiate RefPtr<Node>.
76 template <class T> struct RefPtr {
78 ~RefPtr() {
91 RefPtr<Node> m;
95 RefPtr<B> b;
  /external/clang/test/SemaTemplate/
instantiate-default-assignment-operator.cpp 3 template<typename T> struct RefPtr {
4 RefPtr& operator=(const RefPtr&) { int a[sizeof(T) ? -1 : -1];} // expected-error 2 {{array with a negative size}}
5 RefPtr& operator=(const PassRefPtr<T>&);
8 struct A { RefPtr<int> a; }; // expected-note {{instantiation of member function 'RefPtr<int>::operator=' requested here}}
9 struct B : RefPtr<float> { }; // expected-note {{in instantiation of member function 'RefPtr<float>::operator=' requested here}}
  /external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
p12.cpp 15 template<typename> struct RefPtr { };
19 template<typename T> struct PtrHash<RefPtr<T> > : PtrHash<T*> {
  /external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.ref/
p5.cpp 47 struct RefPtr {
  /external/chromium_org/tools/clang/blink_gc_plugin/tests/heap/
stubs.h 28 template<typename T> class RefPtr {
30 ~RefPtr() { }
  /external/chromium_org/tools/clang/blink_gc_plugin/
Edge.h 17 class RefPtr;
29 virtual void VisitRefPtr(RefPtr*) {}
43 virtual void VisitRefPtr(RefPtr*) override;
60 virtual void AtRefPtr(RefPtr*);
140 class RefPtr : public PtrEdge {
142 explicit RefPtr(Edge* ptr) : PtrEdge(ptr) { }

Completed in 219 milliseconds