• Home
  • Raw
  • Download

Lines Matching refs:repunicode

4117     PyObject *repunicode = NULL;  in unicode_decode_call_errorhandler_wchar()  local
4150 if (!PyArg_ParseTuple(restuple, argparse, &repunicode, &newpos)) in unicode_decode_call_errorhandler_wchar()
4172 repwstr = PyUnicode_AsUnicodeAndSize(repunicode, &repwlen); in unicode_decode_call_errorhandler_wchar()
4222 PyObject *repunicode = NULL; in unicode_decode_call_errorhandler_writer() local
4252 if (!PyArg_ParseTuple(restuple, argparse, &repunicode, &newpos)) in unicode_decode_call_errorhandler_writer()
4275 replen = PyUnicode_GET_LENGTH(repunicode); in unicode_decode_call_errorhandler_writer()
4293 PyUnicode_MAX_CHAR_VALUE(repunicode)) == -1) in unicode_decode_call_errorhandler_writer()
4296 if (_PyUnicodeWriter_WriteStr(writer, repunicode) == -1) in unicode_decode_call_errorhandler_writer()
8399 PyObject *repunicode = NULL; /* initialize to prevent gcc warning */ in charmap_encoding_error() local
8487 repunicode = unicode_encode_call_errorhandler(errors, error_handler_obj, in charmap_encoding_error()
8490 if (repunicode == NULL) in charmap_encoding_error()
8492 if (PyBytes_Check(repunicode)) { in charmap_encoding_error()
8496 repsize = PyBytes_Size(repunicode); in charmap_encoding_error()
8501 Py_DECREF(repunicode); in charmap_encoding_error()
8505 PyBytes_AsString(repunicode), repsize); in charmap_encoding_error()
8508 Py_DECREF(repunicode); in charmap_encoding_error()
8512 if (PyUnicode_READY(repunicode) == -1) { in charmap_encoding_error()
8513 Py_DECREF(repunicode); in charmap_encoding_error()
8516 repsize = PyUnicode_GET_LENGTH(repunicode); in charmap_encoding_error()
8517 data = PyUnicode_DATA(repunicode); in charmap_encoding_error()
8518 kind = PyUnicode_KIND(repunicode); in charmap_encoding_error()
8523 Py_DECREF(repunicode); in charmap_encoding_error()
8527 Py_DECREF(repunicode); in charmap_encoding_error()
8533 Py_DECREF(repunicode); in charmap_encoding_error()
8987 PyObject *repunicode = NULL; /* initialize to prevent gcc warning */ in _PyUnicode_TranslateCharmap() local
9025 repunicode = unicode_translate_call_errorhandler(errors, &errorHandler, in _PyUnicode_TranslateCharmap()
9028 if (repunicode == NULL) in _PyUnicode_TranslateCharmap()
9030 if (_PyUnicodeWriter_WriteStr(&writer, repunicode) < 0) { in _PyUnicode_TranslateCharmap()
9031 Py_DECREF(repunicode); in _PyUnicode_TranslateCharmap()
9034 Py_DECREF(repunicode); in _PyUnicode_TranslateCharmap()