/external/skqp/src/core/ |
D | SkRasterClipStack.h | 67 : 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 …]
|
D | SkClipStack.cpp | 873 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()
|
/external/skia/src/core/ |
D | SkRasterClipStack.h | 67 : 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 …]
|
D | SkClipStack.cpp | 873 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()
|
/external/skia/src/sksl/lex/ |
D | RegexParser.cpp | 15 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 …]
|
D | RegexParser.h | 86 std::stack<RegexNode> fStack; variable
|
/external/skqp/src/sksl/lex/ |
D | RegexParser.cpp | 15 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 …]
|
/external/skqp/src/sksl/ |
D | SkSLInterpreter.cpp | 49 StackIndex current = (StackIndex) fStack.size(); in run() 61 fStack.push_back(value); in push() 65 auto iter = fStack.end() - 1; in pop() 67 fStack.erase(iter); in pop() 72 int result = fStack.size(); in stackAlloc() 74 fStack.push_back(Value((int) 0xDEADBEEF)); in stackAlloc() 168 fStack[pos] = this->evaluate(*var->fInitialValue); in runStatement() 238 fPipeline.append(SkRasterPipeline::matrix_4x5, &fStack[transpose]); in appendStage() 310 Value result = fStack[left]; \ in evaluate() 321 fStack[left] = result; \ in evaluate() [all …]
|
D | SkSLInterpreter.h | 57 , fStack(*stack) {} in Interpreter() 84 std::vector<Value> &fStack; variable
|
/external/skia/src/sksl/ |
D | SkSLInterpreter.cpp | 49 StackIndex current = (StackIndex) fStack.size(); in run() 61 fStack.push_back(value); in push() 65 auto iter = fStack.end() - 1; in pop() 67 fStack.erase(iter); in pop() 72 int result = fStack.size(); in stackAlloc() 74 fStack.push_back(Value((int) 0xDEADBEEF)); in stackAlloc() 168 fStack[pos] = this->evaluate(*var->fInitialValue); in runStatement() 238 fPipeline.append(SkRasterPipeline::matrix_4x5, &fStack[transpose]); in appendStage() 310 Value result = fStack[left]; \ in evaluate() 321 fStack[left] = result; \ in evaluate() [all …]
|
D | SkSLInterpreter.h | 57 , fStack(*stack) {} in Interpreter() 84 std::vector<Value> &fStack; variable
|
/external/icu/icu4c/source/i18n/ |
D | rematch.cpp | 157 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 …]
|
/external/skqp/tests/ |
D | IncrTopoSortTest.cpp | 201 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 …]
|
/external/skia/tests/ |
D | IncrTopoSortTest.cpp | 201 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 …]
|
/external/skqp/src/gpu/ |
D | GrClipStackClip.cpp | 38 if (!fStack || fStack->isWideOpen()) { in quickContains() 41 return fStack->quickContains(rect); in quickContains() 45 if (!fStack || fStack->isWideOpen()) { in quickContains() 48 return fStack->quickContains(rrect); in quickContains() 52 if (!fStack) { in isRRect() 57 if (fStack->isRRect(*rtBounds, rr, &isAA)) { in isRRect() 66 if (!fStack) { in getConservativeBounds() 74 fStack->getConservativeBounds(0, 0, width, height, &devBounds, isIntersectionOfRects); in getConservativeBounds() 200 if (!fStack || fStack->isWideOpen()) { in apply() 218 GrReducedClip reducedClip(*fStack, devBounds, context->contextPriv().caps(), in apply() [all …]
|
D | GrClipStackClip.h | 25 void reset(const SkClipStack* stack) { fStack = stack; } in reset() 65 const SkClipStack* fStack; variable
|
/external/skia/src/gpu/ |
D | GrClipStackClip.cpp | 39 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() 201 if (!fStack || fStack->isWideOpen()) { in apply() 219 GrReducedClip reducedClip(*fStack, devBounds, context->priv().caps(), in apply() [all …]
|
D | GrClipStackClip.h | 25 void reset(const SkClipStack* stack) { fStack = stack; } in reset() 65 const SkClipStack* fStack; variable
|
/external/skia/tools/bookmaker/ |
D | parserCommon.cpp | 416 SkASSERT(fStack.back().fArray); in baseDir() 417 SkASSERT(fStack.size() > 2); in baseDir() 419 for (unsigned index = 2; index < fStack.size(); ++index) { in baseDir() 420 dir += fStack[index].fName; in baseDir() 421 if (index < fStack.size() - 1) { in baseDir() 436 if (fStack.empty()) { in next() 439 status = &fStack.back(); in next() 443 fStack.pop_back(); in next() 445 if (1 == fStack.size()) { in next() 469 fStack.emplace_back(block); in next() [all …]
|
D | parserCommon.h | 308 bool empty() { return fStack.empty(); } in empty() 312 fStack.clear(); in reset() 316 vector<JsonStatus> fStack; variable
|
D | fiddleParser.cpp | 23 if (fStack.empty()) { in parseFiddles() 26 JsonStatus* status = &fStack.back(); in parseFiddles()
|
/external/skqp/tools/bookmaker/ |
D | parserCommon.cpp | 417 SkASSERT(fStack.back().fObject.isArray()); in baseDir() 418 SkASSERT(fStack.size() > 2); in baseDir() 420 for (unsigned index = 2; index < fStack.size(); ++index) { in baseDir() 421 dir += fStack[index].fName; in baseDir() 422 if (index < fStack.size() - 1) { in baseDir() 437 if (fStack.empty()) { in next() 440 status = &fStack.back(); in next() 444 fStack.pop_back(); in next() 446 if (1 == fStack.size()) { in next() 472 fStack.emplace_back(block); in next() [all …]
|
D | parserCommon.h | 266 bool empty() { return fStack.empty(); } in empty() 270 fStack.clear(); in reset() 274 vector<JsonStatus> fStack; variable
|
D | fiddleParser.cpp | 23 if (fStack.empty()) { in parseFiddles() 26 JsonStatus* status = &fStack.back(); in parseFiddles()
|
/external/skia/modules/particles/include/ |
D | SkParticleSerialization.h | 78 fStack.push_back(&fRoot); in SkFromJsonVisitor() 124 fStack.push_back((const skjson::ObjectValue*)get(name)); in enterObject() 127 fStack.pop_back(); in exitObject() 132 fStack.push_back(arrVal); in enterArray() 137 fStack.pop_back(); in exitArray() 144 if (const skjson::Value* cur = fStack.back()) { in get() 199 SkSTArray<16, const skjson::Value*, true> fStack; variable
|