Searched refs:set_hook (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Modules/ |
D | readline.c | 202 set_hook(const char *funcname, PyObject **hook_var, PyObject *args) in set_hook() function 241 PyObject *result = set_hook("completion_display_matches_hook", in set_completion_display_matches_hook() 268 return set_hook("startup_hook", &startup_hook, args); in set_startup_hook() 285 return set_hook("pre_input_hook", &pre_input_hook, args); in set_pre_input_hook() 504 return set_hook("completer", &completer, args); in set_completer()
|
/external/python/cpython3/Modules/ |
D | readline.c | 333 set_hook(const char *funcname, PyObject **hook_var, PyObject *args) in set_hook() function 360 PyObject *result = set_hook("completion_display_matches_hook", in set_completion_display_matches_hook() 387 return set_hook("startup_hook", &readlinestate_global->startup_hook, args); in set_startup_hook() 404 return set_hook("pre_input_hook", &readlinestate_global->pre_input_hook, args); in set_pre_input_hook() 640 return set_hook("completer", &readlinestate_global->completer, args); in set_completer()
|
/external/crosvm/src/ |
D | panic_hook.rs | 98 panic::set_hook(Box::new(move |info| { in set_panic_hook()
|
/external/rust/crates/proc-macro2/src/ |
D | wrapper.rs | 65 panic::set_hook(null_hook); in nightly_works() 71 panic::set_hook(original_hook); in nightly_works()
|