Lines Matching refs:c2
90 int c1, c2;
101 c2 = (x2 < 0) + (x2 > right) * 2 + (y2 < 0) * 4 + (y2 > bottom) * 8;
103 if( (c1 & c2) == 0 && (c1 | c2) != 0 )
114 if( c2 & 12 )
116 a = c2 < 8 ? 0 : bottom;
119 c2 = (x2 < 0) + (x2 > right) * 2;
121 if( (c1 & c2) == 0 && (c1 | c2) != 0 )
130 if( c2 )
132 a = c2 == 1 ? 0 : right;
135 c2 = 0;
139 assert( (c1 & c2) != 0 || (x1 | y1 | x2 | y2) >= 0 );
147 result = ( c1 | c2 ) == 0;