Searched refs:_PySys_Audit (Results 1 – 7 of 7) sorted by relevance
/third_party/python/Include/internal/ |
D | pycore_sysmodule.h | 11 PyAPI_FUNC(int) _PySys_Audit(
|
/third_party/python/Python/ |
D | sysmodule.c | 314 _PySys_Audit(PyThreadState *tstate, const char *event, in _PySys_Audit() function 370 _PySys_Audit(ts, "cpython._PySys_ClearAuditHooks", NULL); in _PySys_ClearAuditHooks() 399 if (_PySys_Audit(tstate, "sys.addaudithook", NULL) < 0) { in PySys_AddAuditHook() 450 if (_PySys_Audit(tstate, "sys.addaudithook", NULL) < 0) { in sys_addaudithook_impl() 518 int res = _PySys_Audit(tstate, event, "O", auditArgs); in sys_audit() 1846 if (_PySys_Audit(tstate, "sys._getframe", "O", f) < 0) { in sys__getframe_impl()
|
D | pystate.c | 212 if (_PySys_Audit(tstate, "cpython.PyInterpreterState_New", NULL) < 0) { in PyInterpreterState_New() 292 if (_PySys_Audit(tstate, "cpython.PyInterpreterState_Clear", NULL) < 0) { in interpreter_clear() 1201 if (_PySys_Audit(tstate, "sys._current_frames", NULL) < 0) { in _PyThread_CurrentFrames() 1254 if (_PySys_Audit(tstate, "sys._current_exceptions", NULL) < 0) { in _PyThread_CurrentExceptions()
|
D | pythonrun.c | 815 if (_PySys_Audit(tstate, "sys.excepthook", "OOOO", hook ? hook : Py_None, in _PyErr_PrintEx() 1307 if (_PySys_Audit(tstate, "exec", "O", co) < 0) { in run_mod()
|
D | ceval.c | 5529 if (_PySys_Audit(current_tstate, "sys.setprofile", NULL) < 0) { in _PyEval_SetProfile() 5570 if (_PySys_Audit(current_tstate, "sys.settrace", NULL) < 0) { in _PyEval_SetTrace() 5623 if (_PySys_Audit(tstate, "sys.set_asyncgen_hook_firstiter", NULL) < 0) { in _PyEval_SetAsyncGenFirstiter() 5644 if (_PySys_Audit(tstate, "sys.set_asyncgen_hook_finalizer", NULL) < 0) { in _PyEval_SetAsyncGenFinalizer()
|
D | errors.c | 1510 if (_PySys_Audit(tstate, "sys.unraisablehook", "OO", hook, hook_args) < 0) { in _PyErr_WriteUnraisableMsg()
|
D | import.c | 1492 if (_PySys_Audit(tstate, "import", "OOOOO", in import_find_and_load()
|