Home
last modified time | relevance | path

Searched refs:lctx (Results 1 – 21 of 21) sorted by relevance

/external/skqp/experimental/svg/model/
DSkSVGEllipse.cpp58 SkRect SkSVGEllipse::resolve(const SkSVGLengthContext& lctx) const { in resolve()
59 const auto cx = lctx.resolve(fCx, SkSVGLengthContext::LengthType::kHorizontal); in resolve()
60 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); in resolve()
61 const auto rx = lctx.resolve(fRx, SkSVGLengthContext::LengthType::kHorizontal); in resolve()
62 const auto ry = lctx.resolve(fRy, SkSVGLengthContext::LengthType::kVertical); in resolve()
69 void SkSVGEllipse::onDraw(SkCanvas* canvas, const SkSVGLengthContext& lctx, in onDraw() argument
71 canvas->drawOval(this->resolve(lctx), paint); in onDraw()
DSkSVGLine.cpp58 std::tuple<SkPoint, SkPoint> SkSVGLine::resolve(const SkSVGLengthContext& lctx) const { in resolve()
60 SkPoint::Make(lctx.resolve(fX1, SkSVGLengthContext::LengthType::kHorizontal), in resolve()
61 lctx.resolve(fY1, SkSVGLengthContext::LengthType::kVertical)), in resolve()
62 SkPoint::Make(lctx.resolve(fX2, SkSVGLengthContext::LengthType::kHorizontal), in resolve()
63 lctx.resolve(fY2, SkSVGLengthContext::LengthType::kVertical))); in resolve()
66 void SkSVGLine::onDraw(SkCanvas* canvas, const SkSVGLengthContext& lctx, in onDraw() argument
69 std::tie(p0, p1) = this->resolve(lctx); in onDraw()
DSkSVGCircle.cpp49 std::tuple<SkPoint, SkScalar> SkSVGCircle::resolve(const SkSVGLengthContext& lctx) const { in resolve()
50 const auto cx = lctx.resolve(fCx, SkSVGLengthContext::LengthType::kHorizontal); in resolve()
51 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); in resolve()
52 const auto r = lctx.resolve(fR , SkSVGLengthContext::LengthType::kOther); in resolve()
56 void SkSVGCircle::onDraw(SkCanvas* canvas, const SkSVGLengthContext& lctx, in onDraw() argument
60 std::tie(pos, r) = this->resolve(lctx); in onDraw()
DSkSVGRect.cpp77 SkRRect SkSVGRect::resolve(const SkSVGLengthContext& lctx) const { in resolve()
78 const SkRect rect = lctx.resolveRect(fX, fY, fWidth, fHeight); in resolve()
79 const SkScalar rx = lctx.resolve(fRx, SkSVGLengthContext::LengthType::kHorizontal); in resolve()
80 const SkScalar ry = lctx.resolve(fRy, SkSVGLengthContext::LengthType::kVertical); in resolve()
85 void SkSVGRect::onDraw(SkCanvas* canvas, const SkSVGLengthContext& lctx, in onDraw() argument
87 canvas->drawRRect(this->resolve(lctx), paint); in onDraw()
DSkSVGRadialGradient.cpp71 const auto& lctx = ctx.lengthContext(); in onMakeShader() local
72 const auto r = lctx.resolve(fR , SkSVGLengthContext::LengthType::kOther); in onMakeShader()
74 lctx.resolve(fCx, SkSVGLengthContext::LengthType::kHorizontal), in onMakeShader()
75 lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical)); in onMakeShader()
77 fFx.isValid() ? lctx.resolve(*fFx.get(), SkSVGLengthContext::LengthType::kHorizontal) in onMakeShader()
79 fFy.isValid() ? lctx.resolve(*fFy.get(), SkSVGLengthContext::LengthType::kVertical) in onMakeShader()
DSkSVGLinearGradient.cpp62 const auto& lctx = ctx.lengthContext(); in onMakeShader() local
63 const auto x1 = lctx.resolve(fX1, SkSVGLengthContext::LengthType::kHorizontal); in onMakeShader()
64 const auto y1 = lctx.resolve(fY1, SkSVGLengthContext::LengthType::kVertical); in onMakeShader()
65 const auto x2 = lctx.resolve(fX2, SkSVGLengthContext::LengthType::kHorizontal); in onMakeShader()
66 const auto y2 = lctx.resolve(fY2, SkSVGLengthContext::LengthType::kVertical); in onMakeShader()
DSkSVGSVG.cpp100 SkSize SkSVGSVG::intrinsicSize(const SkSVGLengthContext& lctx) const { in intrinsicSize()
107 return SkSize::Make(lctx.resolve(fWidth, SkSVGLengthContext::LengthType::kHorizontal), in intrinsicSize()
108 lctx.resolve(fHeight, SkSVGLengthContext::LengthType::kVertical)); in intrinsicSize()
DSkSVGDOM.cpp484 SkSVGLengthContext lctx(fContainerSize); in render() local
486 fRoot->render(SkSVGRenderContext(canvas, fIDMapper, lctx, pctx)); in render()
496 const SkSVGLengthContext lctx(SkSize::Make(0, 0)); in intrinsicSize() local
497 return static_cast<const SkSVGSVG*>(fRoot.get())->intrinsicSize(lctx); in intrinsicSize()
DSkSVGRenderContext.cpp291 const SkSVGLengthContext& lctx, in SkSVGRenderContext() argument
294 , fLengthContext(lctx) in SkSVGRenderContext()
/external/skia/experimental/svg/model/
DSkSVGEllipse.cpp58 SkRect SkSVGEllipse::resolve(const SkSVGLengthContext& lctx) const { in resolve()
59 const auto cx = lctx.resolve(fCx, SkSVGLengthContext::LengthType::kHorizontal); in resolve()
60 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); in resolve()
61 const auto rx = lctx.resolve(fRx, SkSVGLengthContext::LengthType::kHorizontal); in resolve()
62 const auto ry = lctx.resolve(fRy, SkSVGLengthContext::LengthType::kVertical); in resolve()
69 void SkSVGEllipse::onDraw(SkCanvas* canvas, const SkSVGLengthContext& lctx, in onDraw() argument
71 canvas->drawOval(this->resolve(lctx), paint); in onDraw()
DSkSVGLine.cpp58 std::tuple<SkPoint, SkPoint> SkSVGLine::resolve(const SkSVGLengthContext& lctx) const { in resolve()
60 SkPoint::Make(lctx.resolve(fX1, SkSVGLengthContext::LengthType::kHorizontal), in resolve()
61 lctx.resolve(fY1, SkSVGLengthContext::LengthType::kVertical)), in resolve()
62 SkPoint::Make(lctx.resolve(fX2, SkSVGLengthContext::LengthType::kHorizontal), in resolve()
63 lctx.resolve(fY2, SkSVGLengthContext::LengthType::kVertical))); in resolve()
66 void SkSVGLine::onDraw(SkCanvas* canvas, const SkSVGLengthContext& lctx, in onDraw() argument
69 std::tie(p0, p1) = this->resolve(lctx); in onDraw()
DSkSVGCircle.cpp49 std::tuple<SkPoint, SkScalar> SkSVGCircle::resolve(const SkSVGLengthContext& lctx) const { in resolve()
50 const auto cx = lctx.resolve(fCx, SkSVGLengthContext::LengthType::kHorizontal); in resolve()
51 const auto cy = lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical); in resolve()
52 const auto r = lctx.resolve(fR , SkSVGLengthContext::LengthType::kOther); in resolve()
56 void SkSVGCircle::onDraw(SkCanvas* canvas, const SkSVGLengthContext& lctx, in onDraw() argument
60 std::tie(pos, r) = this->resolve(lctx); in onDraw()
DSkSVGRect.cpp77 SkRRect SkSVGRect::resolve(const SkSVGLengthContext& lctx) const { in resolve()
78 const SkRect rect = lctx.resolveRect(fX, fY, fWidth, fHeight); in resolve()
79 const SkScalar rx = lctx.resolve(fRx, SkSVGLengthContext::LengthType::kHorizontal); in resolve()
80 const SkScalar ry = lctx.resolve(fRy, SkSVGLengthContext::LengthType::kVertical); in resolve()
85 void SkSVGRect::onDraw(SkCanvas* canvas, const SkSVGLengthContext& lctx, in onDraw() argument
87 canvas->drawRRect(this->resolve(lctx), paint); in onDraw()
DSkSVGRadialGradient.cpp71 const auto& lctx = ctx.lengthContext(); in onMakeShader() local
72 const auto r = lctx.resolve(fR , SkSVGLengthContext::LengthType::kOther); in onMakeShader()
74 lctx.resolve(fCx, SkSVGLengthContext::LengthType::kHorizontal), in onMakeShader()
75 lctx.resolve(fCy, SkSVGLengthContext::LengthType::kVertical)); in onMakeShader()
77 fFx.isValid() ? lctx.resolve(*fFx.get(), SkSVGLengthContext::LengthType::kHorizontal) in onMakeShader()
79 fFy.isValid() ? lctx.resolve(*fFy.get(), SkSVGLengthContext::LengthType::kVertical) in onMakeShader()
DSkSVGLinearGradient.cpp62 const auto& lctx = ctx.lengthContext(); in onMakeShader() local
63 const auto x1 = lctx.resolve(fX1, SkSVGLengthContext::LengthType::kHorizontal); in onMakeShader()
64 const auto y1 = lctx.resolve(fY1, SkSVGLengthContext::LengthType::kVertical); in onMakeShader()
65 const auto x2 = lctx.resolve(fX2, SkSVGLengthContext::LengthType::kHorizontal); in onMakeShader()
66 const auto y2 = lctx.resolve(fY2, SkSVGLengthContext::LengthType::kVertical); in onMakeShader()
DSkSVGSVG.cpp100 SkSize SkSVGSVG::intrinsicSize(const SkSVGLengthContext& lctx) const { in intrinsicSize()
107 return SkSize::Make(lctx.resolve(fWidth, SkSVGLengthContext::LengthType::kHorizontal), in intrinsicSize()
108 lctx.resolve(fHeight, SkSVGLengthContext::LengthType::kVertical)); in intrinsicSize()
DSkSVGDOM.cpp484 SkSVGLengthContext lctx(fContainerSize); in render() local
486 fRoot->render(SkSVGRenderContext(canvas, fIDMapper, lctx, pctx)); in render()
496 const SkSVGLengthContext lctx(SkSize::Make(0, 0)); in intrinsicSize() local
497 return static_cast<const SkSVGSVG*>(fRoot.get())->intrinsicSize(lctx); in intrinsicSize()
DSkSVGRenderContext.cpp291 const SkSVGLengthContext& lctx, in SkSVGRenderContext() argument
294 , fLengthContext(lctx) in SkSVGRenderContext()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DCallEvent.h168 CallEvent(const Expr *E, ProgramStateRef state, const LocationContext *lctx) in CallEvent() argument
169 : State(std::move(state)), LCtx(lctx), Origin(E), RefCount(0) {} in CallEvent()
171 CallEvent(const Decl *D, ProgramStateRef state, const LocationContext *lctx) in CallEvent() argument
172 : State(std::move(state)), LCtx(lctx), Origin(D), RefCount(0) {} in CallEvent()
DSymbolManager.h81 SymbolConjured(SymbolID sym, const Stmt *s, const LocationContext *lctx, in SymbolConjured() argument
84 LCtx(lctx), SymbolTag(symbolTag) {} in SymbolConjured()
/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp941 const LocationContext *lctx, in invalidateRegionsWorker() argument
947 Ex(ex), Count(count), LCtx(lctx), IS(is), ITraits(ITraitsIn), Regions(r), in invalidateRegionsWorker()