Lines Matching refs:fPtr
219 constexpr sk_sp() : fPtr(nullptr) {} in sk_sp()
220 constexpr sk_sp(std::nullptr_t) : fPtr(nullptr) {} in sk_sp()
226 sk_sp(const sk_sp<T>& that) : fPtr(SkSafeRef(that.get())) {} in sk_sp()
229 sk_sp(const sk_sp<U>& that) : fPtr(SkSafeRef(that.get())) {} in sk_sp()
236 sk_sp(sk_sp<T>&& that) : fPtr(that.release()) {} in sk_sp()
239 sk_sp(sk_sp<U>&& that) : fPtr(that.release()) {} in sk_sp()
245 explicit sk_sp(T* obj) : fPtr(obj) {} in sk_sp()
251 SkSafeUnref(fPtr); in ~sk_sp()
252 SkDEBUGCODE(fPtr = nullptr); in ~sk_sp()
298 T* get() const { return fPtr; } in get()
299 T* operator->() const { return fPtr; }
309 T* oldPtr = fPtr;
310 fPtr = ptr;
320 T* ptr = fPtr; in release()
321 fPtr = nullptr; in release()
327 swap(fPtr, that.fPtr); in swap()
331 T* fPtr;