Home
last modified time | relevance | path

Searched refs:PyErr_ExceptionMatches (Results 1 – 25 of 79) sorted by relevance

1234

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/
Dtestcapi_long.h100 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()
DcPickle.c869 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in whichmodule()
884 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in whichmodule()
2052 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in save_inst()
2100 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in save_inst()
2106 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in save_inst()
2418 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in save_reduce()
2457 if (PyErr_ExceptionMatches( in save_reduce()
2677 if (res && PyErr_ExceptionMatches(PickleError)) { in save()
2735 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in save()
4528 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in load_build()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
Dmicroprotocols.c107 if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_TypeError)) in pysqlite_microprotocols_adapt()
122 if (PyErr_Occurred() && !PyErr_ExceptionMatches(PyExc_TypeError)) { in pysqlite_microprotocols_adapt()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Diterobject.c63 if (PyErr_ExceptionMatches(PyExc_IndexError) || in iter_iternext()
64 PyErr_ExceptionMatches(PyExc_StopIteration)) in iter_iternext()
191 else if (PyErr_ExceptionMatches(PyExc_StopIteration)) { in calliter_iternext()
Dclassobject.c777 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_getattr()
913 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_repr()
950 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_str()
975 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_hash()
988 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_hash()
998 if (!PyErr_ExceptionMatches( in instance_hash()
1191 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_slice()
1279 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_ass_slice()
1313 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_ass_slice()
1386 if (PyErr_ExceptionMatches(PyExc_AttributeError)) { in instance_contains()
[all …]
Denumobject.c239 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in reversed_new()
304 if (PyErr_ExceptionMatches(PyExc_IndexError) || in reversed_next()
305 PyErr_ExceptionMatches(PyExc_StopIteration)) in reversed_next()
Dgenobject.c140 if (PyErr_ExceptionMatches(PyExc_StopIteration) in gen_close()
141 || PyErr_ExceptionMatches(PyExc_GeneratorExit)) in gen_close()
Dabstract.c104 if (!PyErr_ExceptionMatches(PyExc_TypeError) && in _PyObject_LengthHint()
105 !PyErr_ExceptionMatches(PyExc_AttributeError)) in _PyObject_LengthHint()
123 if (!PyErr_ExceptionMatches(PyExc_TypeError) && in _PyObject_LengthHint()
124 !PyErr_ExceptionMatches(PyExc_AttributeError)) in _PyObject_LengthHint()
2271 if (PyErr_ExceptionMatches(PyExc_TypeError))
2804 if (PyErr_ExceptionMatches(PyExc_AttributeError))
3106 PyErr_ExceptionMatches(PyExc_StopIteration))
Dcomplexobject.c300 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in try_complex_special_method()
1045 if (PyErr_ExceptionMatches(PyExc_ValueError)) in complex_subtype_from_string()
1058 if (PyErr_ExceptionMatches(PyExc_ValueError)) in complex_subtype_from_string()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Diterobject.c63 if (PyErr_ExceptionMatches(PyExc_IndexError) || in iter_iternext()
64 PyErr_ExceptionMatches(PyExc_StopIteration)) in iter_iternext()
191 else if (PyErr_ExceptionMatches(PyExc_StopIteration)) { in calliter_iternext()
Dclassobject.c760 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_getattr()
889 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_repr()
926 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_str()
951 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_hash()
964 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_hash()
974 if (!PyErr_ExceptionMatches( in instance_hash()
1167 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_slice()
1255 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_ass_slice()
1289 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in instance_ass_slice()
1362 if (PyErr_ExceptionMatches(PyExc_AttributeError)) { in instance_contains()
[all …]
Denumobject.c239 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in reversed_new()
304 if (PyErr_ExceptionMatches(PyExc_IndexError) || in reversed_next()
305 PyErr_ExceptionMatches(PyExc_StopIteration)) in reversed_next()
Dgenobject.c137 if (PyErr_ExceptionMatches(PyExc_StopIteration) in gen_close()
138 || PyErr_ExceptionMatches(PyExc_GeneratorExit)) in gen_close()
Dabstract.c104 if (!PyErr_ExceptionMatches(PyExc_TypeError) && in _PyObject_LengthHint()
105 !PyErr_ExceptionMatches(PyExc_AttributeError)) in _PyObject_LengthHint()
123 if (!PyErr_ExceptionMatches(PyExc_TypeError) && in _PyObject_LengthHint()
124 !PyErr_ExceptionMatches(PyExc_AttributeError)) in _PyObject_LengthHint()
2271 if (PyErr_ExceptionMatches(PyExc_TypeError))
2808 if (PyErr_ExceptionMatches(PyExc_AttributeError))
3110 PyErr_ExceptionMatches(PyExc_StopIteration))
Dcomplexobject.c296 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in try_complex_special_method()
1041 if (PyErr_ExceptionMatches(PyExc_ValueError)) in complex_subtype_from_string()
1054 if (PyErr_ExceptionMatches(PyExc_ValueError)) in complex_subtype_from_string()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/
Derrors.c133 PyErr_ExceptionMatches(PyObject *exc) in PyErr_ExceptionMatches() function
277 if (PyErr_ExceptionMatches(PyExc_MemoryError)) in PyErr_NoMemory()
Dpythonrun.c288 if (PyErr_ExceptionMatches(PyExc_LookupError)) { in Py_InitializeEx()
1136 if (PyErr_ExceptionMatches(PyExc_SystemExit)) { in PyErr_PrintEx()
1158 if (PyErr_ExceptionMatches(PyExc_SystemExit)) { in PyErr_PrintEx()
1728 if (!PyErr_ExceptionMatches(PyExc_SystemExit)) { in call_sys_exitfunc()
Dbltinmodule.c108 if (PyErr_ExceptionMatches(PyExc_StopIteration)) in builtin_all()
150 if (PyErr_ExceptionMatches(PyExc_StopIteration)) in builtin_any()
831 PyErr_ExceptionMatches(PyExc_AttributeError)) in builtin_getattr()
887 if (!PyErr_ExceptionMatches(PyExc_Exception)) in builtin_hasattr()
1104 if (!PyErr_ExceptionMatches(PyExc_StopIteration)) in builtin_next()
2526 if (PyErr_ExceptionMatches(PyExc_TypeError)) in builtin_zip()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/
Derrors.c135 PyErr_ExceptionMatches(PyObject *exc) in PyErr_ExceptionMatches() function
299 if (PyErr_ExceptionMatches(PyExc_MemoryError)) in PyErr_NoMemory()
Dpythonrun.c300 if (PyErr_ExceptionMatches(PyExc_LookupError)) { in Py_InitializeEx()
1161 if (PyErr_ExceptionMatches(PyExc_SystemExit)) { in PyErr_PrintEx()
1183 if (PyErr_ExceptionMatches(PyExc_SystemExit)) { in PyErr_PrintEx()
1753 if (!PyErr_ExceptionMatches(PyExc_SystemExit)) { in call_sys_exitfunc()
Dbltinmodule.c112 if (PyErr_ExceptionMatches(PyExc_StopIteration)) in builtin_all()
155 if (PyErr_ExceptionMatches(PyExc_StopIteration)) in builtin_any()
839 PyErr_ExceptionMatches(PyExc_AttributeError)) in builtin_getattr()
895 if (!PyErr_ExceptionMatches(PyExc_Exception)) in builtin_hasattr()
1112 if (!PyErr_ExceptionMatches(PyExc_StopIteration)) in builtin_next()
2537 if (PyErr_ExceptionMatches(PyExc_TypeError)) in builtin_zip()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Include/
Dpyerrors.h92 PyAPI_FUNC(int) PyErr_ExceptionMatches(PyObject *);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Include/
Dpyerrors.h92 PyAPI_FUNC(int) PyErr_ExceptionMatches(PyObject *);
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/
DcPickle.c900 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in whichmodule()
915 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in whichmodule()
2083 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in save_inst()
2131 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in save_inst()
2137 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in save_inst()
2450 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in save_reduce()
2489 if (PyErr_ExceptionMatches( in save_reduce()
2709 if (res && PyErr_ExceptionMatches(PickleError)) { in save()
2767 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in save()
4563 if (!PyErr_ExceptionMatches(PyExc_AttributeError)) in load_build()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
Dtextio.c889 if (PyErr_ExceptionMatches(PyExc_ImportError)) { in textiowrapper_init()
984 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in textiowrapper_init()
1011 if (PyErr_ExceptionMatches(PyExc_AttributeError)) in textiowrapper_init()
2377 if (PyErr_ExceptionMatches(PyExc_Exception)) in textiowrapper_repr()
2548 if (PyErr_ExceptionMatches(PyExc_AttributeError)) { in textiowrapper_newlines_get()

1234