Home
last modified time | relevance | path

Searched refs:n_boxes (Results 1 – 4 of 4) sorted by relevance

/third_party/pixman/pixman/
Dpixman-utils.c243 int n_boxes, i; in pixman_region16_copy_from_region32() local
248 boxes32 = pixman_region32_rectangles (src, &n_boxes); in pixman_region16_copy_from_region32()
250 boxes16 = pixman_malloc_ab (n_boxes, sizeof (pixman_box16_t)); in pixman_region16_copy_from_region32()
255 for (i = 0; i < n_boxes; ++i) in pixman_region16_copy_from_region32()
264 retval = pixman_region_init_rects (dst, boxes16, n_boxes); in pixman_region16_copy_from_region32()
273 int n_boxes, i; in pixman_region32_copy_from_region16() local
279 boxes16 = pixman_region_rectangles (src, &n_boxes); in pixman_region32_copy_from_region16()
281 if (n_boxes > N_TMP_BOXES) in pixman_region32_copy_from_region16()
282 boxes32 = pixman_malloc_ab (n_boxes, sizeof (pixman_box32_t)); in pixman_region32_copy_from_region16()
289 for (i = 0; i < n_boxes; ++i) in pixman_region32_copy_from_region16()
[all …]
Dpixman.c878 int n_boxes, in pixman_image_fill_boxes() argument
915 if (!pixman_region32_init_rects (&fill_region, boxes, n_boxes)) in pixman_image_fill_boxes()
944 for (i = 0; i < n_boxes; ++i) in pixman_image_fill_boxes()
Dpixman.h1127 int n_boxes,
/third_party/pixman/test/
Dregion-contains-test.c8 int n_boxes; in make_random_region() local
12 n_boxes = prng_rand_n (64); in make_random_region()
13 while (n_boxes--) in make_random_region()
37 int n_boxes; in random_coord() local
42 bb = pixman_region32_rectangles (region, &n_boxes); in random_coord()
43 if (n_boxes == 0) in random_coord()
45 b = bb + prng_rand_n (n_boxes); in random_coord()
51 n_boxes = 1; in random_coord()