Home | History | Annotate | Download | only in wtf

Lines Matching refs:m_ptr

50         PassOwnPtr() : m_ptr(0) { }
55 PassOwnPtr(const PassOwnPtr& o) : m_ptr(o.leakPtr()) { }
56 template<typename U> PassOwnPtr(const PassOwnPtr<U>& o) : m_ptr(o.leakPtr()) { }
58 ~PassOwnPtr() { deleteOwnedPtr(m_ptr); }
60 PtrType get() const { return m_ptr; }
65 ValueType& operator*() const { ASSERT(m_ptr); return *m_ptr; }
66 PtrType operator->() const { ASSERT(m_ptr); return m_ptr; }
68 bool operator!() const { return !m_ptr; }
72 operator UnspecifiedBoolType() const { return m_ptr ? &PassOwnPtr::m_ptr : 0; }
83 PassOwnPtr(PtrType ptr) : m_ptr(ptr) { }
89 explicit PassOwnPtr(PtrType ptr) : m_ptr(ptr) { }
92 mutable PtrType m_ptr;
97 PtrType ptr = m_ptr;
98 m_ptr = 0;
104 PtrType ptr = m_ptr;
105 m_ptr = 0;
112 PtrType ptr = m_ptr;
113 m_ptr = optr;
114 ASSERT(!ptr || m_ptr != ptr);
123 PtrType ptr = m_ptr;
124 m_ptr = optr.leakPtr();
125 ASSERT(!ptr || m_ptr != ptr);
133 PtrType ptr = m_ptr;
134 m_ptr = optr.leakPtr();
135 ASSERT(!ptr || m_ptr != ptr);