Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkRecordPattern.h46 fPaint = AsPtr(draw->paint); in SK_WHEN()
64 template <typename T> static T* AsPtr(SkRecords::Optional<T>& x) { return x; } in AsPtr() function
65 template <typename T> static T* AsPtr(T& x) { return &x; } in AsPtr() function
DSkPicture.cpp55 static const SkPaint* AsPtr(const SkPaint& p) { return &p; } in AsPtr() function
56 static const SkPaint* AsPtr(const SkRecords::Optional<SkPaint>& p) { return p; } in AsPtr() function
93 const SkPaint* paint = AsPtr(r.paint); in SK_WHEN()
183 this->checkPaint(AsPtr(op.paint)); in SK_WHEN()