Home
last modified time | relevance | path

Searched refs:SkScalarIsFinite (Results 1 – 25 of 27) sorted by relevance

12

/external/skia/src/core/
DSkFont.cpp27 SkASSERT(SkScalarIsFinite(skewX)); in SkFont()
33 if (size <= 0 || !SkScalarIsFinite(size)) { in Create()
36 if (scaleX <= 0 || !SkScalarIsFinite(scaleX)) { in Create()
39 if (!SkScalarIsFinite(skewX)) { in Create()
DSkValidationUtils.h37 SkScalarIsFinite(rect.width()) && in SkIsValidRect()
38 SkScalarIsFinite(rect.height()); in SkIsValidRect()
DSkPoint.cpp108 if (SkScalarIsFinite(mag2)) { in Normalize()
131 if (SkScalarIsFinite(mag2)) { in Length()
156 if (SkScalarIsFinite(mag2)) { in setLength()
193 if (SkScalarIsFinite(mag2)) { in setLengthFast()
DSkPoint3.cpp28 if (SkScalarIsFinite(magSq)) { in Length()
54 if (SkScalarIsFinite(magSq)) { in normalize()
DSkStroke.h56 SkASSERT(rs > 0 && SkScalarIsFinite(rs)); in setResScale()
DSkMipMap.cpp384 if (scale >= SK_Scalar1 || scale <= 0 || !SkScalarIsFinite(scale)) { in extractLevel()
389 if (!SkScalarIsFinite(L)) { in extractLevel()
DSkPathMeasure.cpp103 SkASSERT(SkScalarIsFinite(result)); in quad_folded_len()
142 SkASSERT(SkScalarIsFinite(result)); in compute_quad_len()
DSkStroke.cpp863 if (denom == 0 || !SkScalarIsFinite(denom)) { in intersectRay()
1126 if (!SkScalarIsFinite(quadPts->fQuad[2].fX) || !SkScalarIsFinite(quadPts->fQuad[2].fY)) { in cubicStroke()
DSkPath.cpp796 } else if (!SkScalarIsFinite(w)) { in conicTo()
1389 if (!SkScalarIsFinite(t)) { in arcTo()
2229 if (!SkScalarIsFinite(compA) || !SkScalarIsFinite(compB)) { in almost_equal()
2278 if (!SkScalarIsFinite(lengthSqd)) { in addPt()
DSkGeometry.cpp81 if (R < 0 || !SkScalarIsFinite(R)) { // complex roots in SkFindUnitQuadRoots()
1121 if (tol < 0 || !SkScalarIsFinite(tol)) { in computeQuadPOW2()
/external/skia/include/effects/
DSkOffsetImageFilter.h18 if (!SkScalarIsFinite(dx) || !SkScalarIsFinite(dy)) {
DSkTestImageFilters.h18 if (!SkScalarIsFinite(scale)) {
/external/skia/src/pathops/
DSkPathOpsTypes.cpp29 if (!SkScalarIsFinite(a) || !SkScalarIsFinite(b)) { in equal_ulps_pin()
59 if (!SkScalarIsFinite(a) || !SkScalarIsFinite(b)) { in not_equal_ulps_pin()
/external/skia/tests/
DMathTest.cpp314 REPORTER_ASSERT(reporter, !SkScalarIsFinite(inf)); in unittest_isfinite()
315 REPORTER_ASSERT(reporter, !SkScalarIsFinite(-inf)); in unittest_isfinite()
322 REPORTER_ASSERT(reporter, !SkScalarIsFinite(nan)); in unittest_isfinite()
323 REPORTER_ASSERT(reporter, SkScalarIsFinite(big)); in unittest_isfinite()
324 REPORTER_ASSERT(reporter, SkScalarIsFinite(-big)); in unittest_isfinite()
325 REPORTER_ASSERT(reporter, SkScalarIsFinite(0)); in unittest_isfinite()
364 REPORTER_ASSERT(reporter, !SkScalarIsFinite(f) ); in unittest_half()
374 REPORTER_ASSERT(reporter, !SkScalarIsFinite(f) ); in unittest_half()
DPointTest.cpp94 if (SkScalarIsFinite(length)) { in test_overflow()
96 REPORTER_ASSERT(reporter, !SkScalarIsFinite(length)); in test_overflow()
/external/skia/src/effects/
DSkLightingImageFilter.cpp322 buffer.validate(SkScalarIsFinite(point.fX) && in readPoint3()
323 SkScalarIsFinite(point.fY) && in readPoint3()
324 SkScalarIsFinite(point.fZ)); in readPoint3()
1000 buffer.validate(SkScalarIsFinite(fSpecularExponent) && in SkSpotLight()
1001 SkScalarIsFinite(fCosOuterConeAngle) && in SkSpotLight()
1002 SkScalarIsFinite(fCosInnerConeAngle) && in SkSpotLight()
1003 SkScalarIsFinite(fConeScale)); in SkSpotLight()
1192 if (!SkScalarIsFinite(surfaceScale) || !SkScalarIsFinite(kd)) { in Create()
1332 if (!SkScalarIsFinite(surfaceScale) || !SkScalarIsFinite(ks) || !SkScalarIsFinite(shininess)) { in Create()
DSkAlphaThresholdFilter.cpp58 if (!SkScalarIsFinite(innerThreshold) || !SkScalarIsFinite(outerThreshold)) { in Create()
DSkMagnifierImageFilter.cpp238 if (!SkScalarIsFinite(inset) || !SkIsValidRect(srcRect)) { in Create()
/external/skia/include/core/
DSkStrokeRec.h71 SkASSERT(rs > 0 && SkScalarIsFinite(rs)); in setResScale()
DSkScalar.h124 static inline bool SkScalarIsFinite(SkScalar x) { in SkScalarIsFinite() function
/external/skia/src/utils/
DSkDashPath.cpp44 if ((len > 0) && SkScalarIsFinite(phase) && SkScalarIsFinite(len)) { in CalcDashParameters()
/external/skia/bench/
DScalarBench.cpp110 sum += SkScalarIsFinite(-fArray[i]); in performTest()
/external/skia/src/effects/gradients/
DSkSweepGradient.cpp66 if (!SkScalarIsFinite(result)) { in SkATan2_255()
DSk4fLinearGradient.cpp247 SkASSERT(SkScalarIsFinite(proc.currentAdvance()) in shadeSpanInternal()
/external/skia/src/gpu/
DGrTessellator.cpp489 if (pointsLeft < 2 || d < tolSqd || !SkScalarIsFinite(d)) { in generate_quadratic_points()
517 !SkScalarIsFinite(d1) || !SkScalarIsFinite(d2)) { in generate_cubic_points()

12