Home
last modified time | relevance | path

Searched refs:_PySys_Audit (Results 1 – 7 of 7) sorted by relevance

/third_party/python/Include/internal/
Dpycore_sysmodule.h11 PyAPI_FUNC(int) _PySys_Audit(
/third_party/python/Python/
Dsysmodule.c314 _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()
Dpystate.c212 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()
Dpythonrun.c815 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()
Dceval.c5529 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()
Derrors.c1510 if (_PySys_Audit(tstate, "sys.unraisablehook", "OO", hook, hook_args) < 0) { in _PyErr_WriteUnraisableMsg()
Dimport.c1492 if (_PySys_Audit(tstate, "import", "OOOOO", in import_find_and_load()