Lines Matching refs:__w
369 _Rb_tree_node_base* __w = __x_parent->_M_right;
370 if (__w->_M_color == _S_red)
372 __w->_M_color = _S_black;
375 __w = __x_parent->_M_right;
377 if ((__w->_M_left == 0 ||
378 __w->_M_left->_M_color == _S_black) &&
379 (__w->_M_right == 0 ||
380 __w->_M_right->_M_color == _S_black))
382 __w->_M_color = _S_red;
388 if (__w->_M_right == 0
389 || __w->_M_right->_M_color == _S_black)
391 __w->_M_left->_M_color = _S_black;
392 __w->_M_color = _S_red;
393 local_Rb_tree_rotate_right(__w, __root);
394 __w = __x_parent->_M_right;
396 __w->_M_color = __x_parent->_M_color;
398 if (__w->_M_right)
399 __w->_M_right->_M_color = _S_black;
407 _Rb_tree_node_base* __w = __x_parent->_M_left;
408 if (__w->_M_color == _S_red)
410 __w->_M_color = _S_black;
413 __w = __x_parent->_M_left;
415 if ((__w->_M_right == 0 ||
416 __w->_M_right->_M_color == _S_black) &&
417 (__w->_M_left == 0 ||
418 __w->_M_left->_M_color == _S_black))
420 __w->_M_color = _S_red;
426 if (__w->_M_left == 0 || __w->_M_left->_M_color == _S_black)
428 __w->_M_right->_M_color = _S_black;
429 __w->_M_color = _S_red;
430 local_Rb_tree_rotate_left(__w, __root);
431 __w = __x_parent->_M_left;
433 __w->_M_color = __x_parent->_M_color;
435 if (__w->_M_left)
436 __w->_M_left->_M_color = _S_black;