Lines Matching refs:root
61 NODE *root = (NODE *) r;
62 if (root->llink == NULL && root->rlink == NULL)
63 (*action)(root, leaf, level, cookie);
65 (*action)(root, preorder, level, cookie);
66 if (root->llink != NULL)
67 slp_twalk(root->llink, action, level + 1, cookie);
68 (*action)(root, postorder, level, cookie);
69 if (root->rlink != NULL)
70 slp_twalk(root->rlink, action, level + 1, cookie);
71 (*action)(root, endorder, level, cookie);