Searched refs:testRegionA (Results 1 – 6 of 6) sorted by relevance
/haiku/src/tests/kits/interface/bregion/ |
H A D | RegionIntersect.cpp | 44 void RegionIntersect::CheckIntersect(BRegion *resultRegion, BRegion *testRegionA, in CheckIntersect() argument 48 bool testRegionAEmpty = RegionIsEmpty(testRegionA); in CheckIntersect() 51 if (RegionsAreEqual(testRegionA, testRegionB)) { in CheckIntersect() 52 assert(RegionsAreEqual(resultRegion, testRegionA)); in CheckIntersect() 55 if (RegionsAreEqual(resultRegion, testRegionA)) { in CheckIntersect() 56 BRegion tempRegion(*testRegionA); in CheckIntersect() 62 BRegion tempRegion(*testRegionA); in CheckIntersect() 64 assert(RegionsAreEqual(&tempRegion, testRegionA)); in CheckIntersect() 69 BRect testRegionAFrame(testRegionA->Frame()); in CheckIntersect() 83 if (testRegionA->Intersects(tempRect)) { in CheckIntersect() [all …]
|
H A D | RegionInclude.cpp | 44 void RegionInclude::CheckInclude(BRegion *resultRegion, BRegion *testRegionA, in CheckInclude() argument 48 bool testRegionAEmpty = RegionIsEmpty(testRegionA); in CheckInclude() 51 if (RegionsAreEqual(testRegionA, testRegionB)) { in CheckInclude() 52 assert(RegionsAreEqual(resultRegion, testRegionA)); in CheckInclude() 55 if (RegionsAreEqual(resultRegion, testRegionA)) { in CheckInclude() 56 BRegion tempRegion(*testRegionA); in CheckInclude() 62 BRegion tempRegion(*testRegionA); in CheckInclude() 64 assert(RegionsAreEqual(&tempRegion, testRegionA)); in CheckInclude() 69 BRect testRegionAFrame(testRegionA->Frame()); in CheckInclude() 76 assert(RegionsAreEqual(resultRegion, testRegionA)); in CheckInclude() [all …]
|
H A D | RegionExclude.cpp | 44 void RegionExclude::CheckExclude(BRegion *resultRegion, BRegion *testRegionA, in CheckExclude() argument 48 bool testRegionAEmpty = RegionIsEmpty(testRegionA); in CheckExclude() 51 if (RegionsAreEqual(testRegionA, testRegionB)) { in CheckExclude() 55 if (RegionsAreEqual(resultRegion, testRegionA)) { in CheckExclude() 56 BRegion tempRegion(*testRegionA); in CheckExclude() 69 BRect testRegionAFrame(testRegionA->Frame()); in CheckExclude() 74 assert(RegionsAreEqual(resultRegion, testRegionA)); in CheckExclude() 81 assert(RegionsAreEqual(resultRegion, testRegionA)); in CheckExclude() 102 for(int i = 0; i < testRegionA->CountRects(); i++) { in CheckExclude() 103 BRect tempRect = testRegionA->RectAt(i); in CheckExclude() [all …]
|
H A D | RegionConstruction.cpp | 94 void RegionConstruction::testTwoRegions(BRegion *testRegionA, BRegion *testRegionB) in testTwoRegions() argument 100 tempRegion1 = *testRegionA; in testTwoRegions() 102 assert(RegionsAreEqual(&tempRegion1, testRegionA)); in testTwoRegions()
|
H A D | RegionTestcase.cpp | 270 BRegion *testRegionA = static_cast<BRegion *>(listOfRegions.ItemAt(i)); in PerformTest() local 275 testTwoRegions(testRegionA, testRegionB); in PerformTest()
|
H A D | RegionOffsetBy.cpp | 97 void RegionOffsetBy::testTwoRegions(BRegion *testRegionA, BRegion *testRegionB) in testTwoRegions() argument
|