/external/python/cpython3/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() 111 if (PyErr_ExceptionMatches(PyExc_ValueError) || in fuzz_json_loads() 114 PyErr_ExceptionMatches(PyExc_RecursionError) || in fuzz_json_loads() 116 PyErr_ExceptionMatches(PyExc_UnicodeDecodeError) in fuzz_json_loads() 189 if (compiled == NULL && PyErr_ExceptionMatches(PyExc_ValueError)) { in fuzz_sre_compile() 194 if (compiled == NULL && (PyErr_ExceptionMatches(PyExc_OverflowError) || in fuzz_sre_compile() 195 PyErr_ExceptionMatches(PyExc_AssertionError) || in fuzz_sre_compile() [all …]
|
/external/python/cpython3/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 | 65 if (PyErr_ExceptionMatches(PyExc_KeyError)) in _weakref__remove_dead_weakref_impl()
|
D | _struct.c | 145 if (PyErr_ExceptionMatches(PyExc_OverflowError)) in get_long() 169 if (PyErr_ExceptionMatches(PyExc_OverflowError)) in get_ulong() 192 if (PyErr_ExceptionMatches(PyExc_OverflowError)) in get_longlong() 215 if (PyErr_ExceptionMatches(PyExc_OverflowError)) in get_ulonglong() 238 if (PyErr_ExceptionMatches(PyExc_OverflowError)) in get_ssize_t() 261 if (PyErr_ExceptionMatches(PyExc_OverflowError)) in get_size_t() 1823 if (PyLong_Check(v) && PyErr_ExceptionMatches(PyExc_OverflowError)) in s_pack_internal()
|
D | _gdbmmodule.c | 184 if (res == NULL && PyErr_ExceptionMatches(PyExc_KeyError)) { in _gdbm_gdbm_get_impl() 253 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.c | 103 if (rv < 0 && PyErr_ExceptionMatches(PyExc_KeyError)) in Xxo_setattr()
|
/external/python/cpython2/Modules/ |
D | testcapi_long.h | 100 if (!PyErr_ExceptionMatches(PyExc_OverflowError)) in TESTNAME() 124 if (!PyErr_ExceptionMatches(PyExc_OverflowError)) in TESTNAME() 143 if (!PyErr_ExceptionMatches(PyExc_OverflowError)) in TESTNAME() 168 if (!PyErr_ExceptionMatches(PyExc_OverflowError)) in TESTNAME()
|
D | _weakref.c | 32 if (PyErr_ExceptionMatches(PyExc_KeyError)) in remove_dead_weakref()
|
D | pwdmodule.c | 109 if (PyErr_ExceptionMatches(PyExc_OverflowError)) in pwd_getpwuid()
|
/external/python/cpython2/Objects/ |
D | iterobject.c | 68 if (PyErr_ExceptionMatches(PyExc_IndexError) || in iter_iternext() 69 PyErr_ExceptionMatches(PyExc_StopIteration)) in iter_iternext() 196 else if (PyErr_ExceptionMatches(PyExc_StopIteration)) { in calliter_iternext()
|
D | classobject.c | 776 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_getattr() 912 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_repr() 949 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_str() 974 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_hash() 987 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_hash() 997 if (!PyErr_ExceptionMatches( in instance_hash() 1190 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_slice() 1278 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_ass_slice() 1312 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_ass_slice() 1385 if (PyErr_ExceptionMatches(PyExc_AttributeError)) { in instance_contains() [all …]
|
D | enumobject.c | 245 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in reversed_new() 310 if (PyErr_ExceptionMatches(PyExc_IndexError) || in reversed_next() 311 PyErr_ExceptionMatches(PyExc_StopIteration)) in reversed_next()
|
D | genobject.c | 140 if (PyErr_ExceptionMatches(PyExc_StopIteration) in gen_close() 141 || PyErr_ExceptionMatches(PyExc_GeneratorExit)) in gen_close()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_func.cc | 213 if (PyErr_ExceptionMatches(PyExc_ValueError) || in DoCallPyFunc() 214 PyErr_ExceptionMatches(PyExc_TypeError)) { in DoCallPyFunc() 216 } else if (PyErr_ExceptionMatches(PyExc_StopIteration)) { in DoCallPyFunc() 219 } else if (PyErr_ExceptionMatches(PyExc_MemoryError)) { in DoCallPyFunc() 221 } else if (PyErr_ExceptionMatches(PyExc_NotImplementedError)) { in DoCallPyFunc()
|
/external/python/cpython2/Modules/_sqlite/ |
D | microprotocols.c | 107 if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_TypeError)) in pysqlite_microprotocols_adapt() 122 if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_TypeError)) { in pysqlite_microprotocols_adapt()
|
/external/python/cpython3/Objects/ |
D | iterobject.c | 71 if (PyErr_ExceptionMatches(PyExc_IndexError) || in iter_iternext() 72 PyErr_ExceptionMatches(PyExc_StopIteration)) in iter_iternext() 236 else if (PyErr_ExceptionMatches(PyExc_StopIteration)) { in calliter_iternext()
|
D | genobject.c | 252 else if (!result && PyErr_ExceptionMatches(PyExc_StopIteration)) { in gen_send_ex() 264 PyErr_ExceptionMatches(PyExc_StopAsyncIteration)) in gen_send_ex() 384 if (PyErr_ExceptionMatches(PyExc_StopIteration) in gen_close() 385 || PyErr_ExceptionMatches(PyExc_GeneratorExit)) { in gen_close() 597 if (PyErr_ExceptionMatches(PyExc_StopIteration)) { in _PyGen_FetchStopIterationValue() 1482 if (PyErr_ExceptionMatches(PyExc_StopAsyncIteration) in async_gen_unwrap_value() 1483 || PyErr_ExceptionMatches(PyExc_GeneratorExit) in async_gen_unwrap_value() 1911 if (PyErr_ExceptionMatches(PyExc_StopAsyncIteration) || in async_gen_athrow_send() 1912 PyErr_ExceptionMatches(PyExc_GeneratorExit)) in async_gen_athrow_send() 1950 if (PyErr_ExceptionMatches(PyExc_StopAsyncIteration) || in async_gen_athrow_throw() [all …]
|
D | enumobject.c | 342 if (PyErr_ExceptionMatches(PyExc_IndexError) || in reversed_next() 343 PyErr_ExceptionMatches(PyExc_StopIteration)) in reversed_next()
|
/external/python/cpython3/Modules/_sqlite/ |
D | microprotocols.c | 114 else if (adapted || !PyErr_ExceptionMatches(PyExc_TypeError)) { in pysqlite_microprotocols_adapt() 133 else if (adapted || !PyErr_ExceptionMatches(PyExc_TypeError)) { in pysqlite_microprotocols_adapt()
|
/external/python/cpython3/Python/ |
D | sysmodule.c | 296 if (PyErr_ExceptionMatches(PyExc_RuntimeError)) { in PySys_AddAuditHook() 343 if (PyErr_ExceptionMatches(PyExc_Exception)) { in sys_addaudithook_impl() 463 if (PyErr_ExceptionMatches(PyExc_ImportError)) { in sys_breakpointhook() 474 if (PyErr_ExceptionMatches(PyExc_AttributeError)) { in sys_breakpointhook() 611 if (PyErr_ExceptionMatches(PyExc_UnicodeEncodeError)) { in sys_displayhook() 1619 if (dflt != NULL && PyErr_ExceptionMatches(PyExc_TypeError)) { in sys_getsizeof() 2721 if (res < 0 && PyErr_ExceptionMatches(PyExc_KeyError)) in _PySys_InitCore() 2748 if (res < 0 && PyErr_ExceptionMatches(PyExc_KeyError)) { in _PySys_InitCore() 2916 if (!PyErr_ExceptionMatches(PyExc_KeyError)) { in _PySys_InitMain()
|
D | pytime.c | 76 if (PyErr_ExceptionMatches(PyExc_OverflowError)) { in _PyLong_AsTime_t() 276 if (PyErr_ExceptionMatches(PyExc_OverflowError)) { in _PyTime_FromNanosecondsObject() 419 if (PyErr_ExceptionMatches(PyExc_OverflowError)) { in _PyTime_FromObject()
|
D | importdl.c | 63 if (PyErr_ExceptionMatches(PyExc_UnicodeEncodeError)) { in get_encoded_name()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor_database.cc | 58 if (PyErr_ExceptionMatches(PyExc_KeyError)) { in GetFileDescriptorProto()
|
/external/python/cpython3/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()
|