Lines Matching refs:moves
167 /* remove small previous adjacent moves */
230 /* optimize a sequence of moves */
304 Move *moves, *last;
324 moves = 0;
342 moves = newMove(DELTA_MOVE,size,0L,NiL);
343 if(!moves)
377 /* compute block moves */
396 moves = makeAdd(tp,tar,moves);
397 if(!moves)
401 moves = newMove(DELTA_MOVE,size,(long)(match-Bsrc),moves);
402 if(!moves)
424 moves = makeAdd(tp,tar,moves);
425 if(!moves)
430 moves->next = last;
431 last->last = moves;
440 if(moves)
444 ip = moves;
449 moves = ip = optMove(ip);
451 while(moves->last)
452 moves = moves->last;
457 while(moves)
459 if(moves->type == DELTA_ADD)
460 moves->addr = addr;
461 addr += moves->size;
462 if(putMove(moves) < 0)
464 moves = delMove(moves);