/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 | _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() 1800 if (PyLong_Check(v) && PyErr_ExceptionMatches(PyExc_OverflowError)) in s_pack_internal()
|
D | _weakref.c | 65 if (PyErr_ExceptionMatches(PyExc_KeyError)) in _weakref__remove_dead_weakref_impl()
|
D | _gdbmmodule.c | 163 if (res == NULL && PyErr_ExceptionMatches(PyExc_KeyError)) { in _gdbm_gdbm_get_impl() 230 if (res == NULL && PyErr_ExceptionMatches(PyExc_KeyError)) { in _gdbm_gdbm_setdefault_impl()
|
D | pwdmodule.c | 123 if (PyErr_ExceptionMatches(PyExc_OverflowError)) in pwd_getpwuid()
|
D | grpmodule.c | 104 if (!PyErr_ExceptionMatches(PyExc_TypeError)) { in grp_getgrgid_impl()
|
/external/python/cpython3/Modules/_xxtestfuzz/ |
D | fuzzer.c | 22 if (PyErr_Occurred() && PyErr_ExceptionMatches(PyExc_ValueError)) { in fuzz_builtin_float() 50 if (PyErr_ExceptionMatches(PyExc_UnicodeDecodeError)) { in fuzz_builtin_int() 56 if (l == NULL && PyErr_ExceptionMatches(PyExc_ValueError)) { in fuzz_builtin_int() 68 if (s == NULL && PyErr_ExceptionMatches(PyExc_UnicodeDecodeError)) { in fuzz_builtin_unicode()
|
/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 | 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 | 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 | 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/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 | 70 if (PyErr_ExceptionMatches(PyExc_IndexError) || in iter_iternext() 71 PyErr_ExceptionMatches(PyExc_StopIteration)) in iter_iternext() 234 else if (PyErr_ExceptionMatches(PyExc_StopIteration)) { in calliter_iternext()
|
D | genobject.c | 251 else if (!result && PyErr_ExceptionMatches(PyExc_StopIteration)) { in gen_send_ex() 263 PyErr_ExceptionMatches(PyExc_StopAsyncIteration)) in gen_send_ex() 383 if (PyErr_ExceptionMatches(PyExc_StopIteration) in gen_close() 384 || PyErr_ExceptionMatches(PyExc_GeneratorExit)) { in gen_close() 596 if (PyErr_ExceptionMatches(PyExc_StopIteration)) { in _PyGen_FetchStopIterationValue() 1484 if (PyErr_ExceptionMatches(PyExc_StopAsyncIteration) in async_gen_unwrap_value() 1485 || PyErr_ExceptionMatches(PyExc_GeneratorExit) in async_gen_unwrap_value() 1884 if (PyErr_ExceptionMatches(PyExc_StopAsyncIteration)) { in async_gen_athrow_send() 1894 else if (PyErr_ExceptionMatches(PyExc_GeneratorExit)) { in async_gen_athrow_send()
|
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 | 109 if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_TypeError)) in pysqlite_microprotocols_adapt() 126 if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_TypeError)) { in pysqlite_microprotocols_adapt()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_func.cc | 225 if (PyErr_ExceptionMatches(PyExc_ValueError) || in DoCallPyFunc() 226 PyErr_ExceptionMatches(PyExc_TypeError)) { in DoCallPyFunc() 228 } else if (PyErr_ExceptionMatches(PyExc_StopIteration)) { in DoCallPyFunc() 231 } else if (PyErr_ExceptionMatches(PyExc_MemoryError)) { in DoCallPyFunc() 233 } else if (PyErr_ExceptionMatches(PyExc_NotImplementedError)) { in DoCallPyFunc()
|
/external/protobuf/python/google/protobuf/pyext/ |
D | descriptor_database.cc | 58 if (PyErr_ExceptionMatches(PyExc_KeyError)) { in GetFileDescriptorProto()
|
/external/python/cpython3/Python/ |
D | ceval.c | 1799 && PyErr_ExceptionMatches(PyExc_StopIteration)) in _PyEval_EvalFrameDefault() 1913 if (PyErr_ExceptionMatches(PyExc_KeyError)) in _PyEval_EvalFrameDefault() 2073 if (!PyErr_ExceptionMatches(PyExc_KeyError)) in _PyEval_EvalFrameDefault() 2095 if (PyErr_ExceptionMatches(PyExc_KeyError)) in _PyEval_EvalFrameDefault() 2134 if (!PyErr_ExceptionMatches(PyExc_KeyError)) in _PyEval_EvalFrameDefault() 2141 if (PyErr_ExceptionMatches(PyExc_KeyError)) in _PyEval_EvalFrameDefault() 2201 if (!PyErr_ExceptionMatches(PyExc_KeyError)) in _PyEval_EvalFrameDefault() 2299 PyErr_ExceptionMatches(PyExc_TypeError)) in _PyEval_EvalFrameDefault() 2424 if (!PyErr_ExceptionMatches(PyExc_KeyError)) { in _PyEval_EvalFrameDefault() 2487 if (PyErr_ExceptionMatches(PyExc_AttributeError)) { in _PyEval_EvalFrameDefault() [all …]
|
D | sysmodule.c | 162 if (PyErr_ExceptionMatches(PyExc_ImportError)) { in sys_breakpointhook() 173 if (PyErr_ExceptionMatches(PyExc_AttributeError)) { in sys_breakpointhook() 296 if (PyErr_ExceptionMatches(PyExc_UnicodeEncodeError)) { in sys_displayhook() 1276 if (dflt != NULL && PyErr_ExceptionMatches(PyExc_TypeError)) { in sys_getsizeof() 2383 if (res < 0 && PyErr_ExceptionMatches(PyExc_KeyError)) in _PySys_BeginInit() 2410 if (res < 0 && PyErr_ExceptionMatches(PyExc_KeyError)) { in _PySys_BeginInit() 2501 if (!PyErr_ExceptionMatches(PyExc_KeyError)) { in _PySys_EndInit()
|
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()
|