Home | History | Annotate | Download | only in src

Lines Matching refs:i2

73     int             i, j, i1, i2, s, len;
180 i2 = i + k;
181 i2 -= i2 >= len ? len : 0;
183 dx = array[i2].pt.x - array[i1].pt.x;
184 dy = array[i2].pt.y - array[i1].pt.y;
214 i2 = i + j;
215 i2 -= i2 >= len ? len : 0;
219 dx2 = array[i2].pt.x - pt0.x;
220 dy2 = array[i2].pt.y - pt0.y;
258 i2 = i - j;
259 i2 += i2 < 0 ? len : 0;
261 if( array[i2].s > s )
264 i2 = i + j;
265 i2 -= i2 >= len ? len : 0;
267 if( array[i2].s > s )
298 i2 = i + 1;
299 i2 -= i2 >= len ? len : 0;
301 if( s <= array[i1].s || s <= array[i2].s )
332 for( i2 = len - 2; i2 > 0 && array[i2].s != 0; i2-- )
334 array[i2].next = 0;
335 array[i2 + 1].s = 0;
337 i2++;
339 if( i1 == 0 && i2 == len - 1 ) /* only two points */