Lines Matching refs:rect
5 static void rand_rect(SkIRect* rect, SkRandom& rand) { in rand_rect() argument
8 rect->set(rand.nextU() >> shift, rand.nextU() >> shift, in rand_rect()
10 rect->sort(); in rand_rect()
13 static bool test_rects(const SkIRect rect[], int count) { in test_rects() argument
17 rgn0.op(rect[i], SkRegion::kUnion_Op); in test_rects()
19 rgn1.setRects(rect, count); in test_rects()
25 rect[i].fLeft, rect[i].fTop, in test_rects()
26 rect[i].fRight, rect[i].fBottom); in test_rects()
54 SkIRect rect[N]; in TestRegion() local
56 rand_rect(&rect[j], rand); in TestRegion()
58 REPORTER_ASSERT(reporter, test_rects(rect, N)); in TestRegion()