Home
last modified time | relevance | path

Searched refs:tempRegion (Results 1 – 4 of 4) sorted by relevance

/haiku/src/tests/kits/interface/bregion/
H A DRegionIntersect.cpp56 BRegion tempRegion(*testRegionA); in CheckIntersect() local
57 tempRegion.Include(testRegionB); in CheckIntersect()
58 assert(RegionsAreEqual(&tempRegion, testRegionB)); in CheckIntersect()
62 BRegion tempRegion(*testRegionA); in CheckIntersect() local
63 tempRegion.Include(testRegionB); in CheckIntersect()
64 assert(RegionsAreEqual(&tempRegion, testRegionA)); in CheckIntersect()
129 BRegion tempRegion(*testRegionA); in CheckIntersect() local
130 tempRegion.Exclude(testRegionB); in CheckIntersect()
131 assert(RegionsAreEqual(&tempRegion, testRegionA)); in CheckIntersect()
133 tempRegion = *testRegionB; in CheckIntersect()
[all …]
H A DRegionTestcase.cpp91 BRegion *tempRegion = new BRegion; in RegionTestcase() local
93 tempRegion->Include(BRect(theRegions[regionNum][rectNum][0], in RegionTestcase()
98 listOfRegions.AddItem(tempRegion); in RegionTestcase()
211 BRegion tempRegion(*regionA); in RegionsAreEqual() local
213 tempRegion.Exclude(regionB); in RegionsAreEqual()
214 if (RegionIsEmpty(&tempRegion)) { in RegionsAreEqual()
215 tempRegion = *regionB; in RegionsAreEqual()
216 tempRegion.Exclude(regionA); in RegionsAreEqual()
217 if (RegionIsEmpty(&tempRegion)) { in RegionsAreEqual()
H A DRegionInclude.cpp56 BRegion tempRegion(*testRegionA); in CheckInclude() local
57 tempRegion.IntersectWith(testRegionB); in CheckInclude()
58 assert(RegionsAreEqual(&tempRegion, testRegionB)); in CheckInclude()
62 BRegion tempRegion(*testRegionA); in CheckInclude() local
63 tempRegion.IntersectWith(testRegionB); in CheckInclude()
64 assert(RegionsAreEqual(&tempRegion, testRegionA)); in CheckInclude()
H A DRegionExclude.cpp56 BRegion tempRegion(*testRegionA); in CheckExclude() local
57 tempRegion.IntersectWith(testRegionB); in CheckExclude()
58 assert(RegionIsEmpty(&tempRegion)); in CheckExclude()
124 BRegion tempRegion(*testRegionA); in CheckExclude() local
125 tempRegion.IntersectWith(testRegionB); in CheckExclude()
126 assert(RegionsAreEqual(&tempRegion, testRegionA)); in CheckExclude()