Lines Matching refs:toMove

629   Line *toMove = NULL;
638 toMove = (Line *)gElements.get(key);
644 // sorted list of expansions, so current can start from toMove, since all
649 if(current == toMove) {
655 toMove->strength = probeStrength(&prevL, &toMove, comparer);
658 printLine(toMove, log);
673 if(toMove->next) {
674 toMove->next->strength = probeStrength(&(toMove->previous), &(toMove->next), comparer);
675 toMove->next->previous = toMove->previous;
677 if(toMove->previous) {
678 toMove->previous->next = toMove->next;
682 toMove->previous = current->previous;
683 toMove->next = current;
686 current->previous->next = toMove;
688 current->previous = toMove;
690 toMove->strength = probeStrength(&prevL, &toMove, comparer);
691 toMove->next->strength = probeStrength(&toMove, &l, comparer);
694 printLine(toMove, log);
698 if(toMove->strength == UCOL_IDENTICAL) {
703 u_strcpy(fullString, toMove->previous->name);
704 u_strcat(fullString, toMove->expansionString);
705 if(u_strcmp(fullString, toMove->name) == 0) {
706 toMove->previous->next = toMove->next;
707 toMove->next->previous = toMove->previous;
708 toMove->isRemoved = true;
710 printLine(toMove, log);
713 } else if(toMove->next->strength == UCOL_IDENTICAL) {
715 u_strcpy(fullString, toMove->next->name);
716 u_strcat(fullString, toMove->expansionString);
717 if(u_strcmp(fullString, toMove->name) == 0) {
718 toMove->next->strength = toMove->strength;
719 toMove->previous->next = toMove->next;
720 toMove->next->previous = toMove->previous;
721 toMove->isRemoved = true;
723 printLine(toMove, log);