Home
last modified time | relevance | path

Searched refs:fA (Results 1 – 25 of 223) sorted by relevance

123456789

/third_party/flutter/skia/src/pathops/
DSkLineParameters.h57 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 …]
/third_party/skia/src/pathops/
DSkLineParameters.h57 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 …]
/third_party/flutter/skia/include/core/
DSkColor.h247 float fA; //!< alpha component member
255 return fA == other.fA && fR == other.fR && fG == other.fG && fB == other.fB;
273 return { fR * scale, fG * scale, fB * scale, fA * scale };
282 return { fR * scale.fR, fG * scale.fG, fB * scale.fB, fA * scale.fA };
323 SkASSERT(fA <= 1.0f && fA >= 0.0f); in isOpaque()
324 return fA == 1.0f; in isOpaque()
329 SkASSERT(fA >= 0.0f && fA <= 1.0f); in fitsInBytes()
361 return { fR * fA, fG * fA, fB * fA, fA }; in premul()
372 if (fA == 0.0f) { in unpremul()
375 float invAlpha = 1 / fA; in unpremul()
[all …]
/third_party/typescript/tests/baselines/reference/
DnearbyIdenticalGenericLambdasAssignable.js2 declare const fA: <T>() => { v: T };
11 type TA = typeof fA;
22 accA(fA); accA(fB); accA(fC);
24 accB(fA); accB(fB); accB(fC);
26 accC(fA); accC(fB); accC(fC);
28 accL(fA); accL(fB); accL(fC);
39 accA(fA);
43 accB(fA);
47 accC(fA);
51 accL(fA);
DnearbyIdenticalGenericLambdasAssignable.symbols2 declare const fA: <T>() => { v: T };
3 >fA : Symbol(fA, Decl(nearbyIdenticalGenericLambdasAssignable.ts, 0, 13))
28 type TA = typeof fA;
30 >fA : Symbol(fA, Decl(nearbyIdenticalGenericLambdasAssignable.ts, 0, 13))
67 accA(fA); accA(fB); accA(fC);
69 >fA : Symbol(fA, Decl(nearbyIdenticalGenericLambdasAssignable.ts, 0, 13))
76 accB(fA); accB(fB); accB(fC);
78 >fA : Symbol(fA, Decl(nearbyIdenticalGenericLambdasAssignable.ts, 0, 13))
85 accC(fA); accC(fB); accC(fC);
87 >fA : Symbol(fA, Decl(nearbyIdenticalGenericLambdasAssignable.ts, 0, 13))
[all …]
DnearbyIdenticalGenericLambdasAssignable.types2 declare const fA: <T>() => { v: T };
3 >fA : <T>() => { v: T; }
31 type TA = typeof fA;
33 >fA : <T>() => { v: T; }
64 accA(fA); accA(fB); accA(fC);
65 >accA(fA) : void
67 >fA : <T>() => { v: T; }
76 accB(fA); accB(fB); accB(fC);
77 >accB(fA) : void
79 >fA : <T>() => { v: T; }
[all …]
/third_party/skia/include/core/
DSkColor.h264 float fA; //!< alpha component member
272 return fA == other.fA && fR == other.fR && fG == other.fG && fB == other.fB;
290 return { fR * scale, fG * scale, fB * scale, fA * scale };
299 return { fR * scale.fR, fG * scale.fG, fB * scale.fB, fA * scale.fA };
315 std::array<float, 4> array() const { return {fR, fG, fB, fA}; } in array()
343 SkASSERT(fA <= 1.0f && fA >= 0.0f); in isOpaque()
344 return fA == 1.0f; in isOpaque()
349 SkASSERT(fA >= 0.0f && fA <= 1.0f); in fitsInBytes()
385 return { fR * fA, fG * fA, fB * fA, fA }; in premul()
396 if (fA == 0.0f) { in unpremul()
[all …]
/third_party/typescript/tests/cases/compiler/
DnearbyIdenticalGenericLambdasAssignable.ts1 declare const fA: <T>() => { v: T }; constant
10 type TA = typeof fA;
21 accA(fA); accA(fB); accA(fC);
23 accB(fA); accB(fB); accB(fC);
25 accC(fA); accC(fB); accC(fC);
27 accL(fA); accL(fB); accL(fC);
/third_party/flutter/skia/src/gpu/effects/generated/
DGrColorMatrixFragmentProcessor.h27 color.fA = input.fA; in constantOutputForConstantInput()
33 color.fA += v.fData[3]; in constantOutputForConstantInput()
34 color.fA = SkTPin(color.fA, 0.f, 1.f); in constantOutputForConstantInput()
43 return {color.fR, color.fG, color.fB, color.fA}; in constantOutputForConstantInput()
/third_party/flutter/skia/modules/sksg/src/
DSkSGTransform.cpp23 : fA(std::move(a)), fB(std::move(b)) { in Concat()
24 SkASSERT(fA); in Concat()
27 this->observeInval(fA); in Concat()
32 this->unobserveInval(fA); in ~Concat()
38 fA->revalidate(ic, ctm); in onRevalidate()
41 fComposed.setConcat(TransformPriv::As<T>(fA), in onRevalidate()
59 const sk_sp<Transform> fA, fB; member in sksg::__anon774eda990111::Concat
/third_party/skia/experimental/sorttoy/
DCmds.cpp170 top.fA * top.fR + (1.0f - top.fA) * bot.fR, in rasterize()
171 top.fA * top.fG + (1.0f - top.fA) * bot.fG, in rasterize()
172 top.fA * top.fB + (1.0f - top.fA) * bot.fB, in rasterize()
173 top.fA + (1.0f - top.fA) * bot.fA in rasterize()
/third_party/mesa3d/src/freedreno/afuc/
Dlexer.l44 "0x"[0-9a-fA-F]* yylval.num = strtoul(yytext, NULL, 0); return T_HEX;
46 "$"[0-9a-fA-F][0-9a-fA-F] yylval.num = parse_reg(yytext); return T_REGISTER;
52 "["[0-9a-fA-F][0-9a-fA-F]*"]" yylval.num = parse_literal(yytext); return T_LITERAL;
/third_party/skia/tests/
DPathOpsOpRectThreadedTest.cpp37 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB), in testPathOpsRectsMain()
58 " SkPathDirection::kCW);\n", state.fA, state.fA, state.fB, state.fB); in testPathOpsRectsMain()
131 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB) + c, in testPathOpsFastMain()
151 " SkPathDirection::kCW);\n", state.fA, state.fA, state.fB + c, state.fB); in testPathOpsFastMain()
DSkSLCross.cpp44 , fA(a), fB(b) { in VisualizeCrossProductSignFP()
50 return std::unique_ptr<GrFragmentProcessor>(new VisualizeCrossProductSignFP(fA, fB)); in clone()
78 pdman.set2f(fAUniform, fp.fA.x(), fp.fA.y()); in onMakeProgramImpl()
87 const SkVector fA, fB; member in __anond83472730111::VisualizeCrossProductSignFP
/third_party/flutter/skia/tests/
DPathOpsOpRectThreadedTest.cpp36 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB), in testPathOpsRectsMain()
57 " SkPath::kCW_Direction);\n", state.fA, state.fA, state.fB, state.fB); in testPathOpsRectsMain()
126 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB) + c, in testPathOpsFastMain()
146 " SkPath::kCW_Direction);\n", state.fA, state.fA, state.fB + c, state.fB); in testPathOpsFastMain()
/third_party/flutter/skia/src/gpu/effects/
DGrColorMatrixFragmentProcessor.fp46 color.fA = input.fA;
52 color.fA += v.fData[3];
53 color.fA = SkTPin(color.fA, 0.f, 1.f);
62 return {color.fR, color.fG, color.fB, color.fA};
/third_party/skia/modules/sksg/src/
DSkSGTransform.cpp41 : fA(std::move(a)), fB(std::move(b)) { in Concat()
42 SkASSERT(fA); in Concat()
45 this->observeInval(fA); in Concat()
50 this->unobserveInval(fA); in ~Concat()
56 fA->revalidate(ic, ctm); in onRevalidate()
59 fComposed.setConcat(TransformPriv::As<T>(fA), in onRevalidate()
77 const sk_sp<Transform> fA, fB; member in sksg::__anona36c66a40111::Concat
/third_party/flutter/skia/src/core/
DSkGeometry.h320 : fA(A) in SkQuadCoeff()
331 fA = P2 - times_2(P1) + fC; in SkQuadCoeff()
340 return (fA * tt + fB) * tt + fC; in eval()
343 Sk2s fA; member
357 fNumer.fA = p2 - times_2(p1w) + p0; in SkConicCoeff()
362 fDenom.fA = Sk2s(0) - fDenom.fB; in SkConicCoeff()
383 fA = P3 + three * (P1 - P2) - P0; in SkCubicCoeff()
395 return ((fA * t + fB) * t + fC) * t + fD; in eval()
398 Sk2s fA; member
/third_party/boost/libs/numeric/ublas/test/
Dtest_ticket7296.cpp225 ublas::matrix<float> fA = ublas::scalar_matrix<float>(nr, nc, c1); in BOOST_UBLAS_TEST_DEF() local
232 BOOST_UBLAS_TEST_CHECK_MATRIX_CLOSE( fA, fA, nr, nc, tol ); in BOOST_UBLAS_TEST_DEF()
239 BOOST_UBLAS_TEST_CHECK_MATRIX_CLOSE( fA, dA, nr, nc, tol ); in BOOST_UBLAS_TEST_DEF()
240 BOOST_UBLAS_TEST_CHECK_MATRIX_CLOSE( dA, fA, nr, nc, tol ); in BOOST_UBLAS_TEST_DEF()
255 ublas::matrix<float> fA = ublas::scalar_matrix<float>(nr, nc, c1); in BOOST_UBLAS_TEST_DEF() local
262 BOOST_UBLAS_TEST_CHECK_MATRIX_REL_CLOSE( fA, fA, nr, nc, tol ); in BOOST_UBLAS_TEST_DEF()
269 BOOST_UBLAS_TEST_CHECK_MATRIX_REL_CLOSE( fA, dA, nr, nc, tol ); in BOOST_UBLAS_TEST_DEF()
270 BOOST_UBLAS_TEST_CHECK_MATRIX_REL_CLOSE( dA, fA, nr, nc, tol ); in BOOST_UBLAS_TEST_DEF()
/third_party/skia/src/core/
DSkGeometry.h392 : fA(A) in SkQuadCoeff()
403 fA = P2 - times_2(P1) + fC; in SkQuadCoeff()
412 return (fA * tt + fB) * tt + fC; in eval()
415 Sk2s fA; member
429 fNumer.fA = p2 - times_2(p1w) + p0; in SkConicCoeff()
434 fDenom.fA = Sk2s(0) - fDenom.fB; in SkConicCoeff()
455 fA = P3 + three * (P1 - P2) - P0; in SkCubicCoeff()
467 return ((fA * t + fB) * t + fC) * t + fD; in eval()
470 Sk2s fA; member
/third_party/musl/tools/
Dadd-cfi.i386.awk27 match($0, /-?(0x[0-9a-fA-F]+|[0-9]+),/)
143 /addl? \$-?(0x[0-9a-fA-F]+|[0-9]+),%esp/ { adjust_sp_offset(-get_const1()) }
144 /subl? \$-?(0x[0-9a-fA-F]+|[0-9]+),%esp/ { adjust_sp_offset(get_const1()) }
170 /movl? %e(ax|bx|cx|dx|si|di|bp),-?(0x[0-9a-fA-F]+|[0-9]+)?\(%esp\)/ {
173 if (match($0, /-?(0x[0-9a-fA-F]+|[0-9]+)\(%esp\)/)) {
Dadd-cfi.x86_64.awk20 match($0, /-?(0x[0-9a-fA-F]+|[0-9]+),/)
129 /addl? \$-?(0x[0-9a-fA-F]+|[0-9]+),%rsp/ { adjust_sp_offset(-get_const1()) }
130 /subl? \$-?(0x[0-9a-fA-F]+|[0-9]+),%rsp/ { adjust_sp_offset(get_const1()) }
156 /movl? %r(ax|bx|cx|dx|si|di|bp|8|9|10|11|12|13|14|15),-?(0x[0-9a-fA-F]+|[0-9]+)?\(%rsp\)/ {
159 if (match($0, /-?(0x[0-9a-fA-F]+|[0-9]+)\(%rsp\)/)) {
/third_party/flutter/skia/bench/
DRegionContainBench.cpp21 SkRegion fA, fB; member in RegionContainBench
42 fA.op(randrect(rand, i), SkRegion::kXOR_Op); in RegionContainBench()
59 proc(fA, fB); in onDraw()
/third_party/skia/bench/
DRegionContainBench.cpp21 SkRegion fA, fB; member in RegionContainBench
42 fA.op(randrect(rand, i), SkRegion::kXOR_Op); in RegionContainBench()
59 proc(fA, fB); in onDraw()
/third_party/skia/src/gpu/geometry/
DGrTriangulator.h331 Line(double a, double b, double c) : fA(a), fB(b), fC(c) {} in Line()
334 : fA(static_cast<double>(q.fY) - p.fY) // a = dY in Line()
338 double dist(const SkPoint& p) const { return fA * p.fX + fB * p.fY + fC; } in dist()
339 Line operator*(double v) const { return Line(fA * v, fB * v, fC * v); }
340 double magSq() const { return fA * fA + fB * fB; } in magSq()
347 fA *= scale; in normalize()
352 return fabs(o.fA - fA) < 0.00001 && fabs(o.fB - fB) < 0.00001; in nearParallel()
357 double fA, fB, fC; member

123456789