Lines Matching refs:bal
201 (*ppr)->bal = 0;
220 switch ((*ppr)->bal) {
222 /* right branch WAS longer; bal is ok now */
223 MSG("LESS: case 1.. bal restored implicitly")
224 (*ppr)->bal = 0;
230 (*ppr)->bal = -1;
236 if (p1->bal == -1) { /*%< LL */
240 (*ppr)->bal = 0;
252 if (p2->bal == -1)
253 (*ppr)->bal = 1;
255 (*ppr)->bal = 0;
257 if (p2->bal == 1)
258 p1->bal = -1;
260 p1->bal = 0;
263 (*ppr)->bal = 0;
279 switch ((*ppr)->bal) {
282 (*ppr)->bal = 0;
287 (*ppr)->bal = 1;
292 if (p1->bal == 1) { /*%< RR */
296 (*ppr)->bal = 0;
308 if (p2->bal == 1)
309 (*ppr)->bal = -1;
311 (*ppr)->bal = 0;
313 if (p2->bal == -1)
314 p1->bal = 1;
316 p1->bal = 0;
320 (*ppr)->bal = 0;
423 switch ((*ppr_p)->bal) {
426 (*ppr_p)->bal = 0;
430 (*ppr_p)->bal = 1;
436 b1 = p1->bal;
443 (*ppr_p)->bal = 1;
444 p1->bal = -1;
448 (*ppr_p)->bal = 0;
449 p1->bal = 0;
455 b2 = p2->bal;
461 (*ppr_p)->bal = -1;
463 (*ppr_p)->bal = 0;
465 p1->bal = 1;
467 p1->bal = 0;
469 p2->bal = 0;
482 switch ((*ppr_p)->bal) {
485 (*ppr_p)->bal = 0;
489 (*ppr_p)->bal = -1;
495 b1 = p1->bal;
502 (*ppr_p)->bal = -1;
503 p1->bal = 1;
507 (*ppr_p)->bal = 0;
508 p1->bal = 0;
514 b2 = p2->bal;
520 (*ppr_p)->bal = 1;
522 (*ppr_p)->bal = 0;
524 p1->bal = -1;
526 p1->bal = 0;
528 p2->bal = 0;