/external/skqp/src/pathops/ |
D | SkLineParameters.h | 57 fA = DBL_EPSILON; // push it from 0 to slightly negative (y() returns -a) in cubicEndPoints() 66 fA = DBL_EPSILON; // push it from 0 to slightly negative (y() returns -a) in cubicEndPoints() 72 fA = pts[s].fY - pts[e].fY; in cubicEndPoints() 86 fA = pts[0].fY - pts[1].fY; in lineEndPoints() 105 fA = DBL_EPSILON; in quadEndPoints() 111 fA = pts[s].fY - pts[e].fY; in quadEndPoints() 122 return fA * fA + fB * fB; in normalSquared() 128 fA = fB = fC = 0; in normalize() 132 fA *= reciprocal; in normalize() 142 distance[index].fY = fA * pts[index].fX + fB * pts[index].fY + fC; in cubicDistanceY() [all …]
|
/external/skia/src/pathops/ |
D | SkLineParameters.h | 57 fA = DBL_EPSILON; // push it from 0 to slightly negative (y() returns -a) in cubicEndPoints() 66 fA = DBL_EPSILON; // push it from 0 to slightly negative (y() returns -a) in cubicEndPoints() 72 fA = pts[s].fY - pts[e].fY; in cubicEndPoints() 86 fA = pts[0].fY - pts[1].fY; in lineEndPoints() 105 fA = DBL_EPSILON; in quadEndPoints() 111 fA = pts[s].fY - pts[e].fY; in quadEndPoints() 122 return fA * fA + fB * fB; in normalSquared() 128 fA = fB = fC = 0; in normalize() 132 fA *= reciprocal; in normalize() 142 distance[index].fY = fA * pts[index].fX + fB * pts[index].fY + fC; in cubicDistanceY() [all …]
|
/external/skia/tests/ |
D | SkColor4fTest.cpp | 54 REPORTER_ASSERT(reporter, pm4.a() == c4.fA); in DEF_TEST() 55 REPORTER_ASSERT(reporter, pm4.r() == c4.fA * c4.fR); in DEF_TEST() 56 REPORTER_ASSERT(reporter, pm4.g() == c4.fA * c4.fG); in DEF_TEST() 57 REPORTER_ASSERT(reporter, pm4.b() == c4.fA * c4.fB); in DEF_TEST() 61 c4.fA = rand.nextUScalar1(); in DEF_TEST() 63 REPORTER_ASSERT(reporter, pm4.fVec[SK_A_INDEX] == c4.fA); in DEF_TEST() 64 REPORTER_ASSERT(reporter, nearly_equal(pm4.r(), c4.fA * c4.fR)); in DEF_TEST() 65 REPORTER_ASSERT(reporter, nearly_equal(pm4.g(), c4.fA * c4.fG)); in DEF_TEST() 66 REPORTER_ASSERT(reporter, nearly_equal(pm4.b(), c4.fA * c4.fB)); in DEF_TEST()
|
D | FlattenableCustomFactory.cpp | 16 : fA(a) in IntFlattenable() 23 buffer.writeUInt(fA); in flatten() 32 uint32_t a() const { return fA; } in a() 40 uint32_t fA; member in IntFlattenable
|
D | PathOpsOpRectThreadedTest.cpp | 33 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB), in testPathOpsRectsMain() 54 " SkPath::kCW_Direction);\n", state.fA, state.fA, state.fB, state.fB); in testPathOpsRectsMain()
|
D | PathOpsOpCubicThreadedTest.cpp | 28 pathA.moveTo(SkIntToScalar(state.fA), SkIntToScalar(state.fB)); in testOpCubicsMain() 35 SkIntToScalar(state.fA), SkIntToScalar(state.fD), SkIntToScalar(state.fC)); in testOpCubicsMain() 45 pathStr.appendf(" path.moveTo(%d,%d);\n", state.fA, state.fB); in testOpCubicsMain() 54 state.fB, state.fA, state.fD, state.fC); in testOpCubicsMain()
|
D | PathOpsThreadedCommon.h | 27 unsigned char fA; member 58 fState.fA = a; in PathOpsThreadedRunnable() 77 fState.fA = dirNo; in PathOpsThreadedRunnable()
|
D | PathOpsOpLoopThreadedTest.cpp | 42 SkPoint midA = { SkIntToScalar(a * state.fA + c * (6 - state.fA)) / 6, in testOpLoopsMain() 43 SkIntToScalar(b * state.fA + d * (6 - state.fA)) / 6 }; in testOpLoopsMain()
|
/external/skqp/tests/ |
D | SkColor4fTest.cpp | 54 REPORTER_ASSERT(reporter, pm4.a() == c4.fA); in DEF_TEST() 55 REPORTER_ASSERT(reporter, pm4.r() == c4.fA * c4.fR); in DEF_TEST() 56 REPORTER_ASSERT(reporter, pm4.g() == c4.fA * c4.fG); in DEF_TEST() 57 REPORTER_ASSERT(reporter, pm4.b() == c4.fA * c4.fB); in DEF_TEST() 61 c4.fA = rand.nextUScalar1(); in DEF_TEST() 63 REPORTER_ASSERT(reporter, pm4.fVec[SK_A_INDEX] == c4.fA); in DEF_TEST() 64 REPORTER_ASSERT(reporter, nearly_equal(pm4.r(), c4.fA * c4.fR)); in DEF_TEST() 65 REPORTER_ASSERT(reporter, nearly_equal(pm4.g(), c4.fA * c4.fG)); in DEF_TEST() 66 REPORTER_ASSERT(reporter, nearly_equal(pm4.b(), c4.fA * c4.fB)); in DEF_TEST()
|
D | FlattenableCustomFactory.cpp | 16 : fA(a) in IntFlattenable() 23 buffer.writeUInt(fA); in flatten() 32 uint32_t a() const { return fA; } in a() 40 uint32_t fA; member in IntFlattenable
|
D | PathOpsOpCubicThreadedTest.cpp | 28 pathA.moveTo(SkIntToScalar(state.fA), SkIntToScalar(state.fB)); in testOpCubicsMain() 35 SkIntToScalar(state.fA), SkIntToScalar(state.fD), SkIntToScalar(state.fC)); in testOpCubicsMain() 45 pathStr.appendf(" path.moveTo(%d,%d);\n", state.fA, state.fB); in testOpCubicsMain() 54 state.fB, state.fA, state.fD, state.fC); in testOpCubicsMain()
|
D | PathOpsOpRectThreadedTest.cpp | 33 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB), in testPathOpsRectsMain() 54 " SkPath::kCW_Direction);\n", state.fA, state.fA, state.fB, state.fB); in testPathOpsRectsMain()
|
D | PathOpsThreadedCommon.h | 27 unsigned char fA; member 58 fState.fA = a; in PathOpsThreadedRunnable() 77 fState.fA = dirNo; in PathOpsThreadedRunnable()
|
/external/valgrind/none/tests/ppc32/ |
D | round.c | 399 double qtr, half, fA, fB, fD; in check_single_arithmetic_op() local 408 : "=f"(fD) : "f"(fA) , "f"(fB)); in check_single_arithmetic_op() 412 : "=f"(fD) : "f"(fA)); in check_single_arithmetic_op() 432 fA = s*whole; in check_single_arithmetic_op() 436 fA = s*2*whole; in check_single_arithmetic_op() 440 fA = 0.5; in check_single_arithmetic_op() 444 fA = s*(4+q)*half; in check_single_arithmetic_op() 517 round_mode_name[mode], result, flt_op_names[op], fA); in check_single_arithmetic_op() 545 double fA, fB, fC, fD; in check_single_guarded_arithmetic_op() local 582 : "=f"(fD) : "f"(fA) , "f"(fB), "f"(fC)); in check_single_guarded_arithmetic_op() [all …]
|
/external/valgrind/none/tests/ppc64/ |
D | round.c | 399 double qtr, half, fA, fB, fD; in check_single_arithmetic_op() local 408 : "=f"(fD) : "f"(fA) , "f"(fB)); in check_single_arithmetic_op() 412 : "=f"(fD) : "f"(fA)); in check_single_arithmetic_op() 432 fA = s*whole; in check_single_arithmetic_op() 436 fA = s*2*whole; in check_single_arithmetic_op() 440 fA = 0.5; in check_single_arithmetic_op() 444 fA = s*(4+q)*half; in check_single_arithmetic_op() 517 round_mode_name[mode], result, flt_op_names[op], fA); in check_single_arithmetic_op() 545 double fA, fB, fC, fD; in check_single_guarded_arithmetic_op() local 582 : "=f"(fD) : "f"(fA) , "f"(fB), "f"(fC)); in check_single_guarded_arithmetic_op() [all …]
|
/external/skqp/src/core/ |
D | SkColorSpacePriv.h | 99 if (SkScalarIsNaN(coeffs.fA) || SkScalarIsNaN(coeffs.fB) || in is_valid_transfer_fn() 113 if (0.0f == coeffs.fA || 0.0f == coeffs.fG) { in is_valid_transfer_fn() 129 if ((0.0f == coeffs.fA || 0.0f == coeffs.fG) && 0.0f == coeffs.fC) { in is_valid_transfer_fn() 140 if (coeffs.fA < 0.0f || coeffs.fG < 0.0f) { in is_valid_transfer_fn() 149 return transfer_fn_almost_equal(gSRGB_TransferFn.fA, coeffs.fA) && in is_almost_srgb() 159 return transfer_fn_almost_equal(1.0f, coeffs.fA) && in is_almost_2dot2() 169 transfer_fn_almost_equal(1.0f, coeffs.fA) && in is_almost_linear() 185 return transfer_fn_almost_equal(coeffs.fA, 1.0f) in is_just_gamma() 195 coeffs->fA = 1.0f; in value_to_parametric()
|
D | SkGeometry.h | 319 : fA(A) in SkQuadCoeff() 330 fA = P2 - times_2(P1) + fC; in SkQuadCoeff() 339 return (fA * tt + fB) * tt + fC; in eval() 342 Sk2s fA; member 356 fNumer.fA = p2 - times_2(p1w) + p0; in SkConicCoeff() 361 fDenom.fA = Sk2s(0) - fDenom.fB; in SkConicCoeff() 382 fA = P3 + three * (P1 - P2) - P0; in SkCubicCoeff() 394 return ((fA * t + fB) * t + fC) * t + fD; in eval() 397 Sk2s fA; member
|
/external/skia/src/core/ |
D | SkColorSpacePriv.h | 99 if (SkScalarIsNaN(coeffs.fA) || SkScalarIsNaN(coeffs.fB) || in is_valid_transfer_fn() 113 if (0.0f == coeffs.fA || 0.0f == coeffs.fG) { in is_valid_transfer_fn() 129 if ((0.0f == coeffs.fA || 0.0f == coeffs.fG) && 0.0f == coeffs.fC) { in is_valid_transfer_fn() 140 if (coeffs.fA < 0.0f || coeffs.fG < 0.0f) { in is_valid_transfer_fn() 149 return transfer_fn_almost_equal(gSRGB_TransferFn.fA, coeffs.fA) && in is_almost_srgb() 159 return transfer_fn_almost_equal(1.0f, coeffs.fA) && in is_almost_2dot2() 169 transfer_fn_almost_equal(1.0f, coeffs.fA) && in is_almost_linear() 185 return transfer_fn_almost_equal(coeffs.fA, 1.0f) in is_just_gamma() 195 coeffs->fA = 1.0f; in value_to_parametric()
|
D | SkGeometry.h | 319 : fA(A) in SkQuadCoeff() 330 fA = P2 - times_2(P1) + fC; in SkQuadCoeff() 339 return (fA * tt + fB) * tt + fC; in eval() 342 Sk2s fA; member 356 fNumer.fA = p2 - times_2(p1w) + p0; in SkConicCoeff() 361 fDenom.fA = Sk2s(0) - fDenom.fB; in SkConicCoeff() 382 fA = P3 + three * (P1 - P2) - P0; in SkCubicCoeff() 394 return ((fA * t + fB) * t + fC) * t + fD; in eval() 397 Sk2s fA; member
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/univariate/ |
D | BracketFinder.java | 127 double fA = eval(func, xA); in search() local 130 fA < fB : in search() 131 fA > fB) { in search() 136 tmp = fA; in search() 137 fA = fB; in search() 150 double tmp2 = (xB - xC) * (fB - fA); in search() 166 fA = fB; in search() 201 fA = fB; in search() 209 fLo = fA; in search()
|
/external/skia/include/core/ |
D | SkColor.h | 166 float fA; member 169 return fA == other.fA && fR == other.fR && fG == other.fG && fB == other.fB; 185 return Pin(fR, fG, fB, fA); in pin()
|
/external/skqp/include/core/ |
D | SkColor.h | 166 float fA; member 169 return fA == other.fA && fR == other.fR && fG == other.fG && fB == other.fB; 185 return Pin(fR, fG, fB, fA); in pin()
|
/external/skia/bench/ |
D | RegionContainBench.cpp | 21 SkRegion fA, fB; member in RegionContainBench 42 fA.op(randrect(rand, i), SkRegion::kXOR_Op); in RegionContainBench() 59 proc(fA, fB); in onDraw()
|
/external/skqp/bench/ |
D | RegionContainBench.cpp | 21 SkRegion fA, fB; member in RegionContainBench 42 fA.op(randrect(rand, i), SkRegion::kXOR_Op); in RegionContainBench() 59 proc(fA, fB); in onDraw()
|
/external/autotest/client/common_lib/cros/ |
D | usb_devices.textfsm | 8 Value Required Vendor ([0-9a-fA-F]+) 10 Value Required prev ([0-9a-fA-Z.]+) 13 Value serialnumber ([0-9a-fA-Z\:\-]+)
|