Home
last modified time | relevance | path

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

/external/python/cpython3/Include/internal/
Dpycore_pyerrors.h38 PyAPI_FUNC(int) _PyErr_ExceptionMatches(
/external/python/cpython3/Python/
Dceval.c992 if (attr == NULL && _PyErr_ExceptionMatches(tstate, PyExc_AttributeError)) { in match_class_attr()
1039 else if (_PyErr_ExceptionMatches(tstate, PyExc_AttributeError)) { in match_class()
2597 && _PyErr_ExceptionMatches(tstate, PyExc_StopIteration)) in _PyEval_EvalFrameDefault()
2748 if (_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) in _PyEval_EvalFrameDefault()
2885 if (_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in _PyEval_EvalFrameDefault()
2915 if (!_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) in _PyEval_EvalFrameDefault()
2944 if (_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in _PyEval_EvalFrameDefault()
3023 if (!_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in _PyEval_EvalFrameDefault()
3031 if (_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in _PyEval_EvalFrameDefault()
3097 if (!_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in _PyEval_EvalFrameDefault()
[all …]
Dsysmodule.c399 if (_PyErr_ExceptionMatches(tstate, PyExc_RuntimeError)) { in PySys_AddAuditHook()
450 if (_PyErr_ExceptionMatches(tstate, PyExc_Exception)) { in sys_addaudithook_impl()
577 if (_PyErr_ExceptionMatches(tstate, PyExc_ImportError)) { in sys_breakpointhook()
588 if (_PyErr_ExceptionMatches(tstate, PyExc_AttributeError)) { in sys_breakpointhook()
726 if (_PyErr_ExceptionMatches(tstate, PyExc_UnicodeEncodeError)) { in sys_displayhook()
1718 if (dflt != NULL && _PyErr_ExceptionMatches(tstate, PyExc_TypeError)) { in sys_getsizeof()
Dimport.c336 if (m == NULL && _PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in import_get_module()
602 if (_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in import_add_module()
672 if (_PyErr_ExceptionMatches(tstate, PyExc_KeyError)) { in remove_module()
969 if (!_PyErr_ExceptionMatches(tstate, PyExc_ImportError)) { in get_path_importer()
Derrors.c291 _PyErr_ExceptionMatches(PyThreadState *tstate, PyObject *exc) in _PyErr_ExceptionMatches() function
301 return _PyErr_ExceptionMatches(tstate, exc); in PyErr_ExceptionMatches()
/external/python/cpython3/Objects/
Dabstract.c101 if (!_PyErr_ExceptionMatches(tstate, PyExc_TypeError)) { in PyObject_LengthHint()
121 if (_PyErr_ExceptionMatches(tstate, PyExc_TypeError)) { in PyObject_LengthHint()
2168 if (_PyErr_ExceptionMatches(tstate, PyExc_TypeError)) { in PySequence_Fast()
2428 if (_PyErr_ExceptionMatches(tstate, PyExc_TypeError)) { in method_output_as_list()
2878 && _PyErr_ExceptionMatches(tstate, PyExc_StopIteration)) in PyIter_Next()
/external/python/cpython3/Doc/data/
Dpython3.10.abi998 …<elf-symbol name='_PyErr_ExceptionMatches' type='func-type' binding='global-binding' visibility='d…
4008 …<function-decl name='_PyErr_ExceptionMatches' mangled-name='_PyErr_ExceptionMatches' filepath='./I…
15106_PyErr_ExceptionMatches' mangled-name='_PyErr_ExceptionMatches' filepath='Python/errors.c' line='2…