/third_party/skia/modules/svg/src/ |
D | SkSVGEllipse.cpp | 23 SkRect SkSVGEllipse::resolve(const SkSVGLengthContext& lctx) const { in resolve() 24 const auto cx = lctx.resolve(fCx, SkSVGLengthContext::LengthType::kHorizontal); in resolve() 25 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); in resolve() 26 const auto rx = lctx.resolve(fRx, SkSVGLengthContext::LengthType::kHorizontal); in resolve() 27 const auto ry = lctx.resolve(fRy, SkSVGLengthContext::LengthType::kVertical); in resolve() 34 void SkSVGEllipse::onDraw(SkCanvas* canvas, const SkSVGLengthContext& lctx, in onDraw() argument 36 canvas->drawOval(this->resolve(lctx), paint); in onDraw()
|
D | SkSVGMask.cpp | 38 SkSVGRenderContext lctx(ctx); in renderMask() local 39 this->onPrepareToRender(&lctx); in renderMask() 41 const auto ci = *lctx.presentationContext().fInherited.fColorInterpolation; in renderMask() 56 lctx.canvas()->saveLayer(nullptr, &mask_filter); in renderMask() 59 lctx.canvas()->translate(obbt.offset.x, obbt.offset.y); in renderMask() 60 lctx.canvas()->scale(obbt.scale.x, obbt.scale.y); in renderMask() 63 child->render(lctx); in renderMask()
|
D | SkSVGLine.cpp | 23 std::tuple<SkPoint, SkPoint> SkSVGLine::resolve(const SkSVGLengthContext& lctx) const { in resolve() 25 SkPoint::Make(lctx.resolve(fX1, SkSVGLengthContext::LengthType::kHorizontal), in resolve() 26 lctx.resolve(fY1, SkSVGLengthContext::LengthType::kVertical)), in resolve() 27 SkPoint::Make(lctx.resolve(fX2, SkSVGLengthContext::LengthType::kHorizontal), in resolve() 28 lctx.resolve(fY2, SkSVGLengthContext::LengthType::kVertical))); in resolve() 31 void SkSVGLine::onDraw(SkCanvas* canvas, const SkSVGLengthContext& lctx, in onDraw() argument 34 std::tie(p0, p1) = this->resolve(lctx); in onDraw()
|
D | SkSVGCircle.cpp | 22 std::tuple<SkPoint, SkScalar> SkSVGCircle::resolve(const SkSVGLengthContext& lctx) const { in resolve() 23 const auto cx = lctx.resolve(fCx, SkSVGLengthContext::LengthType::kHorizontal); in resolve() 24 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); in resolve() 25 const auto r = lctx.resolve(fR , SkSVGLengthContext::LengthType::kOther); in resolve() 29 void SkSVGCircle::onDraw(SkCanvas* canvas, const SkSVGLengthContext& lctx, in onDraw() argument 33 std::tie(pos, r) = this->resolve(lctx); in onDraw()
|
D | SkSVGRadialGradient.cpp | 28 const SkSVGLengthContext lctx = in onMakeShader() local 33 const auto r = lctx.resolve(fR , SkSVGLengthContext::LengthType::kOther); in onMakeShader() 35 lctx.resolve(fCx, SkSVGLengthContext::LengthType::kHorizontal), in onMakeShader() 36 lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical)); in onMakeShader() 38 fFx.isValid() ? lctx.resolve(*fFx, SkSVGLengthContext::LengthType::kHorizontal) in onMakeShader() 40 fFy.isValid() ? lctx.resolve(*fFy, SkSVGLengthContext::LengthType::kVertical) in onMakeShader()
|
D | SkSVGRect.cpp | 28 SkRRect SkSVGRect::resolve(const SkSVGLengthContext& lctx) const { in resolve() 29 const auto rect = lctx.resolveRect(fX, fY, fWidth, fHeight); in resolve() 56 const auto rx = std::min(lctx.resolve(rxlen, SkSVGLengthContext::LengthType::kHorizontal), in resolve() 58 ry = std::min(lctx.resolve(rylen, SkSVGLengthContext::LengthType::kVertical), in resolve() 64 void SkSVGRect::onDraw(SkCanvas* canvas, const SkSVGLengthContext& lctx, in onDraw() argument 66 canvas->drawRRect(this->resolve(lctx), paint); in onDraw()
|
D | SkSVGLinearGradient.cpp | 27 const SkSVGLengthContext lctx = in onMakeShader() local 32 const auto x1 = lctx.resolve(fX1, SkSVGLengthContext::LengthType::kHorizontal); in onMakeShader() 33 const auto y1 = lctx.resolve(fY1, SkSVGLengthContext::LengthType::kVertical); in onMakeShader() 34 const auto x2 = lctx.resolve(fX2, SkSVGLengthContext::LengthType::kHorizontal); in onMakeShader() 35 const auto y2 = lctx.resolve(fY2, SkSVGLengthContext::LengthType::kVertical); in onMakeShader()
|
D | SkSVGImage.cpp | 81 const SkSVGLengthContext& lctx = ctx.lengthContext(); in onRender() local 82 const SkRect viewPort = lctx.resolveRect(fX, fY, fWidth, fHeight); in onRender() 98 const SkSVGLengthContext& lctx = ctx.lengthContext(); in onObjectBoundingBox() local 99 return lctx.resolveRect(fX, fY, fWidth, fHeight); in onObjectBoundingBox()
|
D | SkSVGUse.cpp | 67 const SkSVGLengthContext& lctx = ctx.lengthContext(); in onObjectBoundingBox() local 68 const SkScalar x = lctx.resolve(fX, SkSVGLengthContext::LengthType::kHorizontal); in onObjectBoundingBox() 69 const SkScalar y = lctx.resolve(fY, SkSVGLengthContext::LengthType::kVertical); in onObjectBoundingBox()
|
D | SkSVGSVG.cpp | 86 SkSize SkSVGSVG::intrinsicSize(const SkSVGLengthContext& lctx) const { in intrinsicSize() 93 return SkSize::Make(lctx.resolveForSVG(fWidth, SkSVGLengthContext::LengthType::kHorizontal), in intrinsicSize() 94 lctx.resolveForSVG(fHeight, SkSVGLengthContext::LengthType::kVertical)); in intrinsicSize()
|
D | SkSVGRenderContext.cpp | 146 const SkSVGLengthContext& lctx) { in dash_effect() argument 155 intervals.push_back(lctx.resolve(dash, SkSVGLengthContext::LengthType::kOther)); in dash_effect() 167 const auto phase = lctx.resolve(*props.fStrokeDashOffset, in dash_effect() 183 const SkSVGLengthContext& lctx, in SkSVGRenderContext() argument 189 , fLengthContext(lctx) in SkSVGRenderContext() 521 SkTCopyOnFirstWrite<SkSVGLengthContext> lctx(fLengthContext); in resolveOBBRect() local 524 *lctx.writable() = SkSVGLengthContext({1,1}); in resolveOBBRect() 527 auto r = lctx->resolveRect(x, y, w, h); in resolveOBBRect()
|
D | SkSVGText.cpp | 89 static std::vector<float> ResolveLengths(const SkSVGLengthContext& lctx, in ResolveLengths() argument 96 resolved.push_back(lctx.resolve(l, lt)); in ResolveLengths() 117 const SkSVGLengthContext& lctx, in ScopedPosResolver() argument 123 , fX(ResolveLengths(lctx, txt.getX(), SkSVGLengthContext::LengthType::kHorizontal)) in ScopedPosResolver() 124 , fY(ResolveLengths(lctx, txt.getY(), SkSVGLengthContext::LengthType::kVertical)) in ScopedPosResolver() 125 , fDx(ResolveLengths(lctx, txt.getDx(), SkSVGLengthContext::LengthType::kHorizontal)) in ScopedPosResolver() 126 , fDy(ResolveLengths(lctx, txt.getDy(), SkSVGLengthContext::LengthType::kVertical)) in ScopedPosResolver() 133 const SkSVGLengthContext& lctx, in ScopedPosResolver() argument 135 : ScopedPosResolver(txt, lctx, tctx, tctx->fCurrentCharIndex) {} in ScopedPosResolver()
|
D | SkSVGDOM.cpp | 468 SkSVGLengthContext lctx(fContainerSize, fSVGResizePercentage); in render() local 470 fRoot->render(SkSVGRenderContext(canvas, fFontMgr, fResourceProvider, fIDMapper, lctx, pctx, in render()
|
/third_party/skia/modules/svg/tests/ |
D | Text.cpp | 161 const SkSVGLengthContext lctx({0,0}); in DEF_TEST() local 166 const SkSVGRenderContext ctx(&canvas, fmgr, rp, mapper, lctx, pctx, {nullptr, nullptr}); in DEF_TEST() 169 SkSVGTextContext::ScopedPosResolver pa(*a, lctx, &tctx, tst.offseta); in DEF_TEST() 170 SkSVGTextContext::ScopedPosResolver pb(*b, lctx, &tctx, tst.offsetb); in DEF_TEST()
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
D | by_store.c | 16 static int cache_objects(X509_LOOKUP *lctx, const char *uri, in cache_objects() argument 22 X509_STORE *xstore = X509_LOOKUP_get_store(lctx); in cache_objects() 66 ok = cache_objects(lctx, OSSL_STORE_INFO_get0_NAME(info), in cache_objects()
|
/third_party/openssl/crypto/x509/ |
D | by_store.c | 16 static int cache_objects(X509_LOOKUP *lctx, const char *uri, in cache_objects() argument 22 X509_STORE *xstore = X509_LOOKUP_get_store(lctx); in cache_objects() 66 ok = cache_objects(lctx, OSSL_STORE_INFO_get0_NAME(info), in cache_objects()
|
/third_party/ffmpeg/libavformat/ |
D | sbgdec.c | 847 int lctx = ectx - ctx; in parse_script() local 849 if (lctx > 0 && ctx[lctx - 1] == '\r') in parse_script() 850 lctx--; in parse_script() 851 if (lctx == 0) { in parse_script() 853 lctx = strlen(ctx); in parse_script() 857 sp.line_no, sp.err_msg, quote, lctx, ctx, quote); in parse_script()
|