Lines Matching refs:action
201 static void _twalk(Tree_t* obj, void(*action)(const Void_t*,VISIT,int), int level) in _twalk()
203 static void _twalk(obj,action,level) in _twalk()
205 void(* action)();
209 (*action)((Void_t*)obj,leaf,level);
211 { (*action)((Void_t*)obj,preorder,level);
213 _twalk((Tree_t*)obj->lchild,action,level+1);
214 (*action)((Void_t*)obj,postorder,level);
216 _twalk((Tree_t*)obj->rchild,action,level+1);
217 (*action)((Void_t*)obj,endorder,level);
227 void twalk(const Void_t* root, void(*action)(const Void_t*,VISIT,int) ) in twalk()
229 void twalk(root, action) in twalk()
231 void(* action)();
237 _twalk(o,action,0);