Lines Matching refs:sk_cfp
37 template <typename T> class sk_cfp {
41 constexpr sk_cfp() {} in sk_cfp() function
42 constexpr sk_cfp(std::nullptr_t) {} in sk_cfp() function
48 sk_cfp(const sk_cfp<T>& that) : fObject(SkCFSafeRetain(that.get())) {} in sk_cfp() function
55 sk_cfp(sk_cfp<T>&& that) : fObject(that.release()) {} in sk_cfp() function
61 explicit sk_cfp(T obj) { in sk_cfp() function
68 ~sk_cfp() { in ~sk_cfp()
73 sk_cfp<T>& operator=(std::nullptr_t) { this->reset(); return *this; }
80 sk_cfp<T>& operator=(const sk_cfp<T>& that) {
92 sk_cfp<T>& operator=(sk_cfp<T>&& that) {
143 template <typename T> inline bool operator==(const sk_cfp<T>& a,
144 const sk_cfp<T>& b) {
147 template <typename T> inline bool operator==(const sk_cfp<T>& a,
152 const sk_cfp<T>& b) {
156 template <typename T> inline bool operator!=(const sk_cfp<T>& a,
157 const sk_cfp<T>& b) {
160 template <typename T> inline bool operator!=(const sk_cfp<T>& a,
165 const sk_cfp<T>& b) {
175 template <typename T> sk_cfp<T> sk_ret_cfp(T obj) { in sk_ret_cfp()
176 return sk_cfp<T>(SkCFSafeRetain(obj)); in sk_ret_cfp()
181 template <typename T> using sk_cf_obj = sk_cfp<T>;