Home
last modified time | relevance | path

Searched refs:rbox (Results 1 – 2 of 2) sorted by relevance

/third_party/pixman/test/
Dregion-contains-test.c110 pixman_box32_t rbox = { 0, 0, 0, 0 }; in test_region_contains_rectangle() local
139 r1 = pixman_region32_contains_point (&region, box.x1, box.y1, &rbox); in test_region_contains_rectangle()
140 crc32 = crc32_box32 (crc32, &rbox); in test_region_contains_rectangle()
141 r2 = pixman_region32_contains_point (&region, box.x1, box.y2, &rbox); in test_region_contains_rectangle()
142 crc32 = crc32_box32 (crc32, &rbox); in test_region_contains_rectangle()
143 r3 = pixman_region32_contains_point (&region, box.x2, box.y1, &rbox); in test_region_contains_rectangle()
144 crc32 = crc32_box32 (crc32, &rbox); in test_region_contains_rectangle()
145 r4 = pixman_region32_contains_point (&region, box.x2, box.y2, &rbox); in test_region_contains_rectangle()
146 crc32 = crc32_box32 (crc32, &rbox); in test_region_contains_rectangle()
/third_party/pixman/pixman/
Dpixman.c167 pixman_box32_t * rbox = pixman_region32_rectangles (region, NULL); in clip_general_image() local
171 if (rbox->x1 < (v = cbox->x1 + dx)) in clip_general_image()
172 rbox->x1 = v; in clip_general_image()
173 if (rbox->x2 > (v = cbox->x2 + dx)) in clip_general_image()
174 rbox->x2 = v; in clip_general_image()
175 if (rbox->y1 < (v = cbox->y1 + dy)) in clip_general_image()
176 rbox->y1 = v; in clip_general_image()
177 if (rbox->y2 > (v = cbox->y2 + dy)) in clip_general_image()
178 rbox->y2 = v; in clip_general_image()
179 if (rbox->x1 >= rbox->x2 || rbox->y1 >= rbox->y2) in clip_general_image()