Lines Matching refs:box
28 print_box (pixman_box32_t *box) in print_box() argument
30 printf (" %d %d %d %d\n", box->x1, box->y1, box->x2, box->y2); in print_box()
96 crc32_box32 (uint32_t crc32, pixman_box32_t *box) in crc32_box32() argument
98 crc32 = compute_crc32_u32 (crc32, box->x1); in crc32_box32()
99 crc32 = compute_crc32_u32 (crc32, box->y1); in crc32_box32()
100 crc32 = compute_crc32_u32 (crc32, box->x2); in crc32_box32()
101 crc32 = compute_crc32_u32 (crc32, box->y2); in crc32_box32()
109 pixman_box32_t box; in test_region_contains_rectangle() local
118 box.x1 = random_coord (®ion, TRUE); in test_region_contains_rectangle()
119 box.x2 = box.x1 + prng_rand (); in test_region_contains_rectangle()
120 box.y1 = random_coord (®ion, FALSE); in test_region_contains_rectangle()
121 box.y2 = box.y1 + prng_rand (); in test_region_contains_rectangle()
134 print_box (&box); in test_region_contains_rectangle()
139 r1 = pixman_region32_contains_point (®ion, box.x1, box.y1, &rbox); in test_region_contains_rectangle()
141 r2 = pixman_region32_contains_point (®ion, box.x1, box.y2, &rbox); in test_region_contains_rectangle()
143 r3 = pixman_region32_contains_point (®ion, box.x2, box.y1, &rbox); in test_region_contains_rectangle()
145 r4 = pixman_region32_contains_point (®ion, box.x2, box.y2, &rbox); in test_region_contains_rectangle()
148 r = pixman_region32_contains_rectangle (®ion, &box); in test_region_contains_rectangle()