Lines Matching refs:fPtr
35 constexpr gr_sp() : fPtr(nullptr) {} in gr_sp()
36 constexpr gr_sp(std::nullptr_t) : fPtr(nullptr) {} in gr_sp()
42 gr_sp(const gr_sp<T, Ref, Unref>& that) : fPtr(SafeRef(that.get())) {} in gr_sp()
45 gr_sp(const gr_sp<U, Ref, Unref>& that) : fPtr(SafeRef(that.get())) {} in gr_sp()
47 gr_sp(const sk_sp<T>& that) : fPtr(SafeRef(that.get())) {} in gr_sp()
55 gr_sp(gr_sp<T, Ref, Unref>&& that) : fPtr(that.release()) {} in gr_sp()
61 gr_sp(sk_sp<T>&& that) : fPtr(SafeRef(that.get())) {} in gr_sp()
67 explicit gr_sp(T* obj) : fPtr(obj) {} in gr_sp()
73 SafeUnref(fPtr); in ~gr_sp()
74 SkDEBUGCODE(fPtr = nullptr); in ~gr_sp()
130 T* get() const { return fPtr; } in get()
131 T* operator->() const { return fPtr; }
138 T* oldPtr = fPtr;
139 fPtr = ptr;
150 T* ptr = fPtr; in release()
151 fPtr = nullptr; in release()
155 T* fPtr; variable