/third_party/typescript/tests/baselines/reference/ |
H A D | nearbyIdenticalGenericLambdasAssignable.js | 3 const fB = <T>() => { 12 type TB = typeof fB; 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); 32 var fB = function () {
function 40 accA(fB);
44 accB(fB);
48 accC(fB);
[all...] |
/third_party/skia/src/pathops/ |
H A D | SkLineParameters.h | 73 fB = pts[e].fX - pts[s].fX; in cubicEndPoints() 87 fB = pts[1].fX - pts[0].fX; in lineEndPoints() 112 fB = pts[e].fX - pts[s].fX; in quadEndPoints() 122 return fA * fA + fB * fB; in normalSquared() 128 fA = fB = fC = 0; in normalize() 133 fB *= reciprocal; in normalize() 142 distance[index].fY = fA * pts[index].fX + fB * pts[index].fY + fC; in cubicDistanceY() 150 distance[index].fY = fA * pts[index].fX + fB * pts[index].fY + fC; in quadDistanceY() 156 return fA * pts[index].fX + fB * pt in controlPtDistance() 177 double fB; global() member in SkLineParameters [all...] |
/third_party/skia/include/core/ |
H A D | SkColor.h | 263 float fB; //!< blue component member 272 return fA == other.fA && fR == other.fR && fG == other.fG && fB == other.fB; in operator ==() 287 @return SkRGBA4f as (fR * scale, fG * scale, fB * scale, fA * scale) 290 return { fR * scale, fG * scale, fB * scale, fA * scale }; in operator *() 296 @return SkRGBA4f as (fR * scale.fR, fG * scale.fG, fB * scale.fB, fA * scale.fA) 299 return { fR * scale.fR, fG * scale.fG, fB * scale.fB, fA * scale.fA }; in operator *() 304 @return pointer to array [fR, fG, fB, f [all...] |
/third_party/skia/modules/sksg/src/ |
H A D | SkSGTransform.cpp | 41 : fA(std::move(a)), fB(std::move(b)) { in Concat() 43 SkASSERT(fB); in Concat() 46 this->observeInval(fB); in Concat() 51 this->unobserveInval(fB); 57 fB->revalidate(ic, ctm); 60 TransformPriv::As<T>(fB)); 77 const sk_sp<Transform> fA, fB; member in sksg::__anon18612::final
|
H A D | SkSGColorFilter.cpp | 113 dB = c1.fB - c0.fB; in Make2ColorGradient() 146 dB*SK_LUM_COEFF_R, dB*SK_LUM_COEFF_G, dB*SK_LUM_COEFF_B, 0, c0.fB, in Make2ColorGradient()
|
/third_party/skia/gm/ |
H A D | xform.cpp | 20 sk_sp<MatrixXF> fRoot, fRA, fRB, fA, fB; member in XformGM 31 fB = MatrixXF::Make(fRB); in XformGM() 37 fB->setRotate(30); in XformGM() 41 g->append(GeoShape::Make(fB, {0, 0, 100, 60}, SK_ColorGREEN)); in XformGM() 98 fB->setRotate(TimeUtils::Scaled(1e-9 * nanos, 40*sqrtf(2), 0));
|
/third_party/skia/tests/ |
H A D | PathOpsOpRectThreadedTest.cpp | 37 pathA.addRect(SkIntToScalar(state.fA), SkIntToScalar(state.fA), SkIntToScalar(state.fB), in testPathOpsRectsMain() 38 SkIntToScalar(state.fB), SkPathDirection::kCW); 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() 132 SkIntToScalar(state.fB), SkPathDirection::kCW); in testPathOpsFastMain() 151 " SkPathDirection::kCW);\n", state.fA, state.fA, state.fB + c, state.fB); in testPathOpsFastMain()
|
H A D | SkSLCross.cpp | 44 , fA(a), fB(b) { in VisualizeCrossProductSignFP() 50 return std::unique_ptr<GrFragmentProcessor>(new VisualizeCrossProductSignFP(fA, fB)); 79 pdman.set2f(fBUniform, fp.fB.x(), fp.fB.y()); 87 const SkVector fA, fB; member in __anon19089::VisualizeCrossProductSignFP
|
H A D | PathOpsOpCubicThreadedTest.cpp | 30 pathA.moveTo(SkIntToScalar(state.fA), SkIntToScalar(state.fB)); in testOpCubicsMain() 36 pathB.cubicTo(SkIntToScalar(c), SkIntToScalar(d), SkIntToScalar(state.fB), 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()
|
H A D | PathOpsOpLoopThreadedTest.cpp | 46 SkPoint midB = { SkIntToScalar(a * state.fB + c * (6 - state.fB)) / 6, in testOpLoopsMain() 47 SkIntToScalar(b * state.fB + d * (6 - state.fB)) / 6 }; in testOpLoopsMain()
|
H A D | SRGBTest.cpp | 120 rgba[i].fR, rgba[i].fG, rgba[i].fB, in DEF_TEST() 121 want.fR, want.fG, want.fB); in DEF_TEST() 125 REPORTER_ASSERT(r, close(rgba[i].fB, want.fB)); in DEF_TEST()
|
H A D | GrMemoryPoolTest.cpp | 106 fB = new B(); in D() 111 fB->setValues(v); 115 fB->checkValues(v) && 119 delete fB; 123 B* fB; member in D
|
H A D | PathOpsThreadedCommon.h | 28 unsigned char fB; member 59 fState.fB = (b & 0xFF); in PathOpsThreadedRunnable()
|
H A D | ProcessorTest.cpp | 466 SkASSERT(inf[i].fR == 0 && inf[i].fG == 0 && inf[i].fB == 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() 691 float bDiff = fabsf(output4f.fB - expected4f.fB); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() 704 kTol, input4f.fR, input4f.fG, input4f.fB, input4 in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() [all...] |
/third_party/skia/src/core/ |
H A D | SkGeometry.h | 393 , fB(B) in SkQuadCoeff() 402 fB = times_2(P1 - fC); in SkQuadCoeff() 412 return (fA * tt + fB) * tt + fC; in eval() 416 Sk2s fB; member 430 fNumer.fB = times_2(p1w - p0); in SkConicCoeff() 433 fDenom.fB = times_2(ww - fDenom.fC); in SkConicCoeff() 434 fDenom.fA = Sk2s(0) - fDenom.fB; in SkConicCoeff() 456 fB = three * (P2 - times_2(P1) + P0); in SkCubicCoeff() 467 return ((fA * t + fB) * t + fC) * t + fD; in eval() 471 Sk2s fB; member [all...] |
H A D | SkMaskGamma.h | 173 * If fR, fG, or fB is nullptr, all of them will be. This indicates that no mask 181 : fParent(std::move(parent)), fR(r), fG(g), fB(b) { } in SkTMaskPreBlend() 187 SkTMaskPreBlend() : fParent(), fR(nullptr), fG(nullptr), fB(nullptr) { } in SkTMaskPreBlend() 194 : fParent(that.fParent), fR(that.fR), fG(that.fG), fB(that.fB) { } in SkTMaskPreBlend() 198 /** True if this PreBlend should be applied. When false, fR, fG, and fB are nullptr. */ 203 const uint8_t* fB; member in SkTMaskPreBlend
|
H A D | SkCompressedDataUtils.cpp | 75 int fR, fG, fB; member 81 int b8 = SkTPin(col.fB + delta, 0, 255); in add_delta_and_clamp() 108 colors[0].fB = extend_5To8bits(high >> 11); in decompress_etc1() 109 colors[1].fB = extend_5plus3To8Bits(high >> 11, high >> 8); in decompress_etc1() 115 colors[0].fB = extend_4To8bits(high >> 12); in decompress_etc1() 116 colors[1].fB = extend_4To8bits(high >> 8); in decompress_etc1()
|
/third_party/skia/src/gpu/geometry/ |
H A D | GrTriangulator.h | 329 // A line equation in implicit form. fA * x + fB * y + fC = 0, for all points (x, y) on the line. 331 Line(double a, double b, double c) : fA(a), fB(b), fC(c) {} in Line() 335 , fB(static_cast<double>(p.fX) - q.fX) // b = -dX 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); } in operator *() 340 double magSq() const { return fA * fA + fB * fB; } in magSq() 348 fB *= scale; in normalize() 352 return fabs(o.fA - fA) < 0.00001 && fabs(o.fB - fB) < 0.0000 in nearParallel() 357 double fA, fB, fC; global() member [all...] |
H A D | GrQuadUtils.cpp | 706 fB = dx; in reset() 710 fB = -dx; 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) in computeDegenerateQuad() [all...] |
/third_party/skia/src/gpu/effects/ |
H A 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 < isubse in Sampling() [all...] |
H A D | GrDistanceFieldGeoProc.h | 214 SkScalar fR, fG, fB; 217 result.fR = r; result.fG = g; result.fB = b; 221 return (fR == wa.fR && fG == wa.fG && fB == wa.fB);
|
/third_party/skia/bench/ |
H A D | RegionContainBench.cpp | 21 SkRegion fA, fB; member in RegionContainBench 45 fB.setRect({0, 0, H, W}); in RegionContainBench() 59 proc(fA, fB);
|
H A D | RegionBench.cpp | 73 SkRegion fA, fB; member in RegionBench 97 fB.op(randrect(rand), SkRegion::kXOR_Op); in RegionBench() 111 proc(fA, fB);
|
/third_party/skia/modules/skottie/src/effects/ |
H A D | ShiftChannelsEffect.cpp | 24 * C' = {fR(C), fG(C), fB(C), fA(C)} 26 * where fR, fG, fB, fA can be one of 56 .bind( kTakeBlueFrom_Index, fB) in ShiftChannelsEffectAdapter() 101 const float* bc = coeffs(fB); 118 fB = static_cast<float>(Source::kBlue), member in skottie::internal::__anon18563::final::Source
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_shadow_lod/ |
H A D | esextcTextureShadowLodFunctionsTest.cpp | 494 float fB = 1.0f - fA; in initTexture() local 495 Vec4 colorA = cBias + cScale * Vec4(fA, fB, fA, fB); in initTexture() 496 Vec4 colorB = cBias + cScale * Vec4(fB, fA, fB, fA); in initTexture() 535 float fB = 1.0f - fA; in initTexture() local 536 Vec4 colorA = cBias + cScale * Vec4(fA, fB, fA, fB); in initTexture() 537 Vec4 colorB = cBias + cScale * Vec4(fB, fA, fB, f in initTexture() 571 float fB = 1.0f - fA; initTexture() local 649 float fB = 1.0f - fA; initTexture() local [all...] |