Searched refs:gr_sp (Results 1 – 1 of 1) sorted by relevance
24 class gr_sp {42 constexpr gr_sp() : fPtr(nullptr) {} in gr_sp() function43 constexpr gr_sp(std::nullptr_t) : fPtr(nullptr) {} in gr_sp() function49 gr_sp(const gr_sp& that) : fPtr(SafeRef(that.get())) {} in gr_sp() function54 gr_sp(const gr_sp<U, URefBase, UUnrefBase, Ref, Unref>& that) : fPtr(SafeRef(that.get())) {} in gr_sp() function56 gr_sp(const sk_sp<T>& that) : fPtr(SafeRef(that.get())) {} in gr_sp() function64 gr_sp(gr_sp&& that) : fPtr(that.release()) {} in gr_sp() function70 gr_sp(sk_sp<T>&& that) : fPtr(SafeRef(that.get())) {} in gr_sp() function76 explicit gr_sp(T* obj) : fPtr(obj) {} in gr_sp() function81 ~gr_sp() { in ~gr_sp()[all …]