Home
last modified time | relevance | path

Searched refs:_PyErr_ExceptionMatches (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Include/internal/
Dpycore_pyerrors.h38 PyAPI_FUNC(int) _PyErr_ExceptionMatches(
/external/python/cpython3/Python/
Dsysmodule.c377 if (_PyErr_ExceptionMatches(tstate, PyExc_RuntimeError)) { in PySys_AddAuditHook()
428 if (_PyErr_ExceptionMatches(tstate, PyExc_Exception)) { in sys_addaudithook_impl()
555 if (_PyErr_ExceptionMatches(tstate, PyExc_ImportError)) { in sys_breakpointhook()
566 if (_PyErr_ExceptionMatches(tstate, PyExc_AttributeError)) { in sys_breakpointhook()
704 if (_PyErr_ExceptionMatches(tstate, PyExc_UnicodeEncodeError)) { in sys_displayhook()
1704 if (dflt != NULL && _PyErr_ExceptionMatches(tstate, PyExc_TypeError)) { in sys_getsizeof()
2758 if (res < 0 && _PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in _PySys_InitCore()
2786 if (res < 0 && _PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in _PySys_InitCore()
2954 if (!_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in _PySys_InitMain()
Dceval.c2212 && _PyErr_ExceptionMatches(tstate, PyExc_StopIteration)) in _PyEval_EvalFrameDefault()
2333 if (_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) in _PyEval_EvalFrameDefault()
2470 if (_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in _PyEval_EvalFrameDefault()
2500 if (!_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) in _PyEval_EvalFrameDefault()
2529 if (_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in _PyEval_EvalFrameDefault()
2608 if (!_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in _PyEval_EvalFrameDefault()
2616 if (_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in _PyEval_EvalFrameDefault()
2682 if (!_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in _PyEval_EvalFrameDefault()
2780 if (_PyErr_ExceptionMatches(tstate, PyExc_TypeError) && in _PyEval_EvalFrameDefault()
2890 if (!_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in _PyEval_EvalFrameDefault()
[all …]
Dimport.c374 if (m == NULL && _PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in import_get_module()
865 if (_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in import_add_module()
925 if (_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in remove_module()
1215 if (!_PyErr_ExceptionMatches(tstate, PyExc_ImportError)) { in get_path_importer()
Derrors.c264 _PyErr_ExceptionMatches(PyThreadState *tstate, PyObject *exc) in _PyErr_ExceptionMatches() function
274 return _PyErr_ExceptionMatches(tstate, exc); in PyErr_ExceptionMatches()