• Home
  • Raw
  • Download

Lines Matching refs:exceptionObject

312        PyObject *unicode, PyObject **exceptionObject,
316 raise_encode_exception(PyObject **exceptionObject,
4074 make_decode_exception(PyObject **exceptionObject, in make_decode_exception() argument
4080 if (*exceptionObject == NULL) { in make_decode_exception()
4081 *exceptionObject = PyUnicodeDecodeError_Create( in make_decode_exception()
4085 if (PyUnicodeDecodeError_SetStart(*exceptionObject, startpos)) in make_decode_exception()
4087 if (PyUnicodeDecodeError_SetEnd(*exceptionObject, endpos)) in make_decode_exception()
4089 if (PyUnicodeDecodeError_SetReason(*exceptionObject, reason)) in make_decode_exception()
4095 Py_CLEAR(*exceptionObject); in make_decode_exception()
4111 Py_ssize_t *endinpos, PyObject **exceptionObject, const char **inptr, in unicode_decode_call_errorhandler_wchar() argument
4135 make_decode_exception(exceptionObject, in unicode_decode_call_errorhandler_wchar()
4140 if (*exceptionObject == NULL) in unicode_decode_call_errorhandler_wchar()
4143 restuple = PyObject_CallFunctionObjArgs(*errorHandler, *exceptionObject, NULL); in unicode_decode_call_errorhandler_wchar()
4155 inputobj = PyUnicodeDecodeError_GetObject(*exceptionObject); in unicode_decode_call_errorhandler_wchar()
4216 Py_ssize_t *endinpos, PyObject **exceptionObject, const char **inptr, in unicode_decode_call_errorhandler_writer() argument
4237 make_decode_exception(exceptionObject, in unicode_decode_call_errorhandler_writer()
4242 if (*exceptionObject == NULL) in unicode_decode_call_errorhandler_writer()
4245 restuple = PyObject_CallFunctionObjArgs(*errorHandler, *exceptionObject, NULL); in unicode_decode_call_errorhandler_writer()
4257 inputobj = PyUnicodeDecodeError_GetObject(*exceptionObject); in unicode_decode_call_errorhandler_writer()
6622 make_encode_exception(PyObject **exceptionObject, in make_encode_exception() argument
6628 if (*exceptionObject == NULL) { in make_encode_exception()
6629 *exceptionObject = PyObject_CallFunction( in make_encode_exception()
6634 if (PyUnicodeEncodeError_SetStart(*exceptionObject, startpos)) in make_encode_exception()
6636 if (PyUnicodeEncodeError_SetEnd(*exceptionObject, endpos)) in make_encode_exception()
6638 if (PyUnicodeEncodeError_SetReason(*exceptionObject, reason)) in make_encode_exception()
6642 Py_CLEAR(*exceptionObject); in make_encode_exception()
6648 raise_encode_exception(PyObject **exceptionObject, in raise_encode_exception() argument
6654 make_encode_exception(exceptionObject, in raise_encode_exception()
6656 if (*exceptionObject != NULL) in raise_encode_exception()
6657 PyCodec_StrictErrors(*exceptionObject); in raise_encode_exception()
6668 PyObject *unicode, PyObject **exceptionObject, in unicode_encode_call_errorhandler() argument
6687 make_encode_exception(exceptionObject, in unicode_encode_call_errorhandler()
6689 if (*exceptionObject == NULL) in unicode_encode_call_errorhandler()
6693 *errorHandler, *exceptionObject, NULL); in unicode_encode_call_errorhandler()
8395 PyObject **exceptionObject, in charmap_encoding_error() argument
8448 … raise_encode_exception(exceptionObject, encoding, unicode, collstartpos, collendpos, reason); in charmap_encoding_error()
8458 … raise_encode_exception(exceptionObject, encoding, unicode, collstartpos, collendpos, reason); in charmap_encoding_error()
8478 … raise_encode_exception(exceptionObject, encoding, unicode, collstartpos, collendpos, reason); in charmap_encoding_error()
8488 encoding, reason, unicode, exceptionObject, in charmap_encoding_error()
8528 … raise_encode_exception(exceptionObject, encoding, unicode, collstartpos, collendpos, reason); in charmap_encoding_error()
8638 make_translate_exception(PyObject **exceptionObject, in make_translate_exception() argument
8643 if (*exceptionObject == NULL) { in make_translate_exception()
8644 *exceptionObject = _PyUnicodeTranslateError_Create( in make_translate_exception()
8648 if (PyUnicodeTranslateError_SetStart(*exceptionObject, startpos)) in make_translate_exception()
8650 if (PyUnicodeTranslateError_SetEnd(*exceptionObject, endpos)) in make_translate_exception()
8652 if (PyUnicodeTranslateError_SetReason(*exceptionObject, reason)) in make_translate_exception()
8656 Py_CLEAR(*exceptionObject); in make_translate_exception()
8668 PyObject *unicode, PyObject **exceptionObject, in unicode_translate_call_errorhandler() argument
8684 make_translate_exception(exceptionObject, in unicode_translate_call_errorhandler()
8686 if (*exceptionObject == NULL) in unicode_translate_call_errorhandler()
8690 *errorHandler, *exceptionObject, NULL); in unicode_translate_call_errorhandler()