Lines Matching refs:template
131 template <typename T> static inline T* SkRef(T* obj) {
139 template <typename T> static inline T* SkSafeRef(T* obj) {
148 template <typename T> static inline void SkSafeUnref(T* obj) {
158 template <typename Derived>
215 template <typename T> class sk_sp {
227 template <typename U,
237 template <typename U,
268 template <typename U,
284 template <typename U,
334 template <typename T> inline void swap(sk_sp<T>& a, sk_sp<T>& b) /*noexcept*/ {
338 template <typename T, typename U> inline bool operator==(const sk_sp<T>& a, const sk_sp<U>& b) {
341 template <typename T> inline bool operator==(const sk_sp<T>& a, std::nullptr_t) /*noexcept*/ {
344 template <typename T> inline bool operator==(std::nullptr_t, const sk_sp<T>& b) /*noexcept*/ {
348 template <typename T, typename U> inline bool operator!=(const sk_sp<T>& a, const sk_sp<U>& b) {
351 template <typename T> inline bool operator!=(const sk_sp<T>& a, std::nullptr_t) /*noexcept*/ {
354 template <typename T> inline bool operator!=(std::nullptr_t, const sk_sp<T>& b) /*noexcept*/ {
358 template <typename C, typename CT, typename T>
363 template <typename T, typename... Args>
374 template <typename T> sk_sp<T> sk_ref_sp(T* obj) {
378 template <typename T> sk_sp<T> sk_ref_sp(const T* obj) {