/third_party/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 …]
|
/third_party/skia/include/core/ |
D | SkColor.h | 264 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/baselines/reference/ |
D | nearbyIdenticalGenericLambdasAssignable.js | 2 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);
|
D | nearbyIdenticalGenericLambdasAssignable.symbols | 2 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 …]
|
D | nearbyIdenticalGenericLambdasAssignable.types | 2 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/typescript/tests/cases/compiler/ |
D | nearbyIdenticalGenericLambdasAssignable.ts | 1 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/skia/experimental/sorttoy/ |
D | Cmds.cpp | 170 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/skia/tests/ |
D | PathOpsOpRectThreadedTest.cpp | 37 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()
|
D | SkSLCross.cpp | 44 , 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 __anonada3bc000111::VisualizeCrossProductSignFP
|
D | ProcessorTest.cpp | 433 SkASSERT(inf[0].fA == inf[1].fA && inf[1].fA == inf[2].fA); in legal_modulation() 460 expectedForAlphaModulation[i] = fpPreAlphaModulation * inf[i].fA; in legal_modulation() 465 if (inf[i].fA == 0) { in legal_modulation() 490 inf[i].fR, inf[i].fG, inf[i].fB, inf[i].fA, in legal_modulation() 491 outf[i].fR, outf[i].fG, outf[i].fB, outf[i].fA, in legal_modulation() 493 expectedForColorModulation[i].fB, expectedForColorModulation[i].fA, in legal_modulation() 505 inf[i].fR, inf[i].fG, inf[i].fB, inf[i].fA, in legal_modulation() 506 outf[i].fR, outf[i].fG, outf[i].fB, outf[i].fA, in legal_modulation() 508 expectedForAlphaModulation[i].fB, expectedForAlphaModulation[i].fA, in legal_modulation() 692 float aDiff = fabsf(output4f.fA - expected4f.fA); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() [all …]
|
D | PathOpsOpCubicThreadedTest.cpp | 30 pathA.moveTo(SkIntToScalar(state.fA), SkIntToScalar(state.fB)); in testOpCubicsMain() 37 SkIntToScalar(state.fA), SkIntToScalar(state.fD), SkIntToScalar(state.fC)); in testOpCubicsMain() 47 pathStr.appendf(" path.moveTo(%d,%d);\n", state.fA, state.fB); in testOpCubicsMain() 56 state.fB, state.fA, state.fD, state.fC); in testOpCubicsMain()
|
D | PathOpsOpLoopThreadedTest.cpp | 44 SkPoint midA = { SkIntToScalar(a * state.fA + c * (6 - state.fA)) / 6, in testOpLoopsMain() 45 SkIntToScalar(b * state.fA + d * (6 - state.fA)) / 6 }; in testOpLoopsMain()
|
D | PathOpsThreadedCommon.h | 27 unsigned char fA; member 58 fState.fA = (a & 0xFF); in PathOpsThreadedRunnable() 77 fState.fA = dirNo; in PathOpsThreadedRunnable()
|
/third_party/mesa3d/src/freedreno/afuc/ |
D | lexer.l | 44 "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/modules/sksg/src/ |
D | SkSGTransform.cpp | 41 : 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::__anon260e6c910111::Concat
|
/third_party/skia/src/core/ |
D | SkGeometry.h | 392 : 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/ |
D | add-cfi.x86_64.awk | 20 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\)/)) {
|
D | add-cfi.i386.awk | 27 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\)/)) {
|
/third_party/skia/src/gpu/geometry/ |
D | GrTriangulator.h | 331 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
|
D | GrQuadUtils.cpp | 705 fA = -dy; in reset() 709 fA = dy; in reset() 717 V4f d0 = fA[0]*x2d + (fB[0]*y2d + fC[0]); in estimateCoverage() 718 V4f d1 = fA[1]*x2d + (fB[1]*y2d + fC[1]); in estimateCoverage() 719 V4f d2 = fA[2]*x2d + (fB[2]*y2d + fC[2]); in estimateCoverage() 720 V4f d3 = fA[3]*x2d + (fB[3]*y2d + fC[3]); in estimateCoverage() 738 V4f d = min(x2d * skvx::shuffle<1,2,1,2>(fA) + y2d * skvx::shuffle<1,2,1,2>(fB) in isSubpixel() 740 x2d * skvx::shuffle<3,3,0,0>(fA) + y2d * skvx::shuffle<3,3,0,0>(fB) in isSubpixel() 750 V4f d = (*x2d)*fA[i] + (*y2d)*fB[i] + fC[i]; in computeDegenerateQuad() 765 V4f denom = fA * next_cw(fB) - fB * next_cw(fA); in computeDegenerateQuad() [all …]
|
/third_party/skia/src/gpu/effects/ |
D | GrTextureEffect.cpp | 47 float fA = 0.f, fB = 0.f; in Sampling() member 50 Span r = {fA + o, fB - o}; in Sampling() 51 if (r.fA > r.fB) { in Sampling() 52 r.fA = r.fB = (r.fA + r.fB) / 2; in Sampling() 57 bool contains(Span r) const { return fA <= r.fA && fB >= r.fB; } in Sampling() 83 if (canDoModeInHW && size > 0 && subset.fA <= 0 && subset.fB >= size) { in Sampling() 93 Span isubset{sk_float_floor(subset.fA), sk_float_ceil(subset.fB)}; in Sampling() 94 if (domain.fA > isubset.fA && domain.fB < isubset.fB) { in Sampling() 136 fShaderSubset = {x.fShaderSubset.fA, y.fShaderSubset.fA, in Sampling() 138 fShaderClamp = {x.fShaderClamp.fA, y.fShaderClamp.fA, in Sampling()
|
/third_party/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()
|
/third_party/skia/gm/ |
D | xform.cpp | 20 sk_sp<MatrixXF> fRoot, fRA, fRB, fA, fB; member in XformGM 30 fA = MatrixXF::Make(fRA); in XformGM() 34 fA->setTranslate(100, 0); in XformGM() 40 g->append(GeoShape::Make(fA, {0, 0, 100, 60}, SK_ColorRED)); in XformGM()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_shadow_lod/ |
D | esextcTextureShadowLodFunctionsTest.cpp | 493 float fA = float(level) * levelStep; in initTexture() local 494 float fB = 1.0f - fA; in initTexture() 495 Vec4 colorA = cBias + cScale * Vec4(fA, fB, fA, fB); in initTexture() 496 Vec4 colorB = cBias + cScale * Vec4(fB, fA, fB, fA); in initTexture() 534 float fA = (float)layer * layerStep + (float)level * levelStep; in initTexture() local 535 float fB = 1.0f - fA; in initTexture() 536 Vec4 colorA = cBias + cScale * Vec4(fA, fB, fA, fB); in initTexture() 537 Vec4 colorB = cBias + cScale * Vec4(fB, fA, fB, fA); in initTexture() 570 float fA = float(level) * levelStep; in initTexture() local 571 float fB = 1.0f - fA; in initTexture() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/utils/vscode/ |
D | spirv.json.tmpl | 63 "match": "\\\\([0-7]{3}|[abfnrtv\\\\'\"]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})",
|