Searched refs:victim (Results 1 - 1 of 1) sorted by relevance

/seL4-camkes-master/tools/cogent/impl/fs/bilby/c/
H A Drbt.c391 void rbt_replace_node(struct rbt_node *victim, struct rbt_node *new, argument
394 struct rbt_node *parent = rbt_parent(victim);
398 if (victim == parent->rbt_left)
405 if (victim->rbt_left)
406 rbt_set_parent(victim->rbt_left, new);
407 if (victim->rbt_right)
408 rbt_set_parent(victim->rbt_right, new);
410 /* Copy the pointers/colour from the victim to the replacement */
411 *new = *victim;

Completed in 74 milliseconds