/third_party/python/Modules/_xxtestfuzz/ |
D | fuzzer.c | 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() [all …]
|
/third_party/python/Modules/ |
D | testcapi_long.h | 99 if (!PyErr_ExceptionMatches(PyExc_OverflowError)) in TESTNAME() 123 if (!PyErr_ExceptionMatches(PyExc_OverflowError)) in TESTNAME() 142 if (!PyErr_ExceptionMatches(PyExc_OverflowError)) in TESTNAME() 167 if (!PyErr_ExceptionMatches(PyExc_OverflowError)) in TESTNAME() 189 if (!PyErr_ExceptionMatches(PyExc_TypeError)) in TESTNAME() 197 if (!PyErr_ExceptionMatches(PyExc_TypeError)) in TESTNAME()
|
D | _weakref.c | 66 if (PyErr_ExceptionMatches(PyExc_KeyError)) in _weakref__remove_dead_weakref_impl()
|
D | _struct.c | 166 if (PyErr_ExceptionMatches(PyExc_OverflowError)) in get_long() 190 if (PyErr_ExceptionMatches(PyExc_OverflowError)) in get_ulong() 213 if (PyErr_ExceptionMatches(PyExc_OverflowError)) in get_longlong() 236 if (PyErr_ExceptionMatches(PyExc_OverflowError)) in get_ulonglong() 259 if (PyErr_ExceptionMatches(PyExc_OverflowError)) in get_ssize_t() 282 if (PyErr_ExceptionMatches(PyExc_OverflowError)) in get_size_t() 1859 if (PyLong_Check(v) && PyErr_ExceptionMatches(PyExc_OverflowError)) in s_pack_internal()
|
D | _gdbmmodule.c | 227 if (res == NULL && PyErr_ExceptionMatches(PyExc_KeyError)) { in _gdbm_gdbm_get_impl() 297 if (res == NULL && PyErr_ExceptionMatches(PyExc_KeyError)) { in _gdbm_gdbm_setdefault_impl()
|
D | xxmodule.c | 91 if (rv < 0 && PyErr_ExceptionMatches(PyExc_KeyError)) in Xxo_setattr()
|
D | xxlimited_35.c | 106 if (rv < 0 && PyErr_ExceptionMatches(PyExc_KeyError)) in Xxo_setattr()
|
D | xxlimited.c | 164 if (rv < 0 && PyErr_ExceptionMatches(PyExc_KeyError)) { in Xxo_setattro()
|
D | pwdmodule.c | 139 if (PyErr_ExceptionMatches(PyExc_OverflowError)) in pwd_getpwuid()
|
D | selectmodule.c | 275 if (PyErr_ExceptionMatches(PyExc_TypeError)) { in select_select_impl() 588 if (PyErr_ExceptionMatches(PyExc_TypeError)) { in select_poll_poll_impl() 920 if (PyErr_ExceptionMatches(PyExc_TypeError)) { in select_devpoll_poll_impl() 1529 if (PyErr_ExceptionMatches(PyExc_TypeError)) { in select_epoll_poll_impl()
|
D | _testcapimodule.c | 888 if (!PyErr_ExceptionMatches(PyExc_TypeError)) in test_long_as_size_t() 898 if (!PyErr_ExceptionMatches(PyExc_TypeError)) in test_long_as_size_t() 919 if (!PyErr_ExceptionMatches(PyExc_SystemError)) { in test_long_as_unsigned_long_long_mask() 943 if (!PyErr_ExceptionMatches(PyExc_TypeError)) in test_long_as_double() 1138 if (PyErr_ExceptionMatches(PyExc_SystemError)) { in test_get_statictype_slots() 3045 if (PyErr_ExceptionMatches(PyExc_ValueError)) \ in test_string_to_double() 3538 match = PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_BufferError); in test_pep3118_obsolete_write_locks() 3551 match = PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_BufferError); in test_pep3118_obsolete_write_locks() 7385 if (!PyErr_ExceptionMatches(PyExc_SystemError)) { in test_buildvalue_issue38913() 7392 if (!PyErr_ExceptionMatches(PyExc_SystemError)) { in test_buildvalue_issue38913() [all …]
|
/third_party/python/Parser/ |
D | pegen_errors.c | 12 if (!(PyErr_ExceptionMatches(PyExc_LookupError) in _PyPegen_raise_tokenizer_init_error() 13 || PyErr_ExceptionMatches(PyExc_SyntaxError) in _PyPegen_raise_tokenizer_init_error() 14 || PyErr_ExceptionMatches(PyExc_ValueError) in _PyPegen_raise_tokenizer_init_error() 15 || PyErr_ExceptionMatches(PyExc_UnicodeDecodeError))) { in _PyPegen_raise_tokenizer_init_error() 119 if (PyErr_ExceptionMatches(PyExc_UnicodeError)) { in _Pypegen_raise_decode_error() 122 else if (PyErr_ExceptionMatches(PyExc_ValueError)) { in _Pypegen_raise_decode_error() 391 if (p->tok->done == E_DONE && PyErr_ExceptionMatches(PyExc_SyntaxError)) { in _Pypegen_set_syntax_error()
|
D | pegen.c | 258 if (PyErr_ExceptionMatches(PyExc_UnicodeError)) { in raise_decode_error() 261 else if (PyErr_ExceptionMatches(PyExc_ValueError)) { in raise_decode_error() 300 if (!(PyErr_ExceptionMatches(PyExc_LookupError) in raise_tokenizer_init_error() 301 || PyErr_ExceptionMatches(PyExc_SyntaxError) in raise_tokenizer_init_error() 302 || PyErr_ExceptionMatches(PyExc_ValueError) in raise_tokenizer_init_error() 303 || PyErr_ExceptionMatches(PyExc_UnicodeDecodeError))) { in raise_tokenizer_init_error() 1351 if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_SyntaxError)) { in _PyPegen_run_parser() 1360 if (p->tok->done == E_DONE && PyErr_ExceptionMatches(PyExc_SyntaxError)) { in _PyPegen_run_parser()
|
/third_party/python/Objects/ |
D | iterobject.c | 71 if (PyErr_ExceptionMatches(PyExc_IndexError) || in iter_iternext() 72 PyErr_ExceptionMatches(PyExc_StopIteration)) in iter_iternext() 235 else if (PyErr_ExceptionMatches(PyExc_StopIteration)) { in calliter_iternext() 378 if (PyErr_ExceptionMatches(PyExc_StopAsyncIteration)) { in anextawaitable_iternext() 396 if (PyErr_ExceptionMatches(PyExc_StopAsyncIteration)) { in anextawaitable_proxy()
|
D | genobject.c | 237 if (PyErr_ExceptionMatches(PyExc_StopIteration)) { in gen_send_ex2() 248 PyErr_ExceptionMatches(PyExc_StopAsyncIteration)) in gen_send_ex2() 396 if (PyErr_ExceptionMatches(PyExc_StopIteration) in gen_close() 397 || PyErr_ExceptionMatches(PyExc_GeneratorExit)) { in gen_close() 632 if (PyErr_ExceptionMatches(PyExc_StopIteration)) { in _PyGen_FetchStopIterationValue() 1526 if (PyErr_ExceptionMatches(PyExc_StopAsyncIteration) in async_gen_unwrap_value() 1527 || PyErr_ExceptionMatches(PyExc_GeneratorExit) in async_gen_unwrap_value() 1993 if (PyErr_ExceptionMatches(PyExc_StopAsyncIteration) || in async_gen_athrow_send() 1994 PyErr_ExceptionMatches(PyExc_GeneratorExit)) in async_gen_athrow_send() 2034 if (PyErr_ExceptionMatches(PyExc_StopAsyncIteration) || in async_gen_athrow_throw() [all …]
|
D | enumobject.c | 374 if (PyErr_ExceptionMatches(PyExc_IndexError) || in reversed_next() 375 PyErr_ExceptionMatches(PyExc_StopIteration)) in reversed_next()
|
D | object.c | 895 if (PyErr_ExceptionMatches(PyExc_AttributeError)){ in set_attribute_error_context() 985 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) { in _PyObject_LookupAttr() 1245 PyErr_ExceptionMatches(PyExc_AttributeError)) { in _PyObject_GenericGetAttrWithDict() 1283 if (suppress && PyErr_ExceptionMatches(PyExc_AttributeError)) { in _PyObject_GenericGetAttrWithDict() 1296 PyErr_ExceptionMatches(PyExc_AttributeError)) { in _PyObject_GenericGetAttrWithDict() 1391 if (res < 0 && PyErr_ExceptionMatches(PyExc_KeyError)) in _PyObject_GenericSetAttrWithDict()
|
D | genericaliasobject.c | 402 if (!PyErr_ExceptionMatches(PyExc_AttributeError) && in ga_call() 403 !PyErr_ExceptionMatches(PyExc_TypeError)) in ga_call()
|
/third_party/python/Modules/_sqlite/ |
D | microprotocols.c | 115 else if (adapted || !PyErr_ExceptionMatches(PyExc_TypeError)) { in pysqlite_microprotocols_adapt() 134 else if (adapted || !PyErr_ExceptionMatches(PyExc_TypeError)) { in pysqlite_microprotocols_adapt()
|
/third_party/python/Modules/_ctypes/ |
D | stgdict.c | 399 PyErr_ExceptionMatches(PyExc_TypeError) || in PyCStructUnionType_update_stgdict() 400 PyErr_ExceptionMatches(PyExc_OverflowError)) in PyCStructUnionType_update_stgdict() 415 if (PyErr_ExceptionMatches(PyExc_TypeError)) { in PyCStructUnionType_update_stgdict()
|
/third_party/protobuf/python/google/protobuf/pyext/ |
D | descriptor_database.cc | 58 if (PyErr_ExceptionMatches(PyExc_KeyError)) { in GetFileDescriptorProto()
|
/third_party/python/Python/ |
D | pytime.c | 82 if (PyErr_ExceptionMatches(PyExc_OverflowError)) { in _PyLong_AsTime_t() 282 if (PyErr_ExceptionMatches(PyExc_OverflowError)) { in _PyTime_FromNanosecondsObject() 425 if (PyErr_ExceptionMatches(PyExc_OverflowError)) { in _PyTime_FromObject()
|
D | importdl.c | 66 if (PyErr_ExceptionMatches(PyExc_UnicodeEncodeError)) { in get_encoded_name()
|
D | bltinmodule.c | 351 if (PyErr_ExceptionMatches(PyExc_StopIteration)) in builtin_all() 400 if (PyErr_ExceptionMatches(PyExc_StopIteration)) in builtin_any() 1459 if(!PyErr_ExceptionMatches(PyExc_StopIteration)) in builtin_next() 2782 if (!PyErr_ExceptionMatches(PyExc_StopIteration)) { in zip_next() 2807 if (!PyErr_ExceptionMatches(PyExc_StopIteration)) { in zip_next()
|
D | pythonrun.c | 153 if (PyErr_ExceptionMatches(PyExc_MemoryError)) { in _PyRun_InteractiveLoopObject() 709 if (!PyErr_ExceptionMatches(PyExc_SystemExit)) { in _Py_HandleSystemExit() 817 if (PyErr_ExceptionMatches(PyExc_RuntimeError)) { in _PyErr_PrintEx()
|