Searched defs:RefPtr (Results 1 - 10 of 10) sorted by last modified time

/external/clang/test/CXX/dcl.dcl/basic.namespace/namespace.udecl/
H A Dp12.cpp15 template<typename> struct RefPtr { }; struct in namespace:test0
19 template<typename T> struct PtrHash<RefPtr<T> > : PtrHash<T*> {
/external/clang/test/CXX/dcl.decl/dcl.meaning/dcl.ref/
H A Dp5.cpp47 struct RefPtr { struct
/external/clang/test/CodeGenCXX/
H A Dvtable-available-externally.cpp73 // PR9114, test that we don't try to instantiate RefPtr<Node>.
76 template <class T> struct RefPtr { struct in namespace:Test4
78 ~RefPtr() {
91 RefPtr<Node> m;
95 RefPtr<B> b;
/external/clang/test/SemaTemplate/
H A Dinstantiate-default-assignment-operator.cpp3 template<typename T> struct RefPtr { struct
4 RefPtr& operator=(const RefPtr&) { int a[sizeof(T) ? -1 : -1];} // expected-error 2 {{array with a negative size}} argument
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/chromium_org/third_party/WebKit/Source/platform/heap/
H A DVisitor.h43 #include "wtf/RefPtr.h"
320 template<typename T> void trace(const RefPtr<T>&) { } argument
/external/chromium_org/third_party/WebKit/Source/wtf/
H A DRefPtr.h21 // RefPtr and PassRefPtr are documented at http://webkit.org/coding/RefPtr.html
35 template<typename T> class RefPtr { class in namespace:WTF
36 WTF_DISALLOW_CONSTRUCTION_FROM_ZERO(RefPtr);
37 WTF_DISALLOW_ZERO_ASSIGNMENT(RefPtr);
39 ALWAYS_INLINE RefPtr() : m_ptr(0) { } function in class:WTF::RefPtr
40 ALWAYS_INLINE RefPtr(std::nullptr_t) : m_ptr(0) { } function in class:WTF::RefPtr
41 ALWAYS_INLINE RefPtr(T* ptr) : m_ptr(ptr) { refIfNotNull(ptr); } function in class:WTF::RefPtr
42 template<typename U> RefPtr(const RawPtr<U>& ptr, EnsurePtrConvertibleArgDecl(U, T)) : m_ptr(ptr.get()) { refIfNotNull(m_ptr); } function in class:WTF::RefPtr
43 ALWAYS_INLINE explicit RefPtr( function in class:WTF::RefPtr
44 ALWAYS_INLINE RefPtr(const RefPtr& o) : m_ptr(o.m_ptr) { refIfNotNull(m_ptr); } function in class:WTF::RefPtr
45 template<typename U> RefPtr(const RefPtr<U>& o, EnsurePtrConvertibleArgDecl(U, T)) : m_ptr(o.get()) { refIfNotNull(m_ptr); } function in class:WTF::RefPtr
48 RefPtr(RefPtr&& o) : m_ptr(o.m_ptr) { o.m_ptr = 0; } function in class:WTF::RefPtr
56 RefPtr(HashTableDeletedValueType) : m_ptr(hashTableDeletedValue()) { } function in class:WTF::RefPtr
92 template<typename T> template<typename U> inline RefPtr<T>::RefPtr(const PassRefPtr<U>& o, EnsurePtrConvertibleArgDefn(U, T)) function in class:WTF::RefPtr
[all...]
H A DWeakPtr.h31 #include "wtf/RefPtr.h"
100 typedef RefPtr<WeakReference<T> > (WeakPtr::*UnspecifiedBoolType); typedef in class:WTF::WeakPtr
104 RefPtr<WeakReference<T> > m_ref;
144 RefPtr<WeakReference<T> > m_ref;
/external/chromium_org/tools/clang/blink_gc_plugin/
H A DEdge.h17 class RefPtr;
29 virtual void VisitRefPtr(RefPtr*) {}
43 virtual void VisitRefPtr(RefPtr*) override;
60 virtual void AtRefPtr(RefPtr*);
140 class RefPtr : public PtrEdge { class in inherits:PtrEdge
142 explicit RefPtr(Edge* ptr) : PtrEdge(ptr) { } function in class:RefPtr
/external/chromium_org/tools/clang/blink_gc_plugin/tests/heap/
H A Dstubs.h28 template<typename T> class RefPtr { class in namespace:WTF
30 ~RefPtr() { }
/external/chromium_org/skia/ext/
H A Drefptr.h17 // 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 { class in namespace:skia
47 RefPtr() : ptr_(NULL) {} function in class:skia::RefPtr
49 RefPtr(const RefPtr& other) function in class:skia::RefPtr
55 RefPtr(const RefPtr<U>& other) function in class:skia::RefPtr
98 explicit RefPtr(T* ptr) : ptr_(ptr) {} function in class:skia::RefPtr
[all...]

Completed in 5493 milliseconds