Lines Matching defs:last
1301 CvPolyEdge *last, *prelast, *keep_prelast;
1307 last = tmp.next;
1308 while( last || e->y0 == y )
1310 if( last && last->y1 == y )
1313 prelast->next = last->next;
1314 last = last->next;
1318 if( last && (e->y0 > y || last->x < e->x) )
1321 prelast = last;
1322 last = last->next;
1328 e->next = last;
1379 last = tmp.next;
1381 while( last != keep_prelast && last->next != 0 )
1383 CvPolyEdge *te = last->next;
1386 if( last->x > te->x )
1389 last->next = te->next;
1390 te->next = last;
1396 prelast = last;
1397 last = te;