Lines Matching refs:testRegionB
45 BRegion *testRegionB) in CheckIntersect() argument
49 bool testRegionBEmpty = RegionIsEmpty(testRegionB); in CheckIntersect()
51 if (RegionsAreEqual(testRegionA, testRegionB)) { in CheckIntersect()
57 tempRegion.Include(testRegionB); in CheckIntersect()
58 assert(RegionsAreEqual(&tempRegion, testRegionB)); in CheckIntersect()
61 if (RegionsAreEqual(resultRegion, testRegionB)) { in CheckIntersect()
63 tempRegion.Include(testRegionB); in CheckIntersect()
70 BRect testRegionBFrame(testRegionB->Frame()); in CheckIntersect()
79 for(int i = 0; i < testRegionB->CountRects(); i++) { in CheckIntersect()
80 BRect tempRect = testRegionB->RectAt(i); in CheckIntersect()
82 assert(testRegionB->Intersects(tempRect)); in CheckIntersect()
92 assert(testRegionB->Contains(pointArray[j])); in CheckIntersect()
109 if (testRegionB->Intersects(tempRect)) { in CheckIntersect()
119 if (testRegionB->Contains(pointArray[j])) { in CheckIntersect()
130 tempRegion.Exclude(testRegionB); in CheckIntersect()
133 tempRegion = *testRegionB; in CheckIntersect()
135 assert(RegionsAreEqual(&tempRegion, testRegionB)); in CheckIntersect()
142 assert(testRegionB->Intersects(tempRect)); in CheckIntersect()
149 assert(testRegionB->Contains(pointArray[j])); in CheckIntersect()
173 void RegionIntersect::testTwoRegions(BRegion *testRegionA, BRegion *testRegionB) in testTwoRegions() argument
179 tempRegion1.IntersectWith(testRegionB); in testTwoRegions()
181 CheckIntersect(&tempRegion1, testRegionA, testRegionB); in testTwoRegions()