Home
last modified time | relevance | path

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

/external/skqp/src/core/
DSkPathPriv.h65 int verbCount = path.countVerbs(); in IsClosedSingleContour() local
66 if (verbCount == 0) in IsClosedSingleContour()
70 for (int i = 0; i < verbCount; i++) { in IsClosedSingleContour()
79 if (i == verbCount - 1) { in IsClosedSingleContour()
DSkPathRef.cpp282 int32_t verbCount, pointCount, conicCount; in CreateFromBuffer() local
284 !buffer->readS32(&verbCount) || (verbCount < 0) || in CreateFromBuffer()
297 size_t verbSize = verbCount * sizeof(uint8_t); in CreateFromBuffer()
311 ref->resetToSize(verbCount, pointCount, conicCount); in CreateFromBuffer()
312 SkASSERT(verbCount == ref->countVerbs()); in CreateFromBuffer()
DSkPath.cpp230 int verbCount = fPathRef->countVerbs(); in interpolate() local
231 if (verbCount != ending.fPathRef->countVerbs()) { in interpolate()
234 if (!verbCount) { in interpolate()
372 int verbCount = fPathRef->countVerbs(); in isLastContourClosed() local
373 if (0 == verbCount) { in isLastContourClosed()
376 return kClose_Verb == fPathRef->atVerb(verbCount - 1); in isLastContourClosed()
380 int verbCount = fPathRef->countVerbs(); in isLine() local
382 if (2 == verbCount) { in isLine()
/external/skia/src/core/
DSkPathPriv.h65 int verbCount = path.countVerbs(); in IsClosedSingleContour() local
66 if (verbCount == 0) in IsClosedSingleContour()
70 for (int i = 0; i < verbCount; i++) { in IsClosedSingleContour()
79 if (i == verbCount - 1) { in IsClosedSingleContour()
DSkPathRef.cpp281 int32_t verbCount, pointCount, conicCount; in CreateFromBuffer() local
283 !buffer->readS32(&verbCount) || (verbCount < 0) || in CreateFromBuffer()
296 size_t verbSize = verbCount * sizeof(uint8_t); in CreateFromBuffer()
310 ref->resetToSize(verbCount, pointCount, conicCount); in CreateFromBuffer()
311 SkASSERT(verbCount == ref->countVerbs()); in CreateFromBuffer()
DSkPath.cpp231 int verbCount = fPathRef->countVerbs(); in interpolate() local
232 if (verbCount != ending.fPathRef->countVerbs()) { in interpolate()
235 if (!verbCount) { in interpolate()
373 int verbCount = fPathRef->countVerbs(); in isLastContourClosed() local
374 if (0 == verbCount) { in isLastContourClosed()
377 return kClose_Verb == fPathRef->atVerb(verbCount - 1); in isLastContourClosed()
381 int verbCount = fPathRef->countVerbs(); in isLine() local
383 if (2 == verbCount) { in isLine()
/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()
DSkOpEdgeBuilder.cpp66 int verbCount = fPathVerbs.count(); in closeContour() local
68 if (SkPath::kLine_Verb == fPathVerbs[verbCount - 1] in closeContour()
/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()
DSkOpEdgeBuilder.cpp66 int verbCount = fPathVerbs.count(); in closeContour() local
68 if (SkPath::kLine_Verb == fPathVerbs[verbCount - 1] in closeContour()
/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/include/private/
DSkPathRef.h382 void resetToSize(int verbCount, int pointCount, int conicCount,
392 size_t newSize = sizeof(uint8_t) * verbCount + sizeof(SkPoint) * pointCount;
406 fVerbCnt = verbCount;
411 fVerbCnt = verbCount;
/external/skia/include/private/
DSkPathRef.h386 void resetToSize(int verbCount, int pointCount, int conicCount,
396 size_t newSize = sizeof(uint8_t) * verbCount + sizeof(SkPoint) * pointCount;
410 fVerbCnt = verbCount;
415 fVerbCnt = verbCount;
/external/skqp/samplecode/
DSamplePathFuzz.cpp601 int verbCount = path.countVerbs(); in contains_only_moveTo() local
602 if (verbCount == 0) { in contains_only_moveTo()
606 verbs.setCount(verbCount); in contains_only_moveTo()
607 SkDEBUGCODE(int getVerbResult = ) path.getVerbs(verbs.begin(), verbCount); in contains_only_moveTo()
608 SkASSERT(getVerbResult == verbCount); in contains_only_moveTo()
609 for (int index = 0; index < verbCount; ++index) { in contains_only_moveTo()
/external/skia/samplecode/
DSamplePathFuzz.cpp601 int verbCount = path.countVerbs(); in contains_only_moveTo() local
602 if (verbCount == 0) { in contains_only_moveTo()
606 verbs.setCount(verbCount); in contains_only_moveTo()
607 SkDEBUGCODE(int getVerbResult = ) path.getVerbs(verbs.begin(), verbCount); in contains_only_moveTo()
608 SkASSERT(getVerbResult == verbCount); in contains_only_moveTo()
609 for (int index = 0; index < verbCount; ++index) { in contains_only_moveTo()
/external/skqp/tools/
Dcreate_test_font.cpp248 int verbCount = verbs.count(); in output_font() local
250 for (int index = 0; index < verbCount;) { in output_font()
255 if (++index < verbCount) { in output_font()
/external/skia/tools/fonts/
Dcreate_test_font.cpp249 int verbCount = verbs.count(); in output_font() local
251 for (int index = 0; index < verbCount;) { in output_font()
256 if (++index < verbCount) { in output_font()