Lines Matching refs:template
24 template <typename T> static inline T SkCFSafeRetain(T obj) {
31 template <typename T> static inline void SkCFSafeRelease(T obj) {
37 template <typename T> class sk_cfp {
143 template <typename T> inline bool operator==(const sk_cfp<T>& a,
147 template <typename T> inline bool operator==(const sk_cfp<T>& a,
151 template <typename T> inline bool operator==(std::nullptr_t,
156 template <typename T> inline bool operator!=(const sk_cfp<T>& a,
160 template <typename T> inline bool operator!=(const sk_cfp<T>& a,
164 template <typename T> inline bool operator!=(std::nullptr_t,
175 template <typename T> sk_cfp<T> sk_ret_cfp(T obj) {
181 template <typename T> using sk_cf_obj = sk_cfp<T>;