Searched refs:SkScalarIsFinite (Results 1 – 25 of 27) sorted by relevance
12
27 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()
37 SkScalarIsFinite(rect.width()) && in SkIsValidRect()38 SkScalarIsFinite(rect.height()); in SkIsValidRect()
108 if (SkScalarIsFinite(mag2)) { in Normalize()131 if (SkScalarIsFinite(mag2)) { in Length()156 if (SkScalarIsFinite(mag2)) { in setLength()193 if (SkScalarIsFinite(mag2)) { in setLengthFast()
28 if (SkScalarIsFinite(magSq)) { in Length()54 if (SkScalarIsFinite(magSq)) { in normalize()
56 SkASSERT(rs > 0 && SkScalarIsFinite(rs)); in setResScale()
384 if (scale >= SK_Scalar1 || scale <= 0 || !SkScalarIsFinite(scale)) { in extractLevel()389 if (!SkScalarIsFinite(L)) { in extractLevel()
103 SkASSERT(SkScalarIsFinite(result)); in quad_folded_len()142 SkASSERT(SkScalarIsFinite(result)); in compute_quad_len()
863 if (denom == 0 || !SkScalarIsFinite(denom)) { in intersectRay()1126 if (!SkScalarIsFinite(quadPts->fQuad[2].fX) || !SkScalarIsFinite(quadPts->fQuad[2].fY)) { in cubicStroke()
796 } 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()
81 if (R < 0 || !SkScalarIsFinite(R)) { // complex roots in SkFindUnitQuadRoots()1121 if (tol < 0 || !SkScalarIsFinite(tol)) { in computeQuadPOW2()
18 if (!SkScalarIsFinite(dx) || !SkScalarIsFinite(dy)) {
18 if (!SkScalarIsFinite(scale)) {
29 if (!SkScalarIsFinite(a) || !SkScalarIsFinite(b)) { in equal_ulps_pin()59 if (!SkScalarIsFinite(a) || !SkScalarIsFinite(b)) { in not_equal_ulps_pin()
314 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()
94 if (SkScalarIsFinite(length)) { in test_overflow()96 REPORTER_ASSERT(reporter, !SkScalarIsFinite(length)); in test_overflow()
322 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()
58 if (!SkScalarIsFinite(innerThreshold) || !SkScalarIsFinite(outerThreshold)) { in Create()
238 if (!SkScalarIsFinite(inset) || !SkIsValidRect(srcRect)) { in Create()
71 SkASSERT(rs > 0 && SkScalarIsFinite(rs)); in setResScale()
124 static inline bool SkScalarIsFinite(SkScalar x) { in SkScalarIsFinite() function
44 if ((len > 0) && SkScalarIsFinite(phase) && SkScalarIsFinite(len)) { in CalcDashParameters()
110 sum += SkScalarIsFinite(-fArray[i]); in performTest()
66 if (!SkScalarIsFinite(result)) { in SkATan2_255()
247 SkASSERT(SkScalarIsFinite(proc.currentAdvance()) in shadeSpanInternal()
489 if (pointsLeft < 2 || d < tolSqd || !SkScalarIsFinite(d)) { in generate_quadratic_points()517 !SkScalarIsFinite(d1) || !SkScalarIsFinite(d2)) { in generate_cubic_points()