Lines Matching refs:PyErr_ExceptionMatches
22 if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_ValueError)) { in fuzz_builtin_float()
57 if (PyErr_ExceptionMatches(PyExc_UnicodeDecodeError)) { in fuzz_builtin_int()
63 if (l == NULL && PyErr_ExceptionMatches(PyExc_ValueError)) { in fuzz_builtin_int()
75 if (s == NULL && PyErr_ExceptionMatches(PyExc_UnicodeDecodeError)) { in fuzz_builtin_unicode()
124 if (unpacked == NULL && PyErr_ExceptionMatches(PyExc_OverflowError)) { in fuzz_struct_unpack()
129 if (unpacked == NULL && PyErr_ExceptionMatches(PyExc_SystemError)) { in fuzz_struct_unpack()
134 if (unpacked == NULL && PyErr_ExceptionMatches(struct_error)) { in fuzz_struct_unpack()
174 if (PyErr_ExceptionMatches(PyExc_ValueError) || in fuzz_json_loads()
177 PyErr_ExceptionMatches(PyExc_RecursionError) || in fuzz_json_loads()
179 PyErr_ExceptionMatches(PyExc_UnicodeDecodeError) in fuzz_json_loads()
252 if (compiled == NULL && PyErr_ExceptionMatches(PyExc_ValueError)) { in fuzz_sre_compile()
257 if (compiled == NULL && (PyErr_ExceptionMatches(PyExc_OverflowError) || in fuzz_sre_compile()
258 PyErr_ExceptionMatches(PyExc_AssertionError) || in fuzz_sre_compile()
259 PyErr_ExceptionMatches(PyExc_RecursionError) || in fuzz_sre_compile()
260 PyErr_ExceptionMatches(PyExc_IndexError)) in fuzz_sre_compile()
265 if (compiled == NULL && PyErr_ExceptionMatches(sre_error_exception)) { in fuzz_sre_compile()
387 if (PyErr_ExceptionMatches(csv_error)) { in fuzz_csv_reader()