Home
last modified time | relevance | path

Searched refs:verbCount (Results 1 – 20 of 20) sorted by relevance

/external/skia/src/core/
DSkPathPriv.h55 int verbCount = path.countVerbs(); in IsClosedSingleContour() local
56 if (verbCount == 0) in IsClosedSingleContour()
60 for (int i = 0; i < verbCount; i++) { in IsClosedSingleContour()
69 if (i == verbCount - 1) { in IsClosedSingleContour()
83 int verbCount = path.countVerbs(); in LeadingMoveToCount() local
85 for (int i = 0; i < verbCount; i++) { in LeadingMoveToCount()
90 return verbCount; // path is all move verbs in LeadingMoveToCount()
DSkPath.cpp374 int verbCount = fPathRef->countVerbs(); in isLastContourClosed() local
375 if (0 == verbCount) { in isLastContourClosed()
378 return kClose_Verb == fPathRef->atVerb(verbCount - 1); in isLastContourClosed()
382 int verbCount = fPathRef->countVerbs(); in isLine() local
384 if (2 == verbCount) { in isLine()
3331 SkPathVerbAnalysis sk_path_analyze_verbs(const uint8_t vbs[], int verbCount) { in sk_path_analyze_verbs() argument
3336 for (int i = 0; i < verbCount; ++i) { in sk_path_analyze_verbs()
3377 const uint8_t vbs[], int verbCount, in Make() argument
3380 if (verbCount <= 0) { in Make()
3384 const auto info = sk_path_analyze_verbs(vbs, verbCount); in Make()
[all …]
/external/skqp/src/pathops/
DSkOpBuilder.cpp17 int verbCount = path.countVerbs(); in one_contour() local
18 uint8_t* verbs = (uint8_t*) allocator.makeArrayDefault<uint8_t>(verbCount); in one_contour()
19 (void) path.getVerbs(verbs, verbCount); in one_contour()
20 for (int index = 1; index < verbCount; ++index) { in one_contour()
DSkPathOpsAsWinding.cpp211 int verbCount = -1; in nextEdge() local
215 if (++verbCount < contour.fVerbStart) { in nextEdge()
218 if (verbCount >= contour.fVerbEnd) { in nextEdge()
329 int verbCount = 0; in reverseMarkedContours() local
359 } while (++verbCount < contour.fVerbEnd); in reverseMarkedContours()
DSkOpEdgeBuilder.cpp66 int verbCount = fPathVerbs.count(); in closeContour() local
68 if (SkPath::kLine_Verb == fPathVerbs[verbCount - 1] in closeContour()
/external/skia/tests/
DSubsetPath.cpp150 int verbCount = 0; in SubsetVerbs() local
159 ++verbCount; in SubsetVerbs()
168 for (int index = 0; index < verbCount; ++index) { in SubsetVerbs()
171 fTries = verbCount; in SubsetVerbs()
/external/skqp/src/core/
DSkPathPriv.h73 int verbCount = path.countVerbs(); in IsClosedSingleContour() local
74 if (verbCount == 0) in IsClosedSingleContour()
78 for (int i = 0; i < verbCount; i++) { in IsClosedSingleContour()
87 if (i == verbCount - 1) { in IsClosedSingleContour()
DSkPathRef.cpp62 int verbCount = fPathRef->fVerbCnt; in shrinkToFit() local
65 size_t vrbSize = sizeof(uint8_t) * verbCount; in shrinkToFit()
328 int32_t verbCount, pointCount, conicCount; in CreateFromBuffer() local
330 !buffer->readS32(&verbCount) || (verbCount < 0) || in CreateFromBuffer()
343 size_t verbSize = verbCount * sizeof(uint8_t); in CreateFromBuffer()
357 ref->resetToSize(verbCount, pointCount, conicCount); in CreateFromBuffer()
358 SkASSERT(verbCount == ref->countVerbs()); in CreateFromBuffer()
DSkScan_AntiPath.cpp670 int verbCount = SkTMin(kSampleSize, path.getVerbs(sampleVerbs, kSampleSize)); in ShouldUseDAA()
672 for(int i = 0; i < verbCount; ++i) { in ShouldUseDAA()
675 if (cubicCount * 2 >= verbCount) { in ShouldUseDAA()
DSkPath.cpp399 int verbCount = fPathRef->countVerbs(); in isLastContourClosed() local
400 if (0 == verbCount) { in isLastContourClosed()
403 return kClose_Verb == fPathRef->atVerb(verbCount - 1); in isLastContourClosed()
407 int verbCount = fPathRef->countVerbs(); in isLine() local
409 if (2 == verbCount) { in isLine()
/external/skia/src/pathops/
DSkOpBuilder.cpp17 int verbCount = path.countVerbs(); in one_contour() local
18 uint8_t* verbs = (uint8_t*) allocator.makeArrayDefault<uint8_t>(verbCount); in one_contour()
19 (void) path.getVerbs(verbs, verbCount); in one_contour()
20 for (int index = 1; index < verbCount; ++index) { in one_contour()
DSkPathOpsAsWinding.cpp208 int verbCount = -1; in nextEdge() local
212 if (++verbCount < contour.fVerbStart) { in nextEdge()
215 if (verbCount >= contour.fVerbEnd) { in nextEdge()
327 int verbCount = 0; in reverseMarkedContours() local
334 for (; iter != iterate.end() && verbCount < contour.fVerbEnd; ++iter, ++verbCount) { in reverseMarkedContours()
DSkOpEdgeBuilder.cpp70 int verbCount = fPathVerbs.count(); in closeContour() local
72 if (SkPath::kLine_Verb == fPathVerbs[verbCount - 1] in closeContour()
/external/skqp/tests/
DSubsetPath.cpp158 int verbCount = 0; in SubsetVerbs() local
167 ++verbCount; in SubsetVerbs()
176 for (int index = 0; index < verbCount; ++index) { in SubsetVerbs()
179 fTries = verbCount; in SubsetVerbs()
/external/skqp/samplecode/
DSamplePathFuzz.cpp600 int verbCount = path.countVerbs(); in contains_only_moveTo() local
601 if (verbCount == 0) { in contains_only_moveTo()
605 verbs.setCount(verbCount); in contains_only_moveTo()
606 SkDEBUGCODE(int getVerbResult = ) path.getVerbs(verbs.begin(), verbCount); in contains_only_moveTo()
607 SkASSERT(getVerbResult == verbCount); in contains_only_moveTo()
608 for (int index = 0; index < verbCount; ++index) { in contains_only_moveTo()
/external/skqp/include/private/
DSkPathRef.h402 void resetToSize(int verbCount, int pointCount, int conicCount,
412 size_t newSize = sizeof(uint8_t) * verbCount + sizeof(SkPoint) * pointCount;
426 fVerbCnt = verbCount;
431 fVerbCnt = verbCount;
/external/skia/include/private/
DSkPathRef.h421 void resetToSize(int verbCount, int pointCount, int conicCount,
434 fVerbs.setReserve(verbCount + reserveVerbs);
435 fVerbs.setCount(verbCount);
/external/skqp/tools/fonts/
Dcreate_test_font.cpp212 int verbCount = verbs.count(); in output_font() local
214 for (int index = 0; index < verbCount;) { in output_font()
219 if (++index < verbCount) { in output_font()
/external/skia/tools/fonts/
Dcreate_test_font.cpp209 int verbCount = verbs.count(); in output_font() local
211 for (int index = 0; index < verbCount;) { in output_font()
216 if (++index < verbCount) { in output_font()
/external/skia/include/core/
DSkPath.h66 const uint8_t[], int verbCount,