Searched refs:restuple (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Python/ |
D | codecs.c | 654 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/ |
D | codecs.c | 760 PyObject *restuple; in PyCodec_XMLCharRefReplaceErrors() local 845 restuple = Py_BuildValue("(Nn)", res, end); in PyCodec_XMLCharRefReplaceErrors() 847 return restuple; in PyCodec_XMLCharRefReplaceErrors() 967 PyObject *restuple; in PyCodec_NameReplaceErrors() local 1047 restuple = Py_BuildValue("(Nn)", res, end); in PyCodec_NameReplaceErrors() 1049 return restuple; in PyCodec_NameReplaceErrors() 1128 PyObject *restuple; in PyCodec_SurrogatePassErrors() local 1211 restuple = Py_BuildValue("(On)", res, end); in PyCodec_SurrogatePassErrors() 1214 return restuple; in PyCodec_SurrogatePassErrors() 1292 PyObject *restuple; in PyCodec_SurrogateEscapeErrors() local [all …]
|
/external/python/cpython2/Objects/ |
D | unicodeobject.c | 1467 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/ |
D | unicodeobject.c | 4116 PyObject *restuple = NULL; in unicode_decode_call_errorhandler_wchar() local 4143 restuple = PyObject_CallFunctionObjArgs(*errorHandler, *exceptionObject, NULL); in unicode_decode_call_errorhandler_wchar() 4144 if (restuple == NULL) in unicode_decode_call_errorhandler_wchar() 4146 if (!PyTuple_Check(restuple)) { in unicode_decode_call_errorhandler_wchar() 4150 if (!PyArg_ParseTuple(restuple, argparse, &repunicode, &newpos)) in unicode_decode_call_errorhandler_wchar() 4198 Py_DECREF(restuple); in unicode_decode_call_errorhandler_wchar() 4206 Py_XDECREF(restuple); in unicode_decode_call_errorhandler_wchar() 4221 PyObject *restuple = NULL; in unicode_decode_call_errorhandler_writer() local 4245 restuple = PyObject_CallFunctionObjArgs(*errorHandler, *exceptionObject, NULL); in unicode_decode_call_errorhandler_writer() 4246 if (restuple == NULL) in unicode_decode_call_errorhandler_writer() [all …]
|