Lines Matching refs:p1
187 tree *p1, *p2, *sub;
235 p1 = (*ppr)->left;
236 if (p1->bal == -1) { /*%< LL */
238 (*ppr)->left = p1->right;
239 p1->right = *ppr;
241 *ppr = p1;
245 p2 = p1->right;
246 p1->right = p2->left;
247 p2->left = p1;
258 p1->bal = -1;
260 p1->bal = 0;
291 p1 = (*ppr)->right;
292 if (p1->bal == 1) { /*%< RR */
294 (*ppr)->right = p1->left;
295 p1->left = *ppr;
297 *ppr = p1;
301 p2 = p1->left;
302 p1->left = p2->right;
303 p2->right = p1;
314 p1->bal = 1;
316 p1->bal = 0;
417 tree *p1, *p2;
435 p1 = (*ppr_p)->right;
436 b1 = p1->bal;
439 (*ppr_p)->right = p1->left;
440 p1->left = *ppr_p;
444 p1->bal = -1;
449 p1->bal = 0;
451 *ppr_p = p1;
454 p2 = p1->left;
456 p1->left = p2->right;
457 p2->right = p1;
465 p1->bal = 1;
467 p1->bal = 0;
477 tree *p1, *p2;
494 p1 = (*ppr_p)->left;
495 b1 = p1->bal;
498 (*ppr_p)->left = p1->right;
499 p1->right = *ppr_p;
503 p1->bal = 1;
508 p1->bal = 0;
510 *ppr_p = p1;
513 p2 = p1->right;
515 p1->right = p2->left;
516 p2->left = p1;
524 p1->bal = -1;
526 p1->bal = 0;