Lines Matching refs:testRegionB

45                                  BRegion *testRegionB)  in CheckExclude()  argument
49 bool testRegionBEmpty = RegionIsEmpty(testRegionB); in CheckExclude()
51 if (RegionsAreEqual(testRegionA, testRegionB)) { in CheckExclude()
57 tempRegion.IntersectWith(testRegionB); in CheckExclude()
61 if (RegionsAreEqual(resultRegion, testRegionB)) { in CheckExclude()
70 BRect testRegionBFrame(testRegionB->Frame()); in CheckExclude()
83 assert(!RegionsAreEqual(resultRegion, testRegionB)); in CheckExclude()
84 for(int i = 0; i < testRegionB->CountRects(); i++) { in CheckExclude()
85 BRect tempRect = testRegionB->RectAt(i); in CheckExclude()
87 assert(testRegionB->Intersects(tempRect)); in CheckExclude()
93 assert(testRegionB->Contains(pointArray[j])); in CheckExclude()
106 if (!testRegionB->Intersects(tempRect)) { in CheckExclude()
114 if (testRegionB->Contains(pointArray[j])) { in CheckExclude()
125 tempRegion.IntersectWith(testRegionB); in CheckExclude()
128 assert(!RegionsAreEqual(resultRegion, testRegionB)); in CheckExclude()
134 assert(!testRegionB->Intersects(tempRect)); in CheckExclude()
141 assert(!testRegionB->Contains(pointArray[j])); in CheckExclude()
165 void RegionExclude::testTwoRegions(BRegion *testRegionA, BRegion *testRegionB) in testTwoRegions() argument
171 tempRegion1.Exclude(testRegionB); in testTwoRegions()
173 CheckExclude(&tempRegion1, testRegionA, testRegionB); in testTwoRegions()
179 for(int i = 0; i < testRegionB->CountRects(); i++) { in testTwoRegions()
180 tempRegion1.Exclude(testRegionB->RectAt(i)); in testTwoRegions()
183 CheckExclude(&tempRegion1, testRegionA, testRegionB); in testTwoRegions()