Lines Matching refs:gp
353 Node* gp = NULL; in insert() local
366 gp = p; in insert()
393 GrAssert(!(NULL != gp && NULL == p)); in insert()
396 GrAssert(NULL == gp || gp->fChildren[gpc] == p); in insert()
404 GrAssert(NULL != gp); in insert()
406 GrAssert(kBlack_Color == gp->fColor); in insert()
410 Node* u = gp->fChildren[1-gpc]; in insert()
417 gp->fColor = kRed_Color; in insert()
418 x = gp; in insert()
427 gp = p->fParent; in insert()
430 if (NULL != gp) { in insert()
431 gpc = (gp->fChildren[kLeft_Child] == p) ? kLeft_Child : in insert()
439 GrAssert(NULL == gp->fChildren[1-gpc] || kBlack_Color == gp->fChildren[1-gpc]->fColor); in insert()
442 GrAssert(kBlack_Color == gp->fColor); in insert()
471 gp->fColor = kRed_Color; in insert()
473 rotateRight(gp); in insert()
475 rotateLeft(gp); in insert()