Home
last modified time | relevance | path

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

/external/ltp/utils/ffsb-6.0-rc2/
Drbt.c177 rb_node *dup_node = rbnode_construct(node->object, node->color); in rbnode_duplicate() local
178 if (!dup_node) in rbnode_duplicate()
183 dup_node->right = rbnode_duplicate(node->right); in rbnode_duplicate()
184 dup_node->right->parent = dup_node; in rbnode_duplicate()
186 dup_node->right = NULL; in rbnode_duplicate()
190 dup_node->left = rbnode_duplicate(node->left); in rbnode_duplicate()
191 dup_node->left->parent = dup_node; in rbnode_duplicate()
193 dup_node->left = NULL; in rbnode_duplicate()
196 return dup_node; /* Return the duplicated node */ in rbnode_duplicate()