Home
last modified time | relevance | path

Searched refs:pNode2 (Results 1 – 1 of 1) sorted by relevance

/lvgl-latest/src/misc/
Dlv_rb.c494 lv_rb_node_t * pNode2 = node2->right; in rb_delete_color() local
495 if(pNode2->color == LV_RB_COLOR_RED) { in rb_delete_color()
496 pNode2->color = LV_RB_COLOR_BLACK; in rb_delete_color()
499 pNode2 = node2->right; in rb_delete_color()
502 if((pNode2->left == NULL || pNode2->left->color == LV_RB_COLOR_BLACK) in rb_delete_color()
503 && (pNode2->right == NULL || pNode2->right->color == LV_RB_COLOR_BLACK)) { in rb_delete_color()
504 pNode2->color = LV_RB_COLOR_RED; in rb_delete_color()
509 if(pNode2->right == NULL || pNode2->right->color == LV_RB_COLOR_BLACK) { in rb_delete_color()
510 pNode2->left->color = LV_RB_COLOR_BLACK; in rb_delete_color()
511 pNode2->color = LV_RB_COLOR_RED; in rb_delete_color()
[all …]