Searched refs:AsPtr (Results 1 – 2 of 2) sorted by relevance
46 fPaint = AsPtr(draw->paint); in SK_WHEN()64 template <typename T> static T* AsPtr(SkRecords::Optional<T>& x) { return x; } in AsPtr() function65 template <typename T> static T* AsPtr(T& x) { return &x; } in AsPtr() function
55 static const SkPaint* AsPtr(const SkPaint& p) { return &p; } in AsPtr() function56 static const SkPaint* AsPtr(const SkRecords::Optional<SkPaint>& p) { return p; } in AsPtr() function93 const SkPaint* paint = AsPtr(r.paint); in SK_WHEN()183 this->checkPaint(AsPtr(op.paint)); in SK_WHEN()