Home
last modified time | relevance | path

Searched refs:fStack (Results 1 – 25 of 55) sorted by relevance

123

/third_party/flutter/skia/src/core/
DSkRasterClipStack.h67 : fStack(fStorage, sizeof(fStorage)) in SkRasterClipStack()
70 Rec& rec = fStack.push(); in SkRasterClipStack()
73 SkASSERT(fStack.count() == 1); in SkRasterClipStack()
79 SkASSERT(fStack.count() == 1); in setNewSize()
80 Rec& rec = fStack.top(); in setNewSize()
85 const SkRasterClip& rc() const { return fStack.top().fRC; } in rc()
89 SkASSERT(fStack.top().fDeferredCount >= 0); in save()
90 fStack.top().fDeferredCount += 1; in save()
95 if (--fStack.top().fDeferredCount < 0) { in restore()
96 SkASSERT(fStack.top().fDeferredCount == -1); in restore()
[all …]
DSkClipStack.cpp873 SkClipStack::Iter::Iter() : fStack(nullptr) { in Iter()
877 : fStack(&stack) { in Iter()
891 if (nullptr == fStack) { in skipToTopmost()
895 fIter.reset(fStack->fDeque, SkDeque::Iter::kBack_IterStart); in skipToTopmost()
914 fIter.reset(fStack->fDeque, SkDeque::Iter::kFront_IterStart); in skipToTopmost()
922 fIter.reset(fStack->fDeque, SkDeque::Iter::kFront_IterStart); in skipToTopmost()
929 fStack = &stack; in reset()
/third_party/skia/src/core/
DSkRasterClipStack.h21 fStack.emplace_back(SkRasterClip(fRootBounds)); in SkRasterClipStack()
22 SkASSERT(fStack.count() == 1); in SkRasterClipStack()
28 SkASSERT(fStack.count() == 1); in setNewSize()
29 Rec& rec = fStack.back(); in setNewSize()
34 const SkRasterClip& rc() const { return fStack.back().fRC; } in rc()
38 SkASSERT(fStack.back().fDeferredCount >= 0); in save()
39 fStack.back().fDeferredCount += 1; in save()
46 if (--fStack.back().fDeferredCount < 0) { in restore()
47 SkASSERT(fStack.back().fDeferredCount == -1); in restore()
48 SkASSERT(fStack.count() > 1); in restore()
[all …]
DSkMarkerStack.cpp18 for (auto it = fStack.rbegin(); it != fStack.rend(); ++it) { in setMarker()
29 fStack.push_back({boundary, mx, inv, id}); in setMarker()
34 for (auto it = fStack.rbegin(); it != fStack.rend(); ++it) { in findMarker()
47 for (auto it = fStack.rbegin(); it != fStack.rend(); ++it) { in findMarkerInverse()
59 while (!fStack.empty() && fStack.back().fBoundary == boundary) { in restore()
60 fStack.pop_back(); in restore()
DSkClipStack.cpp792 SkClipStack::Iter::Iter() : fStack(nullptr) { in Iter()
796 : fStack(&stack) { in Iter()
809 if (nullptr == fStack) { in skipToTopmost()
813 fIter.reset(fStack->fDeque, SkDeque::Iter::kBack_IterStart); in skipToTopmost()
832 fIter.reset(fStack->fDeque, SkDeque::Iter::kFront_IterStart); in skipToTopmost()
840 fIter.reset(fStack->fDeque, SkDeque::Iter::kFront_IterStart); in skipToTopmost()
847 fStack = &stack; in reset()
DSkMarkerStack.h32 std::vector<Rec> fStack; variable
/third_party/flutter/skia/src/sksl/lex/
DRegexParser.cpp15 SkASSERT(fStack.size() == 0); in parse()
17 SkASSERT(fStack.size() == 1); in parse()
38 RegexNode result = fStack.top(); in pop()
39 fStack.pop(); in pop()
55 case '*': fStack.push(RegexNode(RegexNode::kStar_Kind, this->pop())); ++fIndex; break; in quantifiedTerm()
56 case '+': fStack.push(RegexNode(RegexNode::kPlus_Kind, this->pop())); ++fIndex; break; in quantifiedTerm()
57 case '?': fStack.push(RegexNode(RegexNode::kQuestion_Kind, this->pop())); ++fIndex; break; in quantifiedTerm()
73 fStack.emplace(RegexNode::kConcat_Kind, std::move(left), std::move(right)); in sequence()
92 fStack.push(this->escapeSequence(peek())); in literal()
96 fStack.push(RegexNode(RegexNode::kChar_Kind, c)); in literal()
[all …]
/third_party/skia/src/sksl/lex/
DRegexParser.cpp15 SkASSERT(fStack.size() == 0); in parse()
17 SkASSERT(fStack.size() == 1); in parse()
38 RegexNode result = fStack.top(); in pop()
39 fStack.pop(); in pop()
55 case '*': fStack.push(RegexNode(RegexNode::kStar_Kind, this->pop())); ++fIndex; break; in quantifiedTerm()
56 case '+': fStack.push(RegexNode(RegexNode::kPlus_Kind, this->pop())); ++fIndex; break; in quantifiedTerm()
57 case '?': fStack.push(RegexNode(RegexNode::kQuestion_Kind, this->pop())); ++fIndex; break; in quantifiedTerm()
73 fStack.emplace(RegexNode::kConcat_Kind, std::move(left), std::move(right)); in sequence()
93 fStack.push(this->escapeSequence(peek())); in literal()
97 fStack.push(RegexNode(RegexNode::kChar_Kind, c)); in literal()
[all …]
/third_party/flutter/skia/experimental/xform/
DXContext.cpp99 int prevCount = fStack.count(); in onPush()
101 Xform** ptr = fStack.append(n) + n; in onPush()
109 RasterXformResolver res(fStack[prevCount - 1]); in onPush()
110 for (int i = prevCount; i < fStack.count(); ++i) { in onPush()
111 fStack[i]->visit(&res); in onPush()
112 fStack[i]->setCache(res.ctm(), res.snapCache()); in onPush()
116 for (int i = 0; i < fStack.count(); ++i) { in onPush()
117 fStack[i]->visit(&res); in onPush()
118 fStack[i]->setCache(res.ctm(), res.snapCache()); in onPush()
129 fStack.setCount(fStack.count() - n); in onPop()
[all …]
/third_party/skia/experimental/xform/
DXContext.cpp99 int prevCount = fStack.count(); in onPush()
101 Xform** ptr = fStack.append(n) + n; in onPush()
109 RasterXformResolver res(fStack[prevCount - 1]); in onPush()
110 for (int i = prevCount; i < fStack.count(); ++i) { in onPush()
111 fStack[i]->visit(&res); in onPush()
112 fStack[i]->setCache(res.ctm(), res.snapCache()); in onPush()
116 for (int i = 0; i < fStack.count(); ++i) { in onPush()
117 fStack[i]->visit(&res); in onPush()
118 fStack[i]->setCache(res.ctm(), res.snapCache()); in onPush()
129 fStack.setCount(fStack.count() - n); in onPop()
[all …]
/third_party/skia/experimental/sorttoy/
DFake.h68 int count() const { return fStack.size(); } in count()
71 const std::vector<MCState>& mcStates() const { return fStack; } in mcStates()
72 const MCState& operator[](int index) const { return fStack[index]; }
84 std::vector<MCState> fStack; variable
90 fStack.push_back(FakeMCBlob::MCState()); in FakeStateTracker()
94 sk_sp<FakeMCBlob> tmp = fStack.back().getCached(); in snapState()
99 tmp = sk_make_sp<FakeMCBlob>(fStack); in snapState()
100 fStack.back().setCached(tmp); in snapState()
105 fStack.push_back(FakeMCBlob::MCState()); in push()
109 fStack.back().addClip(std::move(clipCmd)); in clip()
[all …]
DFake.cpp40 FakeMCBlob::FakeMCBlob(const std::vector<MCState>& stack) : fID(NextID()), fStack(stack) { in FakeMCBlob()
43 for (MCState& s : fStack) { in FakeMCBlob()
/third_party/icu/icu4c/source/i18n/
Drematch.cpp157 delete fStack; in ~RegexMatcher()
212 fStack = NULL; in init()
228 fStack = NULL; in init()
254 fStack = new UVector64(status); in init2()
255 if (fStack == NULL) { in init2()
2397 fStack->setMaxCapacity(0); in setStackLimit()
2406 fStack->setMaxCapacity(adjustedLimit); in setStackLimit()
2505 fStack->removeAllElements(); in resetStack()
2507 …REStackFrame *iFrame = (REStackFrame *)fStack->reserveBlock(fPattern->fFrameSize, fDeferredStatus); in resetStack()
2726 int64_t *newFP = fStack->reserveBlock(fFrameSize, status); in StateSave()
[all …]
/third_party/node/deps/icu-small/source/i18n/
Drematch.cpp157 delete fStack; in ~RegexMatcher()
212 fStack = NULL; in init()
228 fStack = NULL; in init()
254 fStack = new UVector64(status); in init2()
255 if (fStack == NULL) { in init2()
2407 fStack->setMaxCapacity(0); in setStackLimit()
2416 fStack->setMaxCapacity(adjustedLimit); in setStackLimit()
2515 fStack->removeAllElements(); in resetStack()
2517 …REStackFrame *iFrame = (REStackFrame *)fStack->reserveBlock(fPattern->fFrameSize, fDeferredStatus); in resetStack()
2736 int64_t *newFP = fStack->reserveBlock(fFrameSize, status); in StateSave()
[all …]
/third_party/skia/third_party/externals/icu/source/i18n/
Drematch.cpp157 delete fStack; in ~RegexMatcher()
212 fStack = NULL; in init()
228 fStack = NULL; in init()
254 fStack = new UVector64(status); in init2()
255 if (fStack == NULL) { in init2()
2397 fStack->setMaxCapacity(0); in setStackLimit()
2406 fStack->setMaxCapacity(adjustedLimit); in setStackLimit()
2505 fStack->removeAllElements(); in resetStack()
2507 …REStackFrame *iFrame = (REStackFrame *)fStack->reserveBlock(fPattern->fFrameSize, fDeferredStatus); in resetStack()
2726 int64_t *newFP = fStack->reserveBlock(fFrameSize, status); in StateSave()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Drematch.cpp157 delete fStack; in ~RegexMatcher()
211 fStack = NULL; in init()
226 fStack = NULL; in init()
252 fStack = new UVector64(status); in init2()
253 if (fStack == NULL) { in init2()
2392 fStack->setMaxCapacity(0); in setStackLimit()
2401 fStack->setMaxCapacity(adjustedLimit); in setStackLimit()
2500 fStack->removeAllElements(); in resetStack()
2502 …REStackFrame *iFrame = (REStackFrame *)fStack->reserveBlock(fPattern->fFrameSize, fDeferredStatus); in resetStack()
2698 int64_t *newFP = fStack->reserveBlock(fFrameSize, status); in StateSave()
[all …]
/third_party/flutter/skia/tests/
DIncrTopoSortTest.cpp201 for (int i = 0; i < fStack.count(); ++i) { in print()
202 SkDebugf("%c/%c ", fStack[i].fNode->id(), fStack[i].fDest->id()); in print()
210 REPORTER_ASSERT(fReporter, fStack.empty()); in validate()
219 for (int i = 0; i < fStack.count(); ++i) { in validate()
220 SkASSERT(fStack[i].fNode->visited()); in validate()
239 fStack.push_back({ sk_ref_sp(node), fNodes[upperBound].get() }); in dfs()
254 for (int i = 0; i < fStack.count(); ++i) { in stackContains()
255 if (node == fStack[i].fNode.get()) { in stackContains()
269 while (!fStack.empty()) { in shift()
290 while (!fStack.empty() && node.get() == fStack.back().fDest) { in shift()
[all …]
/third_party/skia/tests/
DIncrTopoSortTest.cpp201 for (int i = 0; i < fStack.count(); ++i) { in print()
202 SkDebugf("%c/%c ", fStack[i].fNode->id(), fStack[i].fDest->id()); in print()
210 REPORTER_ASSERT(fReporter, fStack.empty()); in validate()
219 for (int i = 0; i < fStack.count(); ++i) { in validate()
220 SkASSERT(fStack[i].fNode->visited()); in validate()
239 fStack.push_back({ sk_ref_sp(node), fNodes[upperBound].get() }); in dfs()
254 for (int i = 0; i < fStack.count(); ++i) { in stackContains()
255 if (node == fStack[i].fNode.get()) { in stackContains()
269 while (!fStack.empty()) { in shift()
290 while (!fStack.empty() && node.get() == fStack.back().fDest) { in shift()
[all …]
/third_party/skia/src/sksl/analysis/
DSkSLCheckProgramUnrolledSize.cpp66 for (auto unwind = fStack.rbegin(); unwind != fStack.rend(); ++unwind) { in CheckProgramUnrolledSize()
83 if (fStack.size() >= kProgramStackDepthLimit) { in CheckProgramUnrolledSize()
85 for (auto unwind = fStack.begin(); unwind != fStack.end(); ++unwind) { in CheckProgramUnrolledSize()
95 fStack.push_back(decl); in CheckProgramUnrolledSize()
99 fStack.pop_back(); in CheckProgramUnrolledSize()
188 std::vector<const FunctionDeclaration*> fStack; in CheckProgramUnrolledSize() member in SkSL::Analysis::CheckProgramUnrolledSize::ProgramSizeVisitor
/third_party/flutter/skia/src/gpu/
DGrClipStackClip.cpp39 if (!fStack || fStack->isWideOpen()) { in quickContains()
42 return fStack->quickContains(rect); in quickContains()
46 if (!fStack || fStack->isWideOpen()) { in quickContains()
49 return fStack->quickContains(rrect); in quickContains()
53 if (!fStack) { in isRRect()
58 if (fStack->isRRect(*rtBounds, rr, &isAA)) { in isRRect()
67 if (!fStack) { in getConservativeBounds()
75 fStack->getConservativeBounds(0, 0, width, height, &devBounds, isIntersectionOfRects); in getConservativeBounds()
203 if (!fStack || fStack->isWideOpen()) { in apply()
225 GrReducedClip reducedClip(*fStack, devBounds, context->priv().caps(), in apply()
[all …]
DGrClipStackClip.h25 void reset(const SkClipStack* stack) { fStack = stack; } in reset()
65 const SkClipStack* fStack; variable
/third_party/skia/modules/particles/include/
DSkParticleSerialization.h70 fStack.push_back(&fRoot); in SkFromJsonVisitor()
107 fStack.push_back((const skjson::ObjectValue*)get(name)); in enterObject()
110 fStack.pop_back(); in exitObject()
115 fStack.push_back(arrVal); in enterArray()
120 fStack.pop_back(); in exitArray()
127 if (const skjson::Value* cur = fStack.back()) { in get()
182 SkSTArray<16, const skjson::Value*, true> fStack; variable
/third_party/skia/src/sksl/
DSkSLThreadContext.h132 SkASSERTF(!Instance().fStack.empty(), "This feature requires a FragmentProcessor"); in CurrentProcessor()
133 return Instance().fStack.top().fProcessor; in CurrentProcessor()
140 SkASSERTF(!Instance().fStack.empty(), "This feature requires a FragmentProcessor"); in CurrentEmitArgs()
141 return Instance().fStack.top().fEmitArgs; in CurrentEmitArgs()
145 return !Instance().fStack.empty(); in InFragmentProcessor()
217 std::stack<StackFrame, std::list<StackFrame>> fStack; variable
DSkSLThreadContext.cpp150 instance.fStack.push({processor, emitArgs, StatementArray{}}); in StartFragmentProcessor()
151 CurrentEmitArgs()->fFragBuilder->fDeclarations.swap(instance.fStack.top().fSavedDeclarations); in StartFragmentProcessor()
157 SkASSERT(!instance.fStack.empty()); in EndFragmentProcessor()
158 CurrentEmitArgs()->fFragBuilder->fDeclarations.swap(instance.fStack.top().fSavedDeclarations); in EndFragmentProcessor()
159 instance.fStack.pop(); in EndFragmentProcessor()
/third_party/flutter/skia/modules/particles/include/
DSkParticleSerialization.h89 fStack.push_back(&fRoot); in SkFromJsonVisitor()
149 fStack.push_back((const skjson::ObjectValue*)get(name)); in enterObject()
152 fStack.pop_back(); in exitObject()
157 fStack.push_back(arrVal); in enterArray()
162 fStack.pop_back(); in exitArray()
169 if (const skjson::Value* cur = fStack.back()) { in get()
224 SkSTArray<16, const skjson::Value*, true> fStack; variable

123