Searched defs:AsPtr (Results 1 – 2 of 2) sorted by relevance
23 static const SkPaint* AsPtr(const SkPaint& p) { return &p; } in AsPtr() function24 static const SkPaint* AsPtr(const SkRecords::Optional<SkPaint>& p) { return p; } in AsPtr() function75 static const SkPaint* AsPtr(const SkPaint& p) { return &p; } in AsPtr() function76 static const SkPaint* AsPtr(const SkRecords::Optional<SkPaint>& p) { return p; } in AsPtr() function
71 template <typename T> static T* AsPtr(SkRecords::Optional<T>& x) { return x; } in AsPtr() function72 template <typename T> static T* AsPtr(T& x) { return &x; } in AsPtr() function