Home
last modified time | relevance | path

Searched refs:restuple (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Python/
Dcodecs.c654 PyObject *restuple; in PyCodec_ReplaceErrors() local
672 restuple = Py_BuildValue("(On)", res, end); in PyCodec_ReplaceErrors()
674 return restuple; in PyCodec_ReplaceErrors()
695 restuple = Py_BuildValue("(On)", res, end); in PyCodec_ReplaceErrors()
697 return restuple; in PyCodec_ReplaceErrors()
708 PyObject *restuple; in PyCodec_XMLCharRefReplaceErrors() local
814 restuple = Py_BuildValue("(On)", res, end); in PyCodec_XMLCharRefReplaceErrors()
817 return restuple; in PyCodec_XMLCharRefReplaceErrors()
833 PyObject *restuple; in PyCodec_BackslashReplaceErrors() local
895 restuple = Py_BuildValue("(On)", res, end); in PyCodec_BackslashReplaceErrors()
[all …]
/external/python/cpython3/Python/
Dcodecs.c755 PyObject *restuple; in PyCodec_XMLCharRefReplaceErrors() local
840 restuple = Py_BuildValue("(Nn)", res, end); in PyCodec_XMLCharRefReplaceErrors()
842 return restuple; in PyCodec_XMLCharRefReplaceErrors()
962 PyObject *restuple; in PyCodec_NameReplaceErrors() local
1042 restuple = Py_BuildValue("(Nn)", res, end); in PyCodec_NameReplaceErrors()
1044 return restuple; in PyCodec_NameReplaceErrors()
1123 PyObject *restuple; in PyCodec_SurrogatePassErrors() local
1206 restuple = Py_BuildValue("(On)", res, end); in PyCodec_SurrogatePassErrors()
1209 return restuple; in PyCodec_SurrogatePassErrors()
1287 PyObject *restuple; in PyCodec_SurrogateEscapeErrors() local
[all …]
/external/python/cpython2/Objects/
Dunicodeobject.c1467 PyObject *restuple = NULL; in unicode_decode_call_errorhandler() local
1497 restuple = PyObject_CallFunctionObjArgs(*errorHandler, *exceptionObject, NULL); in unicode_decode_call_errorhandler()
1498 if (restuple == NULL) in unicode_decode_call_errorhandler()
1500 if (!PyTuple_Check(restuple)) { in unicode_decode_call_errorhandler()
1504 if (!PyArg_ParseTuple(restuple, argparse, &PyUnicode_Type, &repunicode, &newpos)) in unicode_decode_call_errorhandler()
1542 Py_XDECREF(restuple); in unicode_decode_call_errorhandler()
3575 PyObject *restuple; in unicode_encode_call_errorhandler() local
3589 restuple = PyObject_CallFunctionObjArgs( in unicode_encode_call_errorhandler()
3591 if (restuple == NULL) in unicode_encode_call_errorhandler()
3593 if (!PyTuple_Check(restuple)) { in unicode_encode_call_errorhandler()
[all …]
/external/python/cpython3/Objects/
Dunicodeobject.c4271 PyObject *restuple = NULL; in unicode_decode_call_errorhandler_wchar() local
4295 restuple = PyObject_CallOneArg(*errorHandler, *exceptionObject); in unicode_decode_call_errorhandler_wchar()
4296 if (restuple == NULL) in unicode_decode_call_errorhandler_wchar()
4298 if (!PyTuple_Check(restuple)) { in unicode_decode_call_errorhandler_wchar()
4302 if (!PyArg_ParseTuple(restuple, argparse, &repunicode, &newpos)) in unicode_decode_call_errorhandler_wchar()
4352 Py_DECREF(restuple); in unicode_decode_call_errorhandler_wchar()
4360 Py_XDECREF(restuple); in unicode_decode_call_errorhandler_wchar()
4375 PyObject *restuple = NULL; in unicode_decode_call_errorhandler_writer() local
4399 restuple = PyObject_CallOneArg(*errorHandler, *exceptionObject); in unicode_decode_call_errorhandler_writer()
4400 if (restuple == NULL) in unicode_decode_call_errorhandler_writer()
[all …]