Home
last modified time | relevance | path

Searched refs:dscale (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/core/
DSkPoint3.cpp67 double dscale = 1.0f / sqrt(xx * xx + yy * yy + zz * zz); in normalize() local
68 fX = x * dscale; in normalize()
69 fY = y * dscale; in normalize()
70 fZ = z * dscale; in normalize()
DSkPoint.cpp168 double dscale = length / sqrt(xx * xx + yy * yy); in setLength() local
169 fX = x * dscale; in setLength()
170 fY = y * dscale; in setLength()
DSkStroke.cpp745 double dscale = fRadius / sqrt(xx * xx + yy * yy); in setRayPts() local
746 dxy->fX = SkDoubleToScalar(xx * dscale); in setRayPts()
747 dxy->fY = SkDoubleToScalar(yy * dscale); in setRayPts()
/external/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_const.c115 double dscale; in lp_const_scale() local
119 dscale = (double)llscale; in lp_const_scale()
120 assert((unsigned long long)dscale == llscale); in lp_const_scale()
122 return dscale; in lp_const_scale()
312 double dscale = lp_const_scale(type); in lp_build_const_elem() local
314 elem = LLVMConstInt(elem_type, round(val*dscale), 0); in lp_build_const_elem()