Home
last modified time | relevance | path

Searched refs:SkScalarIsNaN (Results 1 – 25 of 41) sorted by relevance

12

/external/skqp/src/core/
DSkColorSpacePriv.h35 if (SkScalarIsNaN(coeffs.a) || SkScalarIsNaN(coeffs.b) || in is_valid_transfer_fn()
36 SkScalarIsNaN(coeffs.c) || SkScalarIsNaN(coeffs.d) || in is_valid_transfer_fn()
37 SkScalarIsNaN(coeffs.e) || SkScalarIsNaN(coeffs.f) || in is_valid_transfer_fn()
38 SkScalarIsNaN(coeffs.g)) in is_valid_transfer_fn()
DSkPathMeasure.cpp537 if (SkScalarIsNaN(fLength)) { in getLength()
611 if (count == 0 || length == 0 || SkScalarIsNaN(distance)) { in getPosTan()
624 if (SkScalarIsNaN(t)) { in getPosTan()
/external/skqp/tests/
DPathOpsTestCommon.cpp256 if (SkScalarIsNaN(bounds.fLeft)) { in ValidBounds()
259 if (SkScalarIsNaN(bounds.fTop)) { in ValidBounds()
262 if (SkScalarIsNaN(bounds.fRight)) { in ValidBounds()
265 return !SkScalarIsNaN(bounds.fBottom); in ValidBounds()
307 if (SkScalarIsNaN(pts[index].fX)) { in ValidPoints()
310 if (SkScalarIsNaN(pts[index].fY)) { in ValidPoints()
DMathTest.cpp185 REPORTER_ASSERT(reporter, !SkScalarIsNaN(inf)); in unittest_isfinite()
186 REPORTER_ASSERT(reporter, !SkScalarIsNaN(-inf)); in unittest_isfinite()
190 REPORTER_ASSERT(reporter, SkScalarIsNaN(nan)); in unittest_isfinite()
191 REPORTER_ASSERT(reporter, !SkScalarIsNaN(big)); in unittest_isfinite()
192 REPORTER_ASSERT(reporter, !SkScalarIsNaN(-big)); in unittest_isfinite()
193 REPORTER_ASSERT(reporter, !SkScalarIsNaN(0)); in unittest_isfinite()
252 REPORTER_ASSERT(reporter, SkScalarIsNaN(f) ); in unittest_half()
408 REPORTER_ASSERT(reporter, SkScalarIsNaN(x)); in DEF_TEST()
DSkRasterPipelineTest.cpp125 REPORTER_ASSERT(r, SkScalarIsNaN(f)); in DEF_TEST()
/external/skia/tests/
DPathOpsTestCommon.cpp251 if (SkScalarIsNaN(bounds.fLeft)) { in ValidBounds()
254 if (SkScalarIsNaN(bounds.fTop)) { in ValidBounds()
257 if (SkScalarIsNaN(bounds.fRight)) { in ValidBounds()
260 return !SkScalarIsNaN(bounds.fBottom); in ValidBounds()
302 if (SkScalarIsNaN(pts[index].fX)) { in ValidPoints()
305 if (SkScalarIsNaN(pts[index].fY)) { in ValidPoints()
DMathTest.cpp183 REPORTER_ASSERT(reporter, !SkScalarIsNaN(inf)); in unittest_isfinite()
184 REPORTER_ASSERT(reporter, !SkScalarIsNaN(-inf)); in unittest_isfinite()
188 REPORTER_ASSERT(reporter, SkScalarIsNaN(nan)); in unittest_isfinite()
189 REPORTER_ASSERT(reporter, !SkScalarIsNaN(big)); in unittest_isfinite()
190 REPORTER_ASSERT(reporter, !SkScalarIsNaN(-big)); in unittest_isfinite()
191 REPORTER_ASSERT(reporter, !SkScalarIsNaN(0)); in unittest_isfinite()
250 REPORTER_ASSERT(reporter, SkScalarIsNaN(f) ); in unittest_half()
448 REPORTER_ASSERT(reporter, SkScalarIsNaN(x)); in DEF_TEST()
DSkRasterPipelineTest.cpp126 REPORTER_ASSERT(r, SkScalarIsNaN(f)); in DEF_TEST()
166 REPORTER_ASSERT(r, SkScalarIsNaN(f)); in DEF_TEST()
200 REPORTER_ASSERT(r, SkScalarIsNaN(f)); in DEF_TEST()
DGLBackendSurfaceTest.cpp29 return SkScalarIsNaN(parameters.samplerOverriddenState().fMaxLOD); in sampler_params_invalid()
/external/skia/docs/examples/
DPaint_setTextScaleX.cpp10 SkDebugf("text scale %s-a-number\n", SkScalarIsNaN(paint.getTextScaleX()) ? "not" : "is");
/external/skia/src/gpu/geometry/
DGrQuad.h90 SkASSERT(0 == accum || SkScalarIsNaN(accum)); in isFinite()
91 return !SkScalarIsNaN(accum); in isFinite()
/external/skqp/include/core/
DSkPoint3.h121 SkASSERT(0 == accum || SkScalarIsNaN(accum)); in isFinite()
125 return !SkScalarIsNaN(accum); in isFinite()
DSkPoint.h415 SkASSERT(0 == accum || SkScalarIsNaN(accum)); in isFinite()
419 return !SkScalarIsNaN(accum); in isFinite()
DSkScalar.h67 static inline bool SkScalarIsNaN(SkScalar x) { return x != x; } in SkScalarIsNaN() function
/external/skia/include/core/
DSkPoint3.h121 SkASSERT(0 == accum || SkScalarIsNaN(accum)); in isFinite()
125 return !SkScalarIsNaN(accum); in isFinite()
DSkPoint.h415 SkASSERT(0 == accum || SkScalarIsNaN(accum)); in isFinite()
419 return !SkScalarIsNaN(accum); in isFinite()
DSkScalar.h67 static inline bool SkScalarIsNaN(SkScalar x) { return x != x; } in SkScalarIsNaN() function
DSkRect.h719 SkASSERT(0 == accum || SkScalarIsNaN(accum)); in isFinite()
723 return !SkScalarIsNaN(accum); in isFinite()
/external/skqp/src/shaders/
DSkComposeShader.cpp21 if (!src || !dst || SkScalarIsNaN(lerpT)) { in MakeCompose()
/external/skia/src/shaders/
DSkComposeShader.cpp55 if (SkScalarIsNaN(weight)) { in Lerp()
/external/skia/modules/skottie/src/effects/
DLevelsEffect.cpp88 SkASSERT(!SkScalarIsNaN(out)); in build_lut()
/external/skqp/src/gpu/gl/
DGrGLPathRendering.cpp37 SkASSERT(!SkScalarIsNaN(SkFloatToScalar(floats[i]))); in verify_floats()
DGrGLPath.cpp85 SkASSERT(!SkScalarIsNaN(SkFloatToScalar(floats[i]))); in verify_floats()
/external/skqp/src/gpu/
DGrQuad.cpp28 if (SkScalarIsNaN(dotValue)) { in dot_nearly_zero()
/external/skia/src/core/
DSkContourMeasure.cpp579 if (SkScalarIsNaN(distance)) { in getPosTan()
595 if (SkScalarIsNaN(t)) { in getPosTan()

12