Lines Matching refs:fPtr
208 constexpr sk_sp() : fPtr(nullptr) {} in sk_sp()
209 constexpr sk_sp(std::nullptr_t) : fPtr(nullptr) {} in sk_sp()
215 sk_sp(const sk_sp<T>& that) : fPtr(SkSafeRef(that.get())) {} in sk_sp()
218 sk_sp(const sk_sp<U>& that) : fPtr(SkSafeRef(that.get())) {} in sk_sp()
225 sk_sp(sk_sp<T>&& that) : fPtr(that.release()) {} in sk_sp()
228 sk_sp(sk_sp<U>&& that) : fPtr(that.release()) {} in sk_sp()
234 explicit sk_sp(T* obj) : fPtr(obj) {} in sk_sp()
240 SkSafeUnref(fPtr); in ~sk_sp()
241 SkDEBUGCODE(fPtr = nullptr); in ~sk_sp()
287 T* get() const { return fPtr; } in get()
288 T* operator->() const { return fPtr; }
298 T* oldPtr = fPtr;
299 fPtr = ptr;
309 T* ptr = fPtr; in release()
310 fPtr = nullptr; in release()
316 swap(fPtr, that.fPtr); in swap()
320 T* fPtr;