/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/ |
D | BracketFinder.java | 158 double fW; in search() 160 fW = eval(func, w); in search() 162 fW < fC : in search() 163 fW > fC) { in search() 167 fB = fW; in search() 170 fW > fB : in search() 171 fW < fB) { in search() 173 fC = fW; in search() 177 fW = eval(func, w); in search() 180 fW = eval(func, w); in search() [all …]
|
/external/skia/src/gpu/ |
D | GrQuad.h | 119 , fW{1.f, 1.f, 1.f, 1.f} {} 124 fW[0] = fW[1] = fW[2] = fW[3] = 1.f; in GrPerspQuad() 130 ws.store(fW); in GrPerspQuad() 142 SkPoint3 point(int i) const { return {fX[i], fY[i], fW[i]}; } in point() 160 float w(int i) const { return fW[i]; } in w() 161 float iw(int i) const { return sk_ieee_float_divide(1.f, fW[i]); } in iw() 165 Sk4f w4f() const { return Sk4f::Load(fW); } in w4f() 186 float fW[4]; variable 281 fWs.push_back_n(4, quad.fW);
|
/external/skqp/src/gpu/ |
D | GrQuad.cpp | 204 fW[0] = fW[1] = fW[2] = fW[3] = 1.f; in GrPerspQuad() 221 w.store(fW); in GrPerspQuad() 223 fW[0] = fW[1] = fW[2] = fW[3] = 1.f; in GrPerspQuad() 232 memcpy(fW, ws, 4 * sizeof(float)); in GrPerspQuad()
|
D | GrQuad.h | 109 SkPoint3 point(int i) const { return {fX[i], fY[i], fW[i]}; } in point() 127 float w(int i) const { return fW[i]; } in w() 128 float iw(int i) const { return sk_ieee_float_divide(1.f, fW[i]); } in iw() 132 Sk4f w4f() const { return Sk4f::Load(fW); } in w4f() 153 float fW[4]; variable 248 fWs.push_back_n(4, quad.fW);
|
/external/skqp/tests/ |
D | PathOpsConicIntersectionTest.cpp | 48 SkASSERT(roughly_equal(chopped[0].fW, dChopped[0].fWeight)); in chopCompare() 49 SkASSERT(roughly_equal(chopped[1].fW, dChopped[1].fWeight)); in chopCompare() 84 conic.fW = c.fW; in writePng() 85 chopped[0].fW = ch[0].fW; in writePng() 86 chopped[1].fW = ch[1].fW; in writePng() 101 path.conicTo(conic.fPts[1], conic.fPts[2], conic.fW); in writePng() 106 path.conicTo(chopped[0].fPts[1], chopped[0].fPts[2], chopped[0].fW); in writePng() 108 path.conicTo(chopped[1].fPts[1], chopped[1].fPts[2], chopped[1].fW); in writePng() 165 conic.fW = dConic.fWeight; in chopBothWays()
|
/external/skia/tests/ |
D | PathOpsConicIntersectionTest.cpp | 48 SkASSERT(roughly_equal(chopped[0].fW, dChopped[0].fWeight)); in chopCompare() 49 SkASSERT(roughly_equal(chopped[1].fW, dChopped[1].fWeight)); in chopCompare() 84 conic.fW = c.fW; in writePng() 85 chopped[0].fW = ch[0].fW; in writePng() 86 chopped[1].fW = ch[1].fW; in writePng() 101 path.conicTo(conic.fPts[1], conic.fPts[2], conic.fW); in writePng() 106 path.conicTo(chopped[0].fPts[1], chopped[0].fPts[2], chopped[0].fW); in writePng() 108 path.conicTo(chopped[1].fPts[1], chopped[1].fPts[2], chopped[1].fW); in writePng() 165 conic.fW = dConic.fWeight; in chopBothWays()
|
/external/skqp/bench/ |
D | HardStopGradientBench_SpecialHardStops.cpp | 39 fW = w; in HardStopGradientBench_SpecialHardStops() 43 fName.printf("hardstop_special_%03dx%03d_%s", fW, fH, kindstr(fKind)); in HardStopGradientBench_SpecialHardStops() 51 return SkIPoint::Make(fW, fH); in onGetSize() 57 SkPoint::Make(fW+2.0f, fH/2.0f), in onPreDraw() 109 int fW; member in HardStopGradientBench_SpecialHardStops
|
D | MipMapBench.cpp | 15 const int fW, fH; member in MipMapBench 20 : fW(w), fH(h), fHalfFoat(halfFloat) in MipMapBench() 37 SkImageInfo info = SkImageInfo::Make(fW, fH, ct, kPremul_SkAlphaType, in onDelayedSetup()
|
D | GrMipMapBench.cpp | 17 const int fW, fH; member in GrMipMapBench 20 GrMipMapBench(int w, int h) : fW(w), fH(h) { in GrMipMapBench() 39 SkImageInfo::Make(fW, fH, kRGBA_8888_SkColorType, kPremul_SkAlphaType, srgb); in onDraw()
|
/external/skia/bench/ |
D | HardStopGradientBench_SpecialHardStops.cpp | 39 fW = w; in HardStopGradientBench_SpecialHardStops() 43 fName.printf("hardstop_special_%03dx%03d_%s", fW, fH, kindstr(fKind)); in HardStopGradientBench_SpecialHardStops() 51 return SkIPoint::Make(fW, fH); in onGetSize() 57 SkPoint::Make(fW+2.0f, fH/2.0f), in onPreDraw() 109 int fW; member in HardStopGradientBench_SpecialHardStops
|
D | MipMapBench.cpp | 15 const int fW, fH; member in MipMapBench 20 : fW(w), fH(h), fHalfFoat(halfFloat) in MipMapBench() 37 SkImageInfo info = SkImageInfo::Make(fW, fH, ct, kPremul_SkAlphaType, in onDelayedSetup()
|
D | GrMipMapBench.cpp | 17 const int fW, fH; member in GrMipMapBench 20 GrMipMapBench(int w, int h) : fW(w), fH(h) { in GrMipMapBench() 39 SkImageInfo::Make(fW, fH, kRGBA_8888_SkColorType, kPremul_SkAlphaType, srgb); in onDraw()
|
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTTrans.cpp | 226 VERTTYPE fX, fY, fZ, fW; in PVRTBoundingBoxIsVisible() local 252 fW = pMatrix->f[ 3]*pBoundingBox->Point[i].x + in PVRTBoundingBoxIsVisible() 257 if(fX < -fW) in PVRTBoundingBoxIsVisible() 259 else if(fX > fW) in PVRTBoundingBoxIsVisible() 262 if(fY < -fW) in PVRTBoundingBoxIsVisible() 264 else if(fY > fW) in PVRTBoundingBoxIsVisible() 365 const VERTTYPE fW) in PVRTTransformArray() argument 375 VERTTYPEMUL(pMatrix->f[12], fW); in PVRTTransformArray() 379 VERTTYPEMUL(pMatrix->f[13], fW); in PVRTTransformArray() 383 VERTTYPEMUL(pMatrix->f[14], fW); in PVRTTransformArray()
|
/external/skqp/src/sksl/ |
D | SkSLCPP.h | 23 , fW(w) {} in Float4() 26 return SkRect::MakeLTRB(fX, fY, fZ, fW); in SkRect() 33 float fW; member
|
/external/skia/src/sksl/ |
D | SkSLCPP.h | 23 , fW(w) {} in Float4() 26 return SkRect::MakeLTRB(fX, fY, fZ, fW); in SkRect() 33 float fW; member
|
/external/skia/gm/ |
D | showmiplevels.cpp | 216 const int fW, fH; member in ShowMipLevels2 220 ShowMipLevels2(int w, int h) : fW(w), fH(h) { } in ShowMipLevels2() 226 str.printf("showmiplevels2_%dx%d", fW, fH); in onShortName() 285 fBM[0] = sk_tool_utils::create_checkerboard_bitmap(fW, fH, in onOnceBeforeDraw() 287 fBM[1] = make_bitmap(fW, fH); in onOnceBeforeDraw() 288 fBM[2] = make_bitmap2(fW, fH); in onOnceBeforeDraw() 289 fBM[3] = make_bitmap3(fW, fH); in onOnceBeforeDraw()
|
/external/skqp/gm/ |
D | showmiplevels.cpp | 216 const int fW, fH; member in ShowMipLevels2 220 ShowMipLevels2(int w, int h) : fW(w), fH(h) { } in ShowMipLevels2() 226 str.printf("showmiplevels2_%dx%d", fW, fH); in onShortName() 285 fBM[0] = sk_tool_utils::create_checkerboard_bitmap(fW, fH, in onOnceBeforeDraw() 287 fBM[1] = make_bitmap(fW, fH); in onOnceBeforeDraw() 288 fBM[2] = make_bitmap2(fW, fH); in onOnceBeforeDraw() 289 fBM[3] = make_bitmap3(fW, fH); in onOnceBeforeDraw()
|
/external/skia/src/core/ |
D | SkGeometry.h | 234 fW = w; in SkConic() 238 fW = w; in SkConic() 242 SkScalar fW; member 246 fW = w; in set() 253 fW = w; in set() 355 Sk2s ww(conic.fW); in SkConicCoeff()
|
D | SkGeometry.cpp | 1046 ratquad_mapTo3D(fPts, fW, tmp); in chopAt() 1067 dst[0].fW = tmp2[0].fZ / root; in chopAt() 1068 dst[1].fW = tmp2[2].fZ / root; in chopAt() 1103 dst->fW = ww[0]; in chopAt() 1120 Sk2s ww(fW); in evalTangentAt() 1148 Sk2s scale = Sk2s(SkScalarInvert(SK_Scalar1 + fW)); in chop() 1149 SkScalar newW = subdivide_w_value(fW); in chop() 1154 Sk2s ww(fW); in chop() 1160 double w_d = fW; in chop() 1172 dst[0].fW = dst[1].fW = newW; in chop() [all …]
|
/external/skqp/src/core/ |
D | SkGeometry.h | 234 fW = w; in SkConic() 238 fW = w; in SkConic() 242 SkScalar fW; member 246 fW = w; in set() 253 fW = w; in set() 355 Sk2s ww(conic.fW); in SkConicCoeff()
|
D | SkGeometry.cpp | 1046 ratquad_mapTo3D(fPts, fW, tmp); in chopAt() 1067 dst[0].fW = tmp2[0].fZ / root; in chopAt() 1068 dst[1].fW = tmp2[2].fZ / root; in chopAt() 1103 dst->fW = ww[0]; in chopAt() 1120 Sk2s ww(fW); in evalTangentAt() 1148 Sk2s scale = Sk2s(SkScalarInvert(SK_Scalar1 + fW)); in chop() 1149 SkScalar newW = subdivide_w_value(fW); in chop() 1154 Sk2s ww(fW); in chop() 1160 double w_d = fW; in chop() 1172 dst[0].fW = dst[1].fW = newW; in chop() [all …]
|
/external/skqp/samplecode/ |
D | SamplePatch.cpp | 59 void setBounds(int w, int h) { fW = w; fH = h; } in setBounds() 66 int fW, fH; member in Patch 164 const SkScalar ds = SK_Scalar1 * fW / nu; in draw() 177 colors[i*2 + 0] = make_color(s/fW, t/fH); in draw() 178 colors[i*2 + 1] = make_color(s/fW, (t + dt)/fH); in draw()
|
/external/skia/src/gpu/ops/ |
D | GrQuadPerEdgeAA.cpp | 28 Sk4f fX, fY, fW; member 188 Sk4f e1w = SkNx_shuffle<2, 3, 2, 3>(quad->fW) - SkNx_shuffle<0, 1, 0, 1>(quad->fW); in outset_projected_vertices() 194 Sk4f e2w = SkNx_shuffle<1, 1, 3, 3>(quad->fW) - SkNx_shuffle<0, 0, 2, 2>(quad->fW); in outset_projected_vertices() 206 Sk4f c3x = quad->fW * x2d - quad->fX; in outset_projected_vertices() 207 Sk4f c3y = quad->fW * y2d - quad->fY; in outset_projected_vertices() 251 quad->fW += a * e1w + b * e2w; in outset_projected_vertices() 252 correct_bad_coords(denom.abs() < kTolerance, &quad->fX, &quad->fY, &quad->fW); in outset_projected_vertices() 590 Sk4f iw = 1.0f / inner->fW; in compute_nested_persp_quad_vertices() 635 If(spec.deviceQuadType() == GrQuadType::kPerspective, quad.fW[i]), in write_quad() 707 outer.fW = deviceQuad.w4f(); // Guaranteed to be 1f if it's not perspective in Tessellate()
|
/external/skia/samplecode/ |
D | SamplePatch.cpp | 59 void setBounds(int w, int h) { fW = w; fH = h; } in setBounds() 66 int fW, fH; member in Patch 164 const SkScalar ds = SK_Scalar1 * fW / nu; in draw() 177 colors[i*2 + 0] = make_color(s/fW, t/fH); in draw() 178 colors[i*2 + 1] = make_color(s/fW, (t + dt)/fH); in draw()
|
D | SampleFatBits.cpp | 102 fW = width; in setWHZ() 129 int fW, fH, fZoom; member in FatBits 184 for (int ix = 1; ix < fW; ++ix) { in copyMinToMax() 213 for (int ix = 0; ix < fW; ++ix) { in drawFG()
|