Home
last modified time | relevance | path

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

/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_function_hooks.c40 func_hook *call_back; member
75 static struct fcall_back *alloc_fcall_back(int type, void *call_back, in alloc_fcall_back() argument
82 cb->u.call_back = call_back; in alloc_fcall_back()
87 void add_function_hook(const char *look_for, func_hook *call_back, void *info) in add_function_hook() argument
91 cb = alloc_fcall_back(REGULAR_CALL, call_back, info); in add_function_hook()
95 void add_function_assign_hook(const char *look_for, func_hook *call_back, in add_function_assign_hook() argument
100 cb = alloc_fcall_back(ASSIGN_CALL, call_back, info); in add_function_assign_hook()
105 implied_return_hook *call_back, in add_implied_return_hook() argument
110 cb = alloc_fcall_back(IMPLIED_RETURN, call_back, info); in add_implied_return_hook()
114 void add_macro_assign_hook(const char *look_for, func_hook *call_back, in add_macro_assign_hook() argument
[all …]
H A Dsmatch_modification_hooks.c72 void add_modification_hook(int owner, modification_hook *call_back) in add_modification_hook() argument
76 hooks[owner] = call_back; in add_modification_hook()
79 void add_modification_hook_late(int owner, modification_hook *call_back) in add_modification_hook_late() argument
83 hooks_late[owner] = call_back; in add_modification_hook_late()
H A Dsmatch.h179 void add_function_hook(const char *look_for, func_hook *call_back, void *data);
181 void add_function_assign_hook(const char *look_for, func_hook *call_back,
184 implied_return_hook *call_back,
186 void add_macro_assign_hook(const char *look_for, func_hook *call_back,
188 void add_macro_assign_hook_extra(const char *look_for, func_hook *call_back,
191 implication_hook *call_back, void *info);
193 implication_hook *call_back, void *info);
207 void add_modification_hook(int owner, modification_hook *call_back);
208 void add_modification_hook_late(int owner, modification_hook *call_back);
927 #define sql_helper(db, call_back, data, sql...) \ argument
[all …]
H A Dsmatch_constraints_required.c252 static void add_allocation_function(const char *func, void *call_back, int param) in add_allocation_function() argument
254 add_function_assign_hook(func, call_back, INT_PTR(param)); in add_allocation_function()
H A Dsmatch_buf_comparison.c471 static void add_allocation_function(const char *func, void *call_back, int param) in add_allocation_function() argument
473 add_function_assign_hook(func, call_back, INT_PTR(param)); in add_allocation_function()
H A Dsmatch_buf_size.c57 static void add_allocation_function(const char *func, void *call_back, int param) in add_allocation_function() argument
60 add_function_assign_hook(func, call_back, INT_PTR(param)); in add_allocation_function()