• Home
  • Raw
  • Download

Lines Matching refs:r

33     void verifyNoTJunctions(const Region& r) {  in verifyNoTJunctions()  argument
34 for (const Rect* current = r.begin(); current < r.end(); current++) { in verifyNoTJunctions()
35 for (const Rect* other = current - 1; other >= r.begin(); other--) { in verifyNoTJunctions()
40 for (const Rect* other = current + 1; other < r.end(); other++) { in verifyNoTJunctions()
59 Region r; in TEST_F() local
62 r.clear(); in TEST_F()
63 r.orSelf(Rect(1, 0, 2, 1)); in TEST_F()
64 r.orSelf(Rect(0, 1, 3, 2)); in TEST_F()
65 checkTJunctionFreeFromRegion(r, 4); in TEST_F()
70 r.clear(); in TEST_F()
71 r.orSelf(Rect(1, 0, 2, 1)); in TEST_F()
72 r.orSelf(Rect(0, 2, 3, 3)); in TEST_F()
73 checkTJunctionFreeFromRegion(r, 2); in TEST_F()
77 Region r; in TEST_F() local
78 checkTJunctionFreeFromRegion(r); in TEST_F()
80 r.orSelf(Rect(100, 100, 500, 500)); in TEST_F()
81 checkTJunctionFreeFromRegion(r); in TEST_F()
85 Region r; in TEST_F() local
90 r.clear(); in TEST_F()
91 r.orSelf(Rect(1, 0, 2, 1)); in TEST_F()
92 r.orSelf(Rect(0, 1, 3, 3)); in TEST_F()
93 checkTJunctionFreeFromRegion(r); in TEST_F()
98 r.clear(); in TEST_F()
99 r.orSelf(Rect(2,0,4,2)); in TEST_F()
100 r.orSelf(Rect(0,2,4,4)); in TEST_F()
101 r.orSelf(Rect(0,4,6,6)); in TEST_F()
102 checkTJunctionFreeFromRegion(r); in TEST_F()
107 r.clear(); in TEST_F()
108 r.orSelf(Rect(0,0,2,6)); in TEST_F()
109 r.orSelf(Rect(4,0,6,6)); in TEST_F()
110 r.orSelf(Rect(0,2,6,4)); in TEST_F()
111 checkTJunctionFreeFromRegion(r); in TEST_F()
116 r.clear(); in TEST_F()
117 r.orSelf(Rect(0,0,6,2)); in TEST_F()
118 r.orSelf(Rect(2,2,4,6)); in TEST_F()
119 checkTJunctionFreeFromRegion(r); in TEST_F()
123 Region r; in TEST_F() local
129 r.orSelf(Rect(i,i,i+4,i+1)); in TEST_F()
131 checkTJunctionFreeFromRegion(r, 16); in TEST_F()
139 Region r; in TEST_F() local
143 r.clear(); in TEST_F()
147 r.orSelf(Rect(i, j, i + 1, j + 1)); in TEST_F()
151 checkTJunctionFreeFromRegion(r); in TEST_F()