Lines Matching refs:SK_ARRAY_COUNT
207 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
209 for (size_t j = 0; j < SK_ARRAY_COUNT(gGradMakers); j++) { in onDraw()
264 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
266 for (size_t j = 0; j < SK_ARRAY_COUNT(gGradMakers4f); j++) { in onDraw()
316 for (size_t i = 0; i < SK_ARRAY_COUNT(gGradData); i++) { in onDraw()
318 for (size_t j = 0; j < SK_ARRAY_COUNT(gGradMakers); j++) { in onDraw()
408 pos, SK_ARRAY_COUNT(pos), in onDraw()
449 SK_ARRAY_COUNT(pos),
514 SK_ARRAY_COUNT(pos), in onDraw()
555 for (size_t i = 0; i < SK_ARRAY_COUNT(flags); i++) { in onDraw()
557 nullptr, SK_ARRAY_COUNT(sweep_colors), in onDraw()
560 nullptr, SK_ARRAY_COUNT(colors1), in onDraw()
564 nullptr, SK_ARRAY_COUNT(colors2), in onDraw()
643 SK_ARRAY_COUNT(gColors), SkTileMode::kClamp); in onOnceBeforeDraw()
685 for (int index = 0; index < (int) SK_ARRAY_COUNT(fShader); ++index) { in onOnceBeforeDraw()
687 for (int inner = 0; inner < (int) SK_ARRAY_COUNT(unitPos); ++inner) { in onOnceBeforeDraw()
691 SK_ARRAY_COUNT(gColors), SkTileMode::kClamp); in onOnceBeforeDraw()
699 for (int index = 0; index < (int) SK_ARRAY_COUNT(fShader); ++index) { in onDraw()
747 for (unsigned i = 0; i < SK_ARRAY_COUNT(configs); ++i) { in onDraw()
870 pts, colors, nullptr, SK_ARRAY_COUNT(colors), SkTileMode::kClamp)); in draw_many_stops()
904 static_assert(SK_ARRAY_COUNT(colors1) == SK_ARRAY_COUNT(pos), "color/pos size mismatch"); in __anon9e8f64a20302()
905 static_assert(SK_ARRAY_COUNT(colors2) == SK_ARRAY_COUNT(pos), "color/pos size mismatch"); in __anon9e8f64a20302()
913 p.setShader(SkGradientShader::MakeLinear(pts1, colors1, pos, SK_ARRAY_COUNT(colors1), in __anon9e8f64a20302()
918 p.setShader(SkGradientShader::MakeLinear(pts2, colors2, pos, SK_ARRAY_COUNT(colors2), in __anon9e8f64a20302()
937 static_assert(SK_ARRAY_COUNT(colors) == SK_ARRAY_COUNT(pos), "color/pos size mismatch"); in __anon9e8f64a20402()
941 colors, pos, SK_ARRAY_COUNT(colors), 0, nullptr)); in __anon9e8f64a20402()
957 static_assert(SK_ARRAY_COUNT(colors) == SK_ARRAY_COUNT(pos), "color/pos size mismatch"); in __anon9e8f64a20502()
961 SK_ARRAY_COUNT(colors), 0, nullptr); in __anon9e8f64a20502()
965 SK_ARRAY_COUNT(colors), 0, &m); in __anon9e8f64a20502()
971 static_assert(SK_ARRAY_COUNT(colors) == SK_ARRAY_COUNT(radialPos), in __anon9e8f64a20502()
977 SK_ARRAY_COUNT(radialPos), in __anon9e8f64a20502()
986 static_assert(SK_ARRAY_COUNT(colors) == SK_ARRAY_COUNT(pos), "size mismatch");
1010 SK_ARRAY_COUNT(colors), mode,