Lines Matching refs:verbs
1338 path.lineTo(0, 0); // too many points/verbs
2161 uint8_t verbs[32];
2223 REPORTER_ASSERT(reporter, gZeroLengthTests[i].numResultVerbs == (size_t)p.getVerbs(verbs, SK_ARRAY_COUNT(verbs)));
2225 REPORTER_ASSERT(reporter, gZeroLengthTests[i].resultVerbs[j] == verbs[j]);
3199 uint8_t verbs[4];
3200 int verbcount = p.getVerbs(verbs, 4);
3202 REPORTER_ASSERT(reporter, verbs[0] == SkPath::kMove_Verb);
3203 REPORTER_ASSERT(reporter, verbs[1] == SkPath::kLine_Verb);
3204 REPORTER_ASSERT(reporter, verbs[2] == (extend ? SkPath::kLine_Verb : SkPath::kMove_Verb));
3205 REPORTER_ASSERT(reporter, verbs[3] == SkPath::kLine_Verb);
3217 uint8_t verbs[7];
3218 int verbcount = p.getVerbs(verbs, 7);
3220 REPORTER_ASSERT(reporter, verbs[0] == SkPath::kMove_Verb);
3221 REPORTER_ASSERT(reporter, verbs[1] == SkPath::kLine_Verb);
3222 REPORTER_ASSERT(reporter, verbs[2] == SkPath::kLine_Verb);
3223 REPORTER_ASSERT(reporter, verbs[3] == SkPath::kClose_Verb);
3224 REPORTER_ASSERT(reporter, verbs[4] == SkPath::kMove_Verb);
3225 REPORTER_ASSERT(reporter, verbs[5] == SkPath::kLine_Verb);
3226 REPORTER_ASSERT(reporter, verbs[6] == SkPath::kLine_Verb);
3552 uint8_t verbs[6];
3553 verbs[5] = 0xff;
3554 p.getVerbs(verbs, 5);
3555 REPORTER_ASSERT(reporter, SkPath::kMove_Verb == verbs[0]);
3556 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == verbs[1]);
3557 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == verbs[2]);
3558 REPORTER_ASSERT(reporter, SkPath::kLine_Verb == verbs[3]);
3559 REPORTER_ASSERT(reporter, SkPath::kClose_Verb == verbs[4]);
3560 REPORTER_ASSERT(reporter, 0xff == verbs[5]);