Lines Matching refs:rix
473 int rix;
476 rix= FindFromIndex (currId);
477 if (rix < 0)
479 while (rix < sortNum && arc[forwardList[rix]]->GetFromId() == currId) {
480 if (arc[forwardList[rix]]->GetInput() == procLabel) {
481 PullUpBegins (arc[forwardList[rix]]->GetToId(), baseId,
484 else if (arc[forwardList[rix]]->GetInput() != DISCARD_LABEL)
485 InheritArc (arc[forwardList[rix]], baseId);
486 rix++;
494 int rix, nextId;
497 rix= FindFromIndex (currId);
498 if (rix < 0) {
502 while (rix < sortNum && arc[forwardList[rix]]->GetFromId() == currId) {
503 if (arc[forwardList[rix]]->GetInput() == procLabel) {
504 PullUpBegins (arc[forwardList[rix]]->GetToId(), currId,
508 nextId= arc[forwardList[rix]]->GetToId();
512 rix++;
545 int rix;
548 rix= FindToIndex (currId);
549 if (rix < 0)
551 while (rix < sortRevNum && arc[backwardList[rix]]->GetToId() == currId) {
552 if (arc[backwardList[rix]]->GetInput() == procLabel) {
553 PullUpEnds (arc[backwardList[rix]]->GetFromId(), baseId,
556 else if (arc[backwardList[rix]]->GetInput() != DISCARD_LABEL)
557 InheritReverseArc (arc[backwardList[rix]], baseId);
558 rix++;
566 int rix, nextId;
569 rix= FindToIndex (currId);
570 if (rix < 0) {
574 while (rix < sortRevNum && arc[backwardList[rix]]->GetToId() == currId) {
575 if (arc[backwardList[rix]]->GetInput() == procLabel) {
576 PullUpEnds (arc[backwardList[rix]]->GetFromId(), currId,
579 nextId= arc[backwardList[rix]]->GetFromId();
583 rix++;
708 int count, rix, lastInput;
712 rix= FindFromIndex (currId);
713 if (rix < 0)
715 while (rix < sortNum && arc[forwardList[rix]]->GetFromId() == currId) {
716 if (lastInput >= 0 && lastInput == arc[forwardList[rix]]->GetInput())
719 lastInput= arc[forwardList[rix]]->GetInput();
720 rix++;
781 int rix;
785 rix= FindToIndex (currId);
786 if (rix < 0)
788 while (rix < sortRevNum && arc[backwardList[rix]]->GetToId() == currId) {
789 if (arc[backwardList[rix]]->GetInput() == TAG_LABEL) {
790 if (PullUpTags (arc[backwardList[rix]]->GetFromId(), baseId, initialId,
791 arc[backwardList[rix]]->GetOutput(), nodeList, currNum+1, maxNum))
792 CreateCopyWithOutput (arc[backwardList[rix]], NONE_LABEL);
795 else if (arc[backwardList[rix]]->GetInput() != DISCARD_LABEL)
796 InheritReverseArcWithTag (arc[backwardList[rix]], baseId, outTag);
797 rix++;
805 int rix, nextId;
808 rix= FindToIndex (currId);
809 if (rix < 0) {
813 while (rix < sortRevNum && arc[backwardList[rix]]->GetToId() == currId) {
814 if (arc[backwardList[rix]]->GetInput() == TAG_LABEL) {
815 if (PullUpTags (arc[backwardList[rix]]->GetFromId(), currId, initialId,
816 arc[backwardList[rix]]->GetOutput(), nodeList, currNum, maxNum))
817 CreateCopyWithOutput (arc[backwardList[rix]], NONE_LABEL);
819 nextId= arc[backwardList[rix]]->GetFromId();
823 rix++;