Home
last modified time | relevance | path

Searched refs:AsPtr (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkPictureCommon.h23 static const SkPaint* AsPtr(const SkPaint& p) { return &p; } in AsPtr() function
24 static const SkPaint* AsPtr(const SkRecords::Optional<SkPaint>& p) { return p; } in AsPtr() function
52 return PaintHasBitmap(AsPtr(op.paint)); in SK_WHEN()
75 static const SkPaint* AsPtr(const SkPaint& p) { return &p; } in AsPtr() function
76 static const SkPaint* AsPtr(const SkRecords::Optional<SkPaint>& p) { return p; } in AsPtr() function
130 this->checkPaint(AsPtr(op.paint)); in operator()
135 this->checkPaint(AsPtr(op.paint)); in SK_WHEN()
DSkRecordPattern.h53 fPaint = AsPtr(draw->paint); in operator()
71 template <typename T> static T* AsPtr(SkRecords::Optional<T>& x) { return x; } in AsPtr() function
72 template <typename T> static T* AsPtr(T& x) { return &x; } in AsPtr() function