Home
last modified time | relevance | path

Searched refs:repunicode (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/
Dunicodeobject.c1468 PyObject *repunicode = NULL; in unicode_decode_call_errorhandler() local
1504 if (!PyArg_ParseTuple(restuple, argparse, &PyUnicode_Type, &repunicode, &newpos)) in unicode_decode_call_errorhandler()
1517 repptr = PyUnicode_AS_UNICODE(repunicode); in unicode_decode_call_errorhandler()
1518 repsize = PyUnicode_GET_SIZE(repunicode); in unicode_decode_call_errorhandler()
3662 PyObject *repunicode; in unicode_encode_ucs1() local
3740 repunicode = unicode_encode_call_errorhandler(errors, &errorHandler, in unicode_encode_ucs1()
3743 if (repunicode == NULL) in unicode_encode_ucs1()
3749 repsize = PyUnicode_GET_SIZE(repunicode); in unicode_encode_ucs1()
3760 Py_DECREF(repunicode); in unicode_encode_ucs1()
3768 for (uni2 = PyUnicode_AS_UNICODE(repunicode); repsize-->0; ++uni2, ++str) { in unicode_encode_ucs1()
[all …]
/external/python/cpython3/Objects/
Dunicodeobject.c4272 PyObject *repunicode = NULL; in unicode_decode_call_errorhandler_wchar() local
4302 if (!PyArg_ParseTuple(restuple, argparse, &repunicode, &newpos)) in unicode_decode_call_errorhandler_wchar()
4324 repwstr = PyUnicode_AsUnicodeAndSize(repunicode, &repwlen); in unicode_decode_call_errorhandler_wchar()
4376 PyObject *repunicode = NULL; in unicode_decode_call_errorhandler_writer() local
4406 if (!PyArg_ParseTuple(restuple, argparse, &repunicode, &newpos)) in unicode_decode_call_errorhandler_writer()
4429 replen = PyUnicode_GET_LENGTH(repunicode); in unicode_decode_call_errorhandler_writer()
4447 PyUnicode_MAX_CHAR_VALUE(repunicode)) == -1) in unicode_decode_call_errorhandler_writer()
4450 if (_PyUnicodeWriter_WriteStr(writer, repunicode) == -1) in unicode_decode_call_errorhandler_writer()
8598 PyObject *repunicode = NULL; /* initialize to prevent gcc warning */ in charmap_encoding_error() local
8686 repunicode = unicode_encode_call_errorhandler(errors, error_handler_obj, in charmap_encoding_error()
[all …]