Home
last modified time | relevance | path

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

/device/linaro/hikey/hifi/xaf/hifi-dpf/core/util/
Drbtree.c36 #define RB_RED (1) macro
52 #define RB_IS_BLACK(tree, node) (!((node)->color & RB_RED))
304 RB_SET_P_L_C(tree, g_idx, n_idx, cr_idx, RB_RED); in __rb_insert_balance()
323 RB_SET_P_R_C(tree, g_idx, n_idx, cl_idx, RB_RED); in __rb_insert_balance()
336 RB_SET_P_L_C(tree, g_idx, p_idx, cr_idx, RB_RED); in __rb_insert_balance()
351 RB_SET_P_R_C(tree, g_idx, p_idx, cl_idx, RB_RED); in __rb_insert_balance()
379 RB_SET_C(tree, g_idx, RB_RED); in __rb_insert_balance()
408 RB_SET_P_L_R_C(tree, n_idx, p_idx, RB_NULL(tree), RB_NULL(tree), RB_RED); in rb_insert()
473 RB_SET_P_R_C(tree, p_idx, s_idx, c_idx, RB_RED); in __rb_delete_rebalance()
487 RB_SET_P_L_C(tree, p_idx, s_idx, c_idx, RB_RED); in __rb_delete_rebalance()
[all …]