/third_party/flutter/skia/src/core/ |
D | SkPoint3.cpp | 21 static inline bool is_length_nearly_zero(float x, float y, float z, float *lengthSquared) { in is_length_nearly_zero() argument 22 *lengthSquared = get_length_squared(x, y, z); in is_length_nearly_zero() 23 return *lengthSquared <= (SK_ScalarNearlyZero * SK_ScalarNearlyZero); in is_length_nearly_zero()
|
/third_party/skia/src/core/ |
D | SkPoint3.cpp | 21 static inline bool is_length_nearly_zero(float x, float y, float z, float *lengthSquared) { in is_length_nearly_zero() argument 22 *lengthSquared = get_length_squared(x, y, z); in is_length_nearly_zero() 23 return *lengthSquared <= (SK_ScalarNearlyZero * SK_ScalarNearlyZero); in is_length_nearly_zero()
|
/third_party/flutter/skia/src/pathops/ |
D | SkPathOpsPoint.h | 81 return sqrt(lengthSquared()); in length() 84 double lengthSquared() const { in lengthSquared() function 229 return temp.lengthSquared(); in distanceSquared()
|
D | SkOpAngle.cpp | 496 double lenSq = v.lengthSquared(); in distEndRatio() 557 if (cept.lengthSquared() * 2 < total.lengthSquared()) { in endsIntersect()
|
D | SkPathOpsTSect.cpp | 27 double distSq = (fPerpPt - cPt).lengthSquared(); in setPerp() 28 double dist2Sq = (i.pt(1) - cPt).lengthSquared(); in setPerp() 266 double test = ((*fPart)[outer] - (*fPart)[inner]).lengthSquared(); in linearIntersects()
|
/third_party/skia/src/pathops/ |
D | SkPathOpsPoint.h | 81 return sqrt(lengthSquared()); in length() 84 double lengthSquared() const { in lengthSquared() function 229 return temp.lengthSquared(); in distanceSquared()
|
D | SkOpAngle.cpp | 496 double lenSq = v.lengthSquared(); in distEndRatio() 557 if (cept.lengthSquared() * 2 < total.lengthSquared()) { in endsIntersect()
|
D | SkPathOpsTSect.cpp | 28 double distSq = (fPerpPt - cPt).lengthSquared(); in setPerp() 29 double dist2Sq = (i.pt(1) - cPt).lengthSquared(); in setPerp() 267 double test = ((*fPart)[outer] - (*fPart)[inner]).lengthSquared(); in linearIntersects()
|
/third_party/skia/tests/ |
D | PathOpsDVectorTest.cpp | 41 double lenSq = v1.lengthSquared(); in DEF_TEST()
|
D | M44Test.cpp | 75 REPORTER_ASSERT(reporter, a.lengthSquared() == 1 + 4 + 9); in DEF_TEST()
|
/third_party/flutter/skia/tests/ |
D | PathOpsDVectorTest.cpp | 41 double lenSq = v1.lengthSquared(); in DEF_TEST()
|
/third_party/skia/modules/skottie/src/animator/ |
D | Vec2KeyframeAnimator.cpp | 175 const auto v0_len2 = v0.lengthSquared(), in backfill_spatial() 176 v1_len2 = v1.lengthSquared(); in backfill_spatial()
|
/third_party/skia/include/core/ |
D | SkM44.h | 40 SkScalar lengthSquared() const { return Dot(*this, *this); } in lengthSquared() function 41 SkScalar length() const { return SkScalarSqrt(this->lengthSquared()); } in length() 82 SkScalar lengthSquared() const { return Dot(*this, *this); } in lengthSquared() function
|
/third_party/flutter/skia/third_party/externals/angle2/src/common/ |
D | vector_utils.h | 88 Type lengthSquared() const; 452 return std::sqrt(lengthSquared()); in length() 456 Type VectorBase<Dimension, Type>::lengthSquared() const in lengthSquared() function
|
D | vector_utils_unittest.cpp | 163 ASSERT_EQ(25.0, vec.lengthSquared()); in TEST()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
D | vector_utils.h | 88 Type lengthSquared() const; 452 return std::sqrt(lengthSquared()); in length() 456 Type VectorBase<Dimension, Type>::lengthSquared() const in lengthSquared() function
|
D | vector_utils_unittest.cpp | 163 ASSERT_EQ(25.0, vec.lengthSquared()); in TEST()
|
/third_party/vk-gl-cts/framework/referencerenderer/ |
D | rrRasterizer.cpp | 218 return 2 * dotProduct * dotProduct > tcu::lengthSquared(v)*tcu::lengthSquared(cornerExitNormal); in lineInCornerAngleRange() 231 …return 2 * (-dotProduct) * (-dotProduct) < tcu::lengthSquared(v)*tcu::lengthSquared(cornerExitNorm… in lineInCornerOutsideAngleRange() 263 const deInt64 lineLengthSquared = tcu::lengthSquared(u); in doesLineSegmentExitDiamond() 959 …const float t = tcu::dot((pr - pa).asFloat(), (pb - pa).asFloat()) / tcu::lengthSquared(p… in rasterize()
|
/third_party/vk-gl-cts/framework/common/ |
D | tcuVectorUtil.hpp | 136 inline T lengthSquared (const Vector<T, Size>& a) in lengthSquared() function 147 return ::sqrt(lengthSquared(a)); in length() 153 return deFloatSqrt(lengthSquared(a)); in length()
|
D | tcuRasterizationVerifier.cpp | 123 if (crossProduct * crossProduct > maxPixelDistanceSquared * tcu::lengthSquared(line)) in pixelNearLineSegment() 422 const float divisor = tcu::lengthSquared(pb - pa); in calcLineInterpolationWeights() 2435 …if (crossProduct < 0 && crossProduct*crossProduct > maxPixelDistanceSquared * tcu::lengthSquared(e… in calculateTriangleCoverage() 2437 …if (crossProduct < 0 || crossProduct*crossProduct < maxPixelDistanceSquared * tcu::lengthSquared(e… in calculateTriangleCoverage()
|
/third_party/skia/modules/canvaskit/ |
D | matrix.js | 193 CanvasKit.Vector.lengthSquared = function(v) { function 197 return Math.sqrt(CanvasKit.Vector.lengthSquared(v));
|
D | externs.js | 725 lengthSquared: function() {}, method
|
/third_party/skia/samplecode/ |
D | Sample3D.cpp | 37 SkScalar len2 = v.lengthSquared(); in computeUnitV3()
|
/third_party/skia/modules/canvaskit/npm_build/types/ |
D | canvaskit-wasm-tests.ts | 935 const n4 = vec.lengthSquared(a); // $ExpectType number
|
/third_party/skia/site/docs/user/modules/ |
D | canvaskit.md | 707 let len2 = CanvasKit.Vector.lengthSquared(v);
|