Home
last modified time | relevance | path

Searched refs:SK_WARN_UNUSED_RESULT (Results 1 – 25 of 105) sorted by relevance

12345

/external/skia/src/core/
DSkBlurMask.h18 static bool SK_WARN_UNUSED_RESULT BlurRect(SkScalar sigma, SkMask *dst, const SkRect &src,
22 static bool SK_WARN_UNUSED_RESULT BlurRRect(SkScalar sigma, SkMask *dst, const SkRRect &src,
38 static bool SK_WARN_UNUSED_RESULT BoxBlur(SkMask* dst, const SkMask& src,
44 static bool SK_WARN_UNUSED_RESULT BlurGroundTruth(SkScalar sigma, SkMask* dst,
DSkAutoPixmapStorage.h55 void* SK_WARN_UNUSED_RESULT detachPixels();
61 sk_sp<SkData> SK_WARN_UNUSED_RESULT detachPixelsAsData();
74 bool SK_WARN_UNUSED_RESULT reset(const SkMask& mask) { in reset()
DSkCubicClipper.h27 bool SK_WARN_UNUSED_RESULT clipCubic(const SkPoint src[4], SkPoint dst[4]);
29 static bool SK_WARN_UNUSED_RESULT ChopMonoAtY(const SkPoint pts[4], SkScalar y, SkScalar* t);
DSkColorFilterBase.h26 SK_WARN_UNUSED_RESULT
29 SK_WARN_UNUSED_RESULT
DSkGlyphRunPainter.h106 ScopedBuffers SK_WARN_UNUSED_RESULT ensureBuffers(const SkGlyphRunList& glyphRunList);
107 ScopedBuffers SK_WARN_UNUSED_RESULT ensureBuffers(const SkGlyphRun& glyphRun);
/external/skqp/src/core/
DSkBlurMask.h18 static bool SK_WARN_UNUSED_RESULT BlurRect(SkScalar sigma, SkMask *dst, const SkRect &src,
22 static bool SK_WARN_UNUSED_RESULT BlurRRect(SkScalar sigma, SkMask *dst, const SkRRect &src,
38 static bool SK_WARN_UNUSED_RESULT BoxBlur(SkMask* dst, const SkMask& src,
44 static bool SK_WARN_UNUSED_RESULT BlurGroundTruth(SkScalar sigma, SkMask* dst,
DSkCubicClipper.h27 bool SK_WARN_UNUSED_RESULT clipCubic(const SkPoint src[4], SkPoint dst[4]);
29 static bool SK_WARN_UNUSED_RESULT ChopMonoAtY(const SkPoint pts[4], SkScalar y, SkScalar* t);
DSkAutoPixmapStorage.h52 sk_sp<SkData> SK_WARN_UNUSED_RESULT detachPixelsAsData();
65 bool SK_WARN_UNUSED_RESULT reset(const SkMask& mask) { in reset()
/external/skia/include/core/
DSkMatrix.h69 static SkMatrix SK_WARN_UNUSED_RESULT Scale(SkScalar sx, SkScalar sy) { in Scale()
85 static SkMatrix SK_WARN_UNUSED_RESULT Translate(SkScalar dx, SkScalar dy) { in Translate()
90 static SkMatrix SK_WARN_UNUSED_RESULT Translate(SkVector t) { return Translate(t.x(), t.y()); } in Translate()
91 static SkMatrix SK_WARN_UNUSED_RESULT Translate(SkIVector t) { return Translate(t.x(), t.y()); } in Translate()
98 static SkMatrix SK_WARN_UNUSED_RESULT RotateDeg(SkScalar deg) { in RotateDeg()
103 static SkMatrix SK_WARN_UNUSED_RESULT RotateDeg(SkScalar deg, SkPoint pt) { in RotateDeg()
108 static SkMatrix SK_WARN_UNUSED_RESULT RotateRad(SkScalar rad) { in RotateRad()
118 static SkMatrix SK_WARN_UNUSED_RESULT Skew(SkScalar kx, SkScalar ky) { in Skew()
151 static SkMatrix SK_WARN_UNUSED_RESULT RectToRect(const SkRect& src, const SkRect& dst,
173 static SkMatrix SK_WARN_UNUSED_RESULT MakeAll(SkScalar scaleX, SkScalar skewX, SkScalar transX, in MakeAll()
[all …]
DSkRect.h41 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeEmpty() { in MakeEmpty()
52 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeWH(int32_t w, int32_t h) { in MakeWH()
62 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeSize(const SkISize& size) { in MakeSize()
74 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakePtSize(SkIPoint pt, SkISize size) { in MakePtSize()
87 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeLTRB(int32_t l, int32_t t, in MakeLTRB()
101 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeXYWH(int32_t x, int32_t y, in MakeXYWH()
522 bool SK_WARN_UNUSED_RESULT intersect(const SkIRect& a, const SkIRect& b);
592 static constexpr SkRect SK_WARN_UNUSED_RESULT MakeEmpty() { in MakeEmpty()
606 static constexpr SkRect SK_WARN_UNUSED_RESULT MakeWH(SkScalar w, SkScalar h) { in MakeWH()
620 static SkRect SK_WARN_UNUSED_RESULT MakeIWH(int w, int h) { in MakeIWH()
[all …]
DSkStream.h88 bool SK_WARN_UNUSED_RESULT readS8(int8_t*);
89 bool SK_WARN_UNUSED_RESULT readS16(int16_t*);
90 bool SK_WARN_UNUSED_RESULT readS32(int32_t*);
92 bool SK_WARN_UNUSED_RESULT readU8(uint8_t* i) { return this->readS8((int8_t*)i); } in readU8()
93 bool SK_WARN_UNUSED_RESULT readU16(uint16_t* i) { return this->readS16((int16_t*)i); } in readU16()
94 bool SK_WARN_UNUSED_RESULT readU32(uint32_t* i) { return this->readS32((int32_t*)i); } in readU32()
96 bool SK_WARN_UNUSED_RESULT readBool(bool* b) { in readBool()
102 bool SK_WARN_UNUSED_RESULT readScalar(SkScalar*);
103 bool SK_WARN_UNUSED_RESULT readPackedUInt(size_t*);
DSkContourMeasure.h26 bool SK_WARN_UNUSED_RESULT getPosTan(SkScalar distance, SkPoint* position,
40 bool SK_WARN_UNUSED_RESULT getMatrix(SkScalar distance, SkMatrix* matrix,
49 bool SK_WARN_UNUSED_RESULT getSegment(SkScalar startD, SkScalar stopD, SkPath* dst,
DSkBitmap.h434 bool SK_WARN_UNUSED_RESULT tryAllocPixelsFlags(const SkImageInfo& info, uint32_t flags);
472 bool SK_WARN_UNUSED_RESULT tryAllocPixels(const SkImageInfo& info, size_t rowBytes);
508 bool SK_WARN_UNUSED_RESULT tryAllocPixels(const SkImageInfo& info) { in tryAllocPixels()
547 bool SK_WARN_UNUSED_RESULT tryAllocN32Pixels(int width, int height, bool isOpaque = false);
655 bool SK_WARN_UNUSED_RESULT tryAllocPixels() { in tryAllocPixels()
679 bool SK_WARN_UNUSED_RESULT tryAllocPixels(Allocator* allocator);
DSkPathMeasure.h42 bool SK_WARN_UNUSED_RESULT getPosTan(SkScalar distance, SkPoint* position,
56 bool SK_WARN_UNUSED_RESULT getMatrix(SkScalar distance, SkMatrix* matrix,
DSkTypes.h50 #if !defined(SK_WARN_UNUSED_RESULT)
51 #define SK_WARN_UNUSED_RESULT macro
59 #if !defined(SK_WARN_UNUSED_RESULT)
60 #define SK_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) macro
/external/skqp/include/core/
DSkPreConfig.h51 #if !defined(SK_WARN_UNUSED_RESULT)
52 #define SK_WARN_UNUSED_RESULT macro
60 #if !defined(SK_WARN_UNUSED_RESULT)
61 #define SK_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) macro
DSkRect.h50 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeEmpty() { in MakeEmpty()
61 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeWH(int32_t w, int32_t h) { in MakeWH()
71 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeSize(const SkISize& size) { in MakeSize()
84 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeLTRB(int32_t l, int32_t t, in MakeLTRB()
98 static constexpr SkIRect SK_WARN_UNUSED_RESULT MakeXYWH(int32_t x, int32_t y, in MakeXYWH()
543 bool SK_WARN_UNUSED_RESULT intersectNoEmptyCheck(const SkIRect& a, const SkIRect& b) { in intersectNoEmptyCheck()
567 bool SK_WARN_UNUSED_RESULT intersect(const SkIRect& a, const SkIRect& b) { in intersect()
670 static const SkIRect& SK_WARN_UNUSED_RESULT EmptyIRect() { in EmptyIRect()
696 static constexpr SkRect SK_WARN_UNUSED_RESULT MakeEmpty() { in MakeEmpty()
710 static constexpr SkRect SK_WARN_UNUSED_RESULT MakeWH(SkScalar w, SkScalar h) { in MakeWH()
[all …]
DSkStream.h88 bool SK_WARN_UNUSED_RESULT readS8(int8_t*);
89 bool SK_WARN_UNUSED_RESULT readS16(int16_t*);
90 bool SK_WARN_UNUSED_RESULT readS32(int32_t*);
92 bool SK_WARN_UNUSED_RESULT readU8(uint8_t* i) { return this->readS8((int8_t*)i); } in readU8()
93 bool SK_WARN_UNUSED_RESULT readU16(uint16_t* i) { return this->readS16((int16_t*)i); } in readU16()
94 bool SK_WARN_UNUSED_RESULT readU32(uint32_t* i) { return this->readS32((int32_t*)i); } in readU32()
96 bool SK_WARN_UNUSED_RESULT readBool(bool* b) { in readBool()
102 bool SK_WARN_UNUSED_RESULT readScalar(SkScalar*);
103 bool SK_WARN_UNUSED_RESULT readPackedUInt(size_t*);
DSkBitmap.h454 bool SK_WARN_UNUSED_RESULT tryAllocPixelsFlags(const SkImageInfo& info, uint32_t flags);
496 bool SK_WARN_UNUSED_RESULT tryAllocPixels(const SkImageInfo& info, size_t rowBytes);
532 bool SK_WARN_UNUSED_RESULT tryAllocPixels(const SkImageInfo& info) { in tryAllocPixels()
571 bool SK_WARN_UNUSED_RESULT tryAllocN32Pixels(int width, int height, bool isOpaque = false) {
681 bool SK_WARN_UNUSED_RESULT tryAllocPixels() { in tryAllocPixels()
705 bool SK_WARN_UNUSED_RESULT tryAllocPixels(Allocator* allocator);
DSkMatrix.h56 static SkMatrix SK_WARN_UNUSED_RESULT MakeScale(SkScalar sx, SkScalar sy) { in MakeScale()
71 static SkMatrix SK_WARN_UNUSED_RESULT MakeScale(SkScalar scale) { in MakeScale()
87 static SkMatrix SK_WARN_UNUSED_RESULT MakeTrans(SkScalar dx, SkScalar dy) { in MakeTrans()
110 static SkMatrix SK_WARN_UNUSED_RESULT MakeAll(SkScalar scaleX, SkScalar skewX, SkScalar transX, in MakeAll()
1151 bool SK_WARN_UNUSED_RESULT invert(SkMatrix* inverse) const { in invert()
1184 bool SK_WARN_UNUSED_RESULT asAffine(SkScalar affine[6]) const;
1599 bool SK_WARN_UNUSED_RESULT getMinMaxScales(SkScalar scaleFactors[2]) const;
1817 bool SK_WARN_UNUSED_RESULT invertNonIdentity(SkMatrix* inverse) const;
DSkPathMeasure.h48 bool SK_WARN_UNUSED_RESULT getPosTan(SkScalar distance, SkPoint* position,
62 bool SK_WARN_UNUSED_RESULT getMatrix(SkScalar distance, SkMatrix* matrix,
/external/skia/src/shaders/
DSkShaderBase.h48 virtual bool SK_WARN_UNUSED_RESULT update(const SkMatrix& ctm, const SkMatrix* localM) = 0;
179 SK_WARN_UNUSED_RESULT
182 bool SK_WARN_UNUSED_RESULT computeTotalInverse(const SkMatrix& ctm,
218 SK_WARN_UNUSED_RESULT
/external/skia/src/gpu/geometry/
DGrRect.h19 static GrIRect16 SK_WARN_UNUSED_RESULT MakeEmpty() { in MakeEmpty()
25 static GrIRect16 SK_WARN_UNUSED_RESULT MakeWH(int16_t w, int16_t h) { in MakeWH()
31 static GrIRect16 SK_WARN_UNUSED_RESULT MakeXYWH(int16_t x, int16_t y, int16_t w, int16_t h) { in MakeXYWH()
37 static GrIRect16 SK_WARN_UNUSED_RESULT Make(const SkIRect& ir) { in Make()
/external/skqp/src/gpu/
DGrRect.h18 static GrIRect16 SK_WARN_UNUSED_RESULT MakeEmpty() { in MakeEmpty()
24 static GrIRect16 SK_WARN_UNUSED_RESULT MakeWH(int16_t w, int16_t h) { in MakeWH()
30 static GrIRect16 SK_WARN_UNUSED_RESULT MakeXYWH(int16_t x, int16_t y, int16_t w, int16_t h) { in MakeXYWH()
/external/skia/src/gpu/
DGrFixedClip.h33 bool SK_WARN_UNUSED_RESULT setScissor(const SkIRect& irect) { in setScissor()
36 bool SK_WARN_UNUSED_RESULT intersect(const SkIRect& irect) { in intersect()

12345