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