Home
last modified time | relevance | path

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

/external/skia/include/core/
DSkRect.h23 static SkIRect SK_WARN_UNUSED_RESULT MakeEmpty() { in MakeEmpty()
29 static SkIRect SK_WARN_UNUSED_RESULT MakeLargest() { in MakeLargest()
35 static SkIRect SK_WARN_UNUSED_RESULT MakeWH(int32_t w, int32_t h) { in MakeWH()
41 static SkIRect SK_WARN_UNUSED_RESULT MakeSize(const SkISize& size) { in MakeSize()
47 static SkIRect SK_WARN_UNUSED_RESULT MakeLTRB(int32_t l, int32_t t, int32_t r, int32_t b) { in MakeLTRB()
53 static SkIRect SK_WARN_UNUSED_RESULT MakeXYWH(int32_t x, int32_t y, int32_t w, int32_t h) { in MakeXYWH()
283 bool SK_WARN_UNUSED_RESULT intersect(const SkIRect& r) { in intersect()
291 bool SK_WARN_UNUSED_RESULT intersect(const SkIRect& a, const SkIRect& b) { in intersect()
311 bool SK_WARN_UNUSED_RESULT intersectNoEmptyCheck(const SkIRect& a, const SkIRect& b) { in intersectNoEmptyCheck()
330 bool SK_WARN_UNUSED_RESULT intersect(int32_t left, int32_t top, in intersect()
[all …]
DSkPictureRecorder.h75 SkPicture* SK_WARN_UNUSED_RESULT endRecordingAsPicture();
86 SkPicture* SK_WARN_UNUSED_RESULT endRecordingAsPicture(const SkRect& cullRect);
98 SkDrawable* SK_WARN_UNUSED_RESULT endRecordingAsDrawable();
101 SkPicture* SK_WARN_UNUSED_RESULT endRecording() { return this->endRecordingAsPicture(); } in endRecording()
DSkPreConfig.h67 #if !defined(SK_WARN_UNUSED_RESULT)
68 #define SK_WARN_UNUSED_RESULT macro
78 #if !defined(SK_WARN_UNUSED_RESULT)
79 #define SK_WARN_UNUSED_RESULT __attribute__((warn_unused_result)) macro
DSkBitmap.h243 … bool SK_WARN_UNUSED_RESULT tryAllocPixels(const SkImageInfo&, SkPixelRefFactory*, SkColorTable*);
259 bool SK_WARN_UNUSED_RESULT tryAllocPixels(const SkImageInfo& info, size_t rowBytes);
267 bool SK_WARN_UNUSED_RESULT tryAllocPixels(const SkImageInfo& info) { in tryAllocPixels()
275 bool SK_WARN_UNUSED_RESULT tryAllocN32Pixels(int width, int height, bool isOpaque = false) {
370 bool SK_WARN_UNUSED_RESULT tryAllocPixels(SkColorTable* ctable = NULL) {
396 bool SK_WARN_UNUSED_RESULT tryAllocPixels(Allocator* allocator, SkColorTable* ctable);
DSkMatrix.h28 static SkMatrix SK_WARN_UNUSED_RESULT MakeScale(SkScalar sx, SkScalar sy) { in MakeScale()
34 static SkMatrix SK_WARN_UNUSED_RESULT MakeScale(SkScalar scale) { in MakeScale()
40 static SkMatrix SK_WARN_UNUSED_RESULT MakeTrans(SkScalar dx, SkScalar dy) { in MakeTrans()
392 bool SK_WARN_UNUSED_RESULT invert(SkMatrix* inverse) const { in invert()
415 bool SK_WARN_UNUSED_RESULT asAffine(SkScalar affine[6]) const;
664 bool SK_WARN_UNUSED_RESULT getMinMaxScales(SkScalar scaleFactors[2]) const;
808 bool SK_WARN_UNUSED_RESULT invertNonIdentity(SkMatrix* inverse) const;
DSkPixmap.h51 bool SK_WARN_UNUSED_RESULT reset(const SkMask&);
59 bool SK_WARN_UNUSED_RESULT extractSubset(SkPixmap* subset, const SkIRect& area) const;
217 const SkData* SK_WARN_UNUSED_RESULT detachPixelsAsData();
233 bool SK_WARN_UNUSED_RESULT reset(const SkMask& mask) { in reset()
DSkPathMeasure.h47 bool SK_WARN_UNUSED_RESULT getPosTan(SkScalar distance, SkPoint* position,
61 bool SK_WARN_UNUSED_RESULT getMatrix(SkScalar distance, SkMatrix* matrix,
DSkDraw.h139 bool SK_WARN_UNUSED_RESULT
143 SkPaint::FakeGamma SK_WARN_UNUSED_RESULT fakeGamma() const;
/external/skia/src/effects/
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,
33 static bool SK_WARN_UNUSED_RESULT BoxBlur(SkMask* dst, const SkMask& src,
40 static bool SK_WARN_UNUSED_RESULT BlurGroundTruth(SkScalar sigma, SkMask* dst,
/external/skia/src/gpu/
DGrRect.h17 static GrIRect16 SK_WARN_UNUSED_RESULT MakeEmpty() { in MakeEmpty()
23 static GrIRect16 SK_WARN_UNUSED_RESULT MakeWH(int16_t w, int16_t h) { in MakeWH()
29 static GrIRect16 SK_WARN_UNUSED_RESULT MakeXYWH(int16_t x, int16_t y, int16_t w, int16_t h) { in MakeXYWH()
/external/skia/include/private/
DSkGpuFenceSync.h22 virtual SkPlatformGpuFence SK_WARN_UNUSED_RESULT insertFence() const = 0;
DSkWeakRefCnt.h88 bool SK_WARN_UNUSED_RESULT try_ref() const { in try_ref()
/external/skia/include/gpu/
DGrProcessor.h39 uint32_t* SK_WARN_UNUSED_RESULT add32n(int count) { in add32n()
/external/skia/dm/
DDMSrcSink.h63 virtual Error SK_WARN_UNUSED_RESULT draw(SkCanvas*) const = 0;
76 virtual Error SK_WARN_UNUSED_RESULT draw(const Src&, SkBitmap*, SkWStream*, SkString* log)
/external/skia/include/codec/
DSkCodec.h557 bool SK_WARN_UNUSED_RESULT rewindIfNeeded();
/external/skia/src/gpu/gl/
DSkGLContext.cpp16 SkPlatformGpuFence SK_WARN_UNUSED_RESULT insertFence() const override;
/external/skia/src/gpu/gl/egl/
DSkCreatePlatformGLContext_egl.cpp26 SkPlatformGpuFence SK_WARN_UNUSED_RESULT insertFence() const override;
/external/skia/tools/json/
DSkJSONCanvas.cpp186 static bool SK_WARN_UNUSED_RESULT flatten(const SkImage& image, Json::Value* target, in flatten()
258 static bool SK_WARN_UNUSED_RESULT flatten(const SkBitmap& bitmap, Json::Value* target, in flatten()
/external/skia/tools/debugger/
DSkDrawCommand.cpp645 static bool SK_WARN_UNUSED_RESULT flatten(const SkImage& image, Json::Value* target, in flatten()
824 static bool SK_WARN_UNUSED_RESULT flatten(const SkBitmap& bitmap, Json::Value* target, in flatten()