Lines Matching refs:gp
951 TREE *tp, *sp, *gp; in t_delete() local
1002 if ((gp = RIGHT(sp)) != NULL) { in t_delete()
1003 unprotect(gp); in t_delete()
1004 TDLEFT2(tp, sp, gp); in t_delete()
1007 tp = gp; in t_delete()
1039 TREE *pp, *gp; in t_splay() local
1045 gp = PARENT(pp); in t_splay()
1046 if (gp) in t_splay()
1047 unprotect(gp); in t_splay()
1051 if (gp && LEFT(gp) == pp) { in t_splay()
1052 BURIGHT2(gp, pp, tp); in t_splay()
1053 protect(gp); in t_splay()
1055 if (gp) in t_splay()
1056 protect(gp); in t_splay()
1061 if (gp && RIGHT(gp) == pp) { in t_splay()
1062 BULEFT2(gp, pp, tp); in t_splay()
1063 protect(gp); in t_splay()
1065 if (gp) in t_splay()
1066 protect(gp); in t_splay()