Home
last modified time | relevance | path

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

/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.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/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/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/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()
333 int32_t verbCount, pointCount, conicCount; in CreateFromBuffer() local
335 !buffer->readS32(&verbCount) || (verbCount < 0) || in CreateFromBuffer()
348 size_t verbSize = verbCount * sizeof(uint8_t); in CreateFromBuffer()
362 ref->resetToSize(verbCount, pointCount, conicCount); in CreateFromBuffer()
363 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/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/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.h402 void resetToSize(int verbCount, int pointCount, int conicCount,
413 size_t newSize = sizeof(uint8_t) * verbCount + sizeof(SkPoint) * pointCount;
427 fVerbCnt = verbCount;
432 fVerbCnt = verbCount;
/external/skia/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/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()