Home
last modified time | relevance | path

Searched refs:n_stops (Results 1 – 8 of 8) sorted by relevance

/external/pixman/test/
Dstress-test.c606 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/
Dpixman-image.c40 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()
Dpixman-conical-gradient.c187 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()
Dpixman-linear-gradient.c262 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()
Dpixman-radial-gradient.c429 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()
Dpixman-gradient-walker.c36 walker->num_stops = gradient->n_stops; in _pixman_gradient_walker_init()
Dpixman.h768 int n_stops);
774 int n_stops);
778 int n_stops);
Dpixman-private.h135 int n_stops; member
296 int n_stops);