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.c4117 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()
[all …]