Lines Matching refs:repunicode
4400 PyObject *repunicode = NULL;
4429 if (!PyArg_ParseTuple(restuple, argparse, &repunicode, &newpos))
4454 repwlen = PyUnicode_GetSize(repunicode);
4459 repwlen = PyUnicode_AsWideChar(repunicode, NULL, 0);
4483 PyUnicode_AsWideChar(repunicode, *buf + *outpos, repwlen);
4513 PyObject *repunicode = NULL;
4543 if (!PyArg_ParseTuple(restuple, argparse, &repunicode, &newpos))
4566 replen = PyUnicode_GET_LENGTH(repunicode);
4584 PyUnicode_MAX_CHAR_VALUE(repunicode)) == -1)
4587 if (_PyUnicodeWriter_WriteStr(writer, repunicode) == -1)
8676 PyObject *repunicode = NULL; /* initialize to prevent gcc warning */
8764 repunicode = unicode_encode_call_errorhandler(errors, error_handler_obj,
8767 if (repunicode == NULL)
8769 if (PyBytes_Check(repunicode)) {
8773 repsize = PyBytes_Size(repunicode);
8778 Py_DECREF(repunicode);
8782 PyBytes_AsString(repunicode), repsize);
8785 Py_DECREF(repunicode);
8789 if (PyUnicode_READY(repunicode) == -1) {
8790 Py_DECREF(repunicode);
8793 repsize = PyUnicode_GET_LENGTH(repunicode);
8794 data = PyUnicode_DATA(repunicode);
8795 kind = PyUnicode_KIND(repunicode);
8800 Py_DECREF(repunicode);
8804 Py_DECREF(repunicode);
8810 Py_DECREF(repunicode);
9248 PyObject *repunicode = NULL; /* initialize to prevent gcc warning */
9286 repunicode = unicode_translate_call_errorhandler(errors, &errorHandler,
9289 if (repunicode == NULL)
9291 if (_PyUnicodeWriter_WriteStr(&writer, repunicode) < 0) {
9292 Py_DECREF(repunicode);
9295 Py_DECREF(repunicode);