Searched refs:subtree (Results 1 – 1 of 1) sorted by relevance
276 static struct node *node_copy_subtree(struct node *subtree) in node_copy_subtree() argument287 root->idx = subtree->idx; in node_copy_subtree()288 root->mask = subtree->mask; in node_copy_subtree()289 root->num_after = subtree->num_after; in node_copy_subtree()292 if (subtree->left) { in node_copy_subtree()293 root->left = node_copy_subtree(subtree->left); in node_copy_subtree()297 if (subtree->right) { in node_copy_subtree()298 root->right = node_copy_subtree(subtree->right); in node_copy_subtree()