Lines Matching defs:count
35 static bool sort_increasing_Y(SkPoint dst[], const SkPoint src[], int count) {
37 if (src[0].fY > src[count - 1].fY) {
38 for (int i = 0; i < count; i++) {
39 dst[i] = src[count - i - 1];
43 memcpy(dst, src, count * sizeof(SkPoint));
78 int count = SkFindUnitQuadRoots(A, B, C, roots);
79 if (count) {
532 static void assert_monotonic(const SkScalar coord[], int count) {
533 if (coord[0] > coord[(count - 1) * 2]) {
534 for (int i = 1; i < count; i++) {
537 } else if (coord[0] < coord[(count - 1) * 2]) {
538 for (int i = 1; i < count; i++) {
542 for (int i = 1; i < count; i++) {
548 void sk_assert_monotonic_y(const SkPoint pts[], int count) {
549 if (count > 1) {
550 assert_monotonic(&pts[0].fY, count);
554 void sk_assert_monotonic_x(const SkPoint pts[], int count) {
555 if (count > 1) {
556 assert_monotonic(&pts[0].fX, count);