Lines Matching refs:action
53 void (*action)(const void *, VISIT, int), int level);
57 trecurse(const node_t *root, void (*action)(const void *, VISIT, int), int level) in trecurse()
61 (*action)(root, leaf, level); in trecurse()
63 (*action)(root, preorder, level); in trecurse()
65 trecurse(root->llink, action, level + 1); in trecurse()
66 (*action)(root, postorder, level); in trecurse()
68 trecurse(root->rlink, action, level + 1); in trecurse()
69 (*action)(root, endorder, level); in trecurse()
76 void (*action)(const void *, VISIT, int)) in twalk()
78 if (vroot != NULL && action != NULL) in twalk()
79 trecurse(vroot, action, 0); in twalk()