Lines Matching refs:sk_cfp
33 template <typename T> class sk_cfp {
37 constexpr sk_cfp() {} in sk_cfp() function
38 constexpr sk_cfp(std::nullptr_t) {} in sk_cfp() function
44 sk_cfp(const sk_cfp<T>& that) : fObject(SkCFSafeRetain(that.get())) {} in sk_cfp() function
51 sk_cfp(sk_cfp<T>&& that) : fObject(that.release()) {} in sk_cfp() function
57 explicit sk_cfp(T obj) { in sk_cfp() function
64 ~sk_cfp() { in ~sk_cfp()
69 sk_cfp<T>& operator=(std::nullptr_t) { this->reset(); return *this; }
76 sk_cfp<T>& operator=(const sk_cfp<T>& that) {
88 sk_cfp<T>& operator=(sk_cfp<T>&& that) {
139 template <typename T> inline bool operator==(const sk_cfp<T>& a,
140 const sk_cfp<T>& b) {
143 template <typename T> inline bool operator==(const sk_cfp<T>& a,
148 const sk_cfp<T>& b) {
152 template <typename T> inline bool operator!=(const sk_cfp<T>& a,
153 const sk_cfp<T>& b) {
156 template <typename T> inline bool operator!=(const sk_cfp<T>& a,
161 const sk_cfp<T>& b) {
171 template <typename T> sk_cfp<T> sk_ret_cfp(T obj) { in sk_ret_cfp()
172 return sk_cfp<T>(SkCFSafeRetain(obj)); in sk_ret_cfp()
177 template <typename T> using sk_cf_obj = sk_cfp<T>;