Lines Matching refs:n_stops
606 create_random_stops (int *n_stops) in create_random_stops() argument
613 *n_stops = prng_rand_n (50) + 1; in create_random_stops()
615 step = pixman_fixed_1 / *n_stops; in create_random_stops()
617 stops = malloc (*n_stops * sizeof (pixman_gradient_stop_t)); in create_random_stops()
620 for (i = 0; i < (*n_stops) - 1; ++i) in create_random_stops()
628 stops[*n_stops - 1].x = pixman_fixed_1; in create_random_stops()
629 stops[*n_stops - 1].color = random_color(); in create_random_stops()
648 int n_stops; in create_random_linear_image() local
653 stops = create_random_stops (&n_stops); in create_random_linear_image()
660 result = pixman_image_create_linear_gradient (&p1, &p2, stops, n_stops); in create_random_linear_image()
670 int n_stops; in create_random_radial_image() local
681 stops = create_random_stops (&n_stops); in create_random_radial_image()
687 &inner_c, &outer_c, inner_r, outer_r, stops, n_stops); in create_random_radial_image()
698 int n_stops; in create_random_conical_image() local
706 stops = create_random_stops (&n_stops); in create_random_conical_image()
711 result = pixman_image_create_conical_gradient (&c, angle, stops, n_stops); in create_random_conical_image()