Lines Matching refs:elem
30 elem[i] = NULL;
41 if (elem[i]) {
42 elem[i]->elem[1 - i] = elem[1 - i];
44 elem[i] = NULL;
670 if (elem[LEFT])
671 elem[LEFT]->elem[RIGHT] = elem[RIGHT];
672 if (elem[RIGHT])
673 elem[RIGHT]->elem[LEFT] = elem[LEFT];
674 elem[LEFT] = elem[RIGHT] = NULL;
890 insertBetween (insertL->elem[LEFT], insertL);
896 insertBetween (insertL, insertL->elem[RIGHT]);
911 if (elem[LEFT])
912 elem[LEFT]->elem[RIGHT] = to;
913 if (elem[RIGHT])
914 elem[RIGHT]->elem[LEFT] = to;
915 to->elem[LEFT] = elem[LEFT];
916 to->elem[RIGHT] = elem[RIGHT];
941 elem[1 - s] = of;
943 of->elem[s] = this;
949 l->elem[RIGHT] = this;
951 r->elem[LEFT] = this;
952 elem[LEFT] = l;
953 elem[RIGHT] = r;