/external/pixman/test/ |
stress-test.c | 606 create_random_stops (int *n_stops) 613 *n_stops = prng_rand_n (50) + 1; 615 step = pixman_fixed_1 / *n_stops; 617 stops = malloc (*n_stops * sizeof (pixman_gradient_stop_t)); 620 for (i = 0; i < (*n_stops) - 1; ++i) 628 stops[*n_stops - 1].x = pixman_fixed_1; 629 stops[*n_stops - 1].color = random_color(); 648 int n_stops; local 653 stops = create_random_stops (&n_stops); 660 result = pixman_image_create_linear_gradient (&p1, &p2, stops, n_stops); 670 int n_stops; local 698 int n_stops; local [all...] |
/external/pixman/pixman/ |
pixman-conical-gradient.c | 187 int n_stops) 197 if (!_pixman_init_gradient (&conical->common, stops, n_stops))
|
pixman-image.c | 40 int n = gradient->n_stops; 81 int n_stops) 83 return_val_if_fail (n_stops > 0, FALSE); 96 pixman_malloc_ab (n_stops + 2, sizeof (pixman_gradient_stop_t)); 101 memcpy (gradient->stops, stops, n_stops * sizeof (pixman_gradient_stop_t)); 102 gradient->n_stops = n_stops; 489 for (i = 0; i < image->gradient.n_stops; ++i)
|
pixman-linear-gradient.c | 262 int n_stops) 274 if (!_pixman_init_gradient (&linear->common, stops, n_stops))
|
pixman-radial-gradient.c | 429 int n_stops) 441 if (!_pixman_init_gradient (&radial->common, stops, n_stops))
|
pixman-gradient-walker.c | 36 walker->num_stops = gradient->n_stops;
|
pixman.h | 768 int n_stops); 774 int n_stops); 778 int n_stops); [all...] |
pixman-private.h | 135 int n_stops; member in struct:gradient 296 int n_stops); [all...] |