Searched refs:n_stops (Results 1 – 8 of 8) sorted by relevance
/external/pixman/test/ |
D | stress-test.c | 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() [all …]
|
/external/pixman/pixman/ |
D | pixman-image.c | 40 int n = gradient->n_stops; in gradient_property_changed() 81 int n_stops) in _pixman_init_gradient() argument 83 return_val_if_fail (n_stops > 0, FALSE); in _pixman_init_gradient() 96 pixman_malloc_ab (n_stops + 2, sizeof (pixman_gradient_stop_t)); in _pixman_init_gradient() 101 memcpy (gradient->stops, stops, n_stops * sizeof (pixman_gradient_stop_t)); in _pixman_init_gradient() 102 gradient->n_stops = n_stops; in _pixman_init_gradient() 489 for (i = 0; i < image->gradient.n_stops; ++i) in compute_image_info()
|
D | pixman-conical-gradient.c | 187 int n_stops) in pixman_image_create_conical_gradient() argument 197 if (!_pixman_init_gradient (&conical->common, stops, n_stops)) in pixman_image_create_conical_gradient()
|
D | pixman-linear-gradient.c | 262 int n_stops) in pixman_image_create_linear_gradient() argument 274 if (!_pixman_init_gradient (&linear->common, stops, n_stops)) in pixman_image_create_linear_gradient()
|
D | pixman-radial-gradient.c | 429 int n_stops) in pixman_image_create_radial_gradient() argument 441 if (!_pixman_init_gradient (&radial->common, stops, n_stops)) in pixman_image_create_radial_gradient()
|
D | pixman-gradient-walker.c | 36 walker->num_stops = gradient->n_stops; in _pixman_gradient_walker_init()
|
D | pixman.h | 768 int n_stops); 774 int n_stops); 778 int n_stops);
|
D | pixman-private.h | 135 int n_stops; member 296 int n_stops);
|