Lines Matching defs:verbs

1725     path.lineTo(0, 0);  // too many points/verbs
2560 // find where the counts and verbs are stored : from the impl in SkPathRef.cpp
2567 uint8_t* verbs = &buffer[28];
2589 // Check that we detect when the verbs indicate more or fewer pts/conics
2591 uint8_t save = verbs[0];
2593 verbs[0] = SkPath::kQuad_Verb;
2595 verbs[0] = save;
2597 save = verbs[1];
2599 verbs[1] = SkPath::kQuad_Verb;
2601 verbs[1] = SkPath::kCubic_Verb;
2603 verbs[1] = save;
2605 // Check that we detect invalid verbs
2606 save = verbs[1];
2607 verbs[1] = 17;
2609 verbs[1] = save;
2770 uint8_t verbs[32];
2832 REPORTER_ASSERT(reporter, gZeroLengthTests[i].numResultVerbs == (size_t)p.getVerbs(verbs, SK_ARRAY_COUNT(verbs)));
2834 REPORTER_ASSERT(reporter, gZeroLengthTests[i].resultVerbs[j] == verbs[j]);
3928 uint8_t verbs[4];
3929 int verbcount = p.getVerbs(verbs, 4);
3931 REPORTER_ASSERT(reporter, verbs[0] == SkPath::kMove_Verb);
3932 REPORTER_ASSERT(reporter, verbs[1] == SkPath::kLine_Verb);
3933 REPORTER_ASSERT(reporter, verbs[2] == (extend ? SkPath::kLine_Verb : SkPath::kMove_Verb));
3934 REPORTER_ASSERT(reporter, verbs[3] == SkPath::kLine_Verb);
3946 uint8_t verbs[7];
3947 int verbcount = p.getVerbs(verbs, 7);
3949 REPORTER_ASSERT(reporter, verbs[0] == SkPath::kMove_Verb);
3950 REPORTER_ASSERT(reporter, verbs[1] == SkPath::kLine_Verb);
3951 REPORTER_ASSERT(reporter, verbs[2] == SkPath::kLine_Verb);
3952 REPORTER_ASSERT(reporter, verbs[3] == SkPath::kClose_Verb);
3953 REPORTER_ASSERT(reporter, verbs[4] == SkPath::kMove_Verb);
3954 REPORTER_ASSERT(reporter, verbs[5] == SkPath::kLine_Verb);
3955 REPORTER_ASSERT(reporter, verbs[6] == SkPath::kLine_Verb);
4585 uint8_t verbs[6];
4586 verbs[5] = 0xff;
4587 p.getVerbs(verbs, 5);
4588 REPORTER_ASSERT(reporter, SkPath::kMove_Verb == verbs[0]);
4589 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == verbs[1]);
4590 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == verbs[2]);
4591 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == verbs[3]);
4592 REPORTER_ASSERT(reporter, SkPath::kClose_Verb == verbs[4]);
4593 REPORTER_ASSERT(reporter, 0xff == verbs[5]);
4737 const SkPath::Verb verbs[] = {
4742 for (SkPath::Verb verb : verbs) {