Searched refs: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() function52 return PaintHasBitmap(AsPtr(op.paint)); in SK_WHEN()75 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() function130 this->checkPaint(AsPtr(op.paint)); in operator()135 this->checkPaint(AsPtr(op.paint)); in SK_WHEN()
53 fPaint = AsPtr(draw->paint); in operator()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