Lines Matching refs:gp
949 TREE *tp, *sp, *gp; in t_delete() local
1000 if ((gp = RIGHT(sp)) != NULL) { in t_delete()
1001 unprotect(gp); in t_delete()
1002 TDLEFT2(tp, sp, gp); in t_delete()
1005 tp = gp; in t_delete()
1037 TREE *pp, *gp; in t_splay() local
1043 gp = PARENT(pp); in t_splay()
1044 if (gp) in t_splay()
1045 unprotect(gp); in t_splay()
1049 if (gp && LEFT(gp) == pp) { in t_splay()
1050 BURIGHT2(gp, pp, tp); in t_splay()
1051 protect(gp); in t_splay()
1053 if (gp) in t_splay()
1054 protect(gp); in t_splay()
1059 if (gp && RIGHT(gp) == pp) { in t_splay()
1060 BULEFT2(gp, pp, tp); in t_splay()
1061 protect(gp); in t_splay()
1063 if (gp) in t_splay()
1064 protect(gp); in t_splay()