Lines Matching refs:PARENT
532 PARENT(tp) = LEFT(tp) = RIGHT(tp) = LINKFOR(tp) = NULL;
551 PARENT(tp) = np;
559 PARENT(tp) = np;
563 if ((sp = PARENT(np)) != NULL) {
568 PARENT(tp) = sp;
574 PARENT(sp) = tp;
578 PARENT(sp) = tp;
707 if ((RIGHT(x) = LEFT(y)) != NULL) PARENT(RIGHT(x)) = x;\
708 if ((PARENT(y) = PARENT(x)) != NULL)\
709 if (LEFT(PARENT(x)) == x) LEFT(PARENT(y)) = y;\
710 else RIGHT(PARENT(y)) = y;\
711 LEFT(y) = x; PARENT(x) = y
714 if ((LEFT(x) = RIGHT(y)) != NULL) PARENT(LEFT(x)) = x;\
715 if ((PARENT(y) = PARENT(x)) != NULL)\
716 if (LEFT(PARENT(x)) == x) LEFT(PARENT(y)) = y;\
717 else RIGHT(PARENT(y)) = y;\
718 RIGHT(y) = x; PARENT(x) = y
721 if ((RIGHT(x) = LEFT(y)) != NULL) PARENT(RIGHT(x)) = x;\
722 if ((RIGHT(y) = LEFT(z)) != NULL) PARENT(RIGHT(y)) = y;\
723 if ((PARENT(z) = PARENT(x)) != NULL)\
724 if (LEFT(PARENT(x)) == x) LEFT(PARENT(z)) = z;\
725 else RIGHT(PARENT(z)) = z;\
726 LEFT(z) = y; PARENT(y) = z; LEFT(y) = x; PARENT(x) = y
729 if ((LEFT(x) = RIGHT(y)) != NULL) PARENT(LEFT(x)) = x;\
730 if ((LEFT(y) = RIGHT(z)) != NULL) PARENT(LEFT(y)) = y;\
731 if ((PARENT(z) = PARENT(x)) != NULL)\
732 if (LEFT(PARENT(x)) == x) LEFT(PARENT(z)) = z;\
733 else RIGHT(PARENT(z)) = z;\
734 RIGHT(z) = y; PARENT(y) = z; RIGHT(y) = x; PARENT(x) = y
737 if ((RIGHT(y) = LEFT(z)) != NULL) PARENT(RIGHT(y)) = y;\
738 if ((PARENT(z) = PARENT(x)) != NULL)\
739 if (LEFT(PARENT(x)) == x) LEFT(PARENT(z)) = z;\
740 else RIGHT(PARENT(z)) = z;\
741 PARENT(x) = z; LEFT(z) = x;
744 if ((LEFT(y) = RIGHT(z)) != NULL) PARENT(LEFT(y)) = y;\
745 if ((PARENT(z) = PARENT(x)) != NULL)\
746 if (LEFT(PARENT(x)) == x) LEFT(PARENT(z)) = z;\
747 else RIGHT(PARENT(z)) = z;\
748 PARENT(x) = z; RIGHT(z) = x;
768 if (PARENT(op))
773 PARENT(tp) = NULL;
775 PARENT(sp) = tp;
779 PARENT(sp) = tp;
788 PARENT(tp) = NULL;
804 PARENT(RIGHT(tp)) = tp;
807 PARENT(tp) = NULL;
823 while ((pp = PARENT(tp)) != NULL) {
825 gp = PARENT(pp);