Home
last modified time | relevance | path

Searched refs:sqrtf (Results 1 – 22 of 22) sorted by relevance

/external/webkit/WebCore/svg/
DSVGAnimateTransformElement.cpp193 return sqrtf(diff.width() * diff.width() + diff.height() * diff.height()); in calculateDistance()
199 return sqrtf(diff.width() * diff.width() + diff.height() * diff.height()); in calculateDistance()
DSVGLength.cpp315 return value * sqrtf(powf(width, 2) + powf(height, 2)) / sqrtf(2.0f); in PercentageOfViewport()
DColorDistance.cpp89 return sqrtf(m_redDiff * m_redDiff + m_blueDiff * m_blueDiff + m_greenDiff * m_greenDiff); in distance()
DSVGAnimateMotionElement.cpp240 return sqrtf(diff.width() * diff.width() + diff.height() * diff.height()); in calculateDistance()
DSVGTransformDistance.cpp263 return sqrtf(m_angle * m_angle + m_cx * m_cx + m_cy * m_cy); in distance()
/external/webkit/WebCore/platform/graphics/
DFloatPoint3D.cpp53 float length = sqrtf(m_x * m_x + m_y * m_y + m_z * m_z); in normalize()
DPathTraversalState.cpp40 …return sqrtf((end.x() - start.x()) * (end.x() - start.x()) + (end.y() - start.y()) * (end.y() - st… in distanceLine()
/external/webkit/WebCore/platform/graphics/qt/
DPathQt.cpp169 float p1p0_length = sqrtf(p1p0.x() * p1p0.x() + p1p0.y() * p1p0.y()); in addArcTo()
170 float p1p2_length = sqrtf(p1p2.x() * p1p2.x() + p1p2.y() * p1p2.y()); in addArcTo()
214 float orth_p1p2_length = sqrtf(orth_p1p2.x() * orth_p1p2.x() + orth_p1p2.y() * orth_p1p2.y()); in addArcTo()
/external/webkit/WebCore/platform/graphics/cairo/
DPathCairo.cpp170 float p1p0_length = sqrtf(p1p0.x() * p1p0.x() + p1p0.y() * p1p0.y()); in addArcTo()
171 float p1p2_length = sqrtf(p1p2.x() * p1p2.x() + p1p2.y() * p1p2.y()); in addArcTo()
215 float orth_p1p2_length = sqrtf(orth_p1p2.x() * orth_p1p2.x() + orth_p1p2.y() * orth_p1p2.y()); in addArcTo()
DGraphicsContextCairo.cpp432 … distance = static_cast<int>((M_PI * sqrtf((hRadius * hRadius + vRadius * vRadius) / 2.0)) / 2.0); in strokeArc()
/external/skia/src/core/
DSkPoint.cpp123 return (int)floorf(sqrtf(fx*fx + fy*fy) + 0.5f); in fixlen()
319 float mag = sqrtf(fx*fx + fy*fy); in setLength()
/external/stlport/stlport/stl/config/
D_como.h127 # define sqrtf sqrt macro
/external/skia/include/core/
DSkFloatingPoint.h55 #define sk_float_sqrt(x) sqrtf(x)
/external/qemu/fpu/
Dsoftfloat-native.c33 #define sqrtf(f) ((float)sqrt(f)) macro
222 return sqrtf(a); in float32_sqrt()
/external/webkit/WebKitTools/DumpRenderTree/cg/
DImageDiffCG.cpp118 float distance = sqrtf(red * red + green * green + blue * blue + alpha * alpha) / 2.0f; in createDifferenceImage()
/external/webkit/WebCore/platform/graphics/cg/
DGraphicsContextCG.cpp408 …distance = static_cast<int>((piFloat * sqrtf((hRadius * hRadius + vRadius * vRadius) / 2.0f)) / 2.… in strokeArc()
1009 float deviceScaleX = sqrtf(deviceMatrix.a * deviceMatrix.a + deviceMatrix.b * deviceMatrix.b); in roundToDevicePixels()
1010 float deviceScaleY = sqrtf(deviceMatrix.c * deviceMatrix.c + deviceMatrix.d * deviceMatrix.d); in roundToDevicePixels()
/external/webkit/WebCore/platform/graphics/skia/
DGraphicsContextSkia.cpp833 float deviceScaleX = sqrtf(square(deviceMatrix.getScaleX()) in roundToDevicePixels()
835 float deviceScaleY = sqrtf(square(deviceMatrix.getSkewX()) in roundToDevicePixels()
/external/webkit/WebCore/rendering/
DSVGInlineTextBox.cpp151 float newDistance = sqrtf(xDistance * xDistance + yDistance * yDistance); in chunkPortionCallback()
/external/stlport/stlport/stl/
D_cmath.h89 inline float sqrtf(float v) { return __sqrtf(v); } in sqrtf() function
/external/quake/quake/src/WinQuake/
Dgl_rmain.cpp1086 return (float) sqrtf(x * x + y * y + z * z); in length()
/external/webkit/WebCore/
DChangeLog-2008-08-1029422 sqrtf() to operate explicitly on floats.
29426 sqrtf and removed narrowPrecisionToFloat.
DChangeLog-2009-06-167572 Change C-style calls to powf and sqrtf to C++-style calls to