Home
last modified time | relevance | path

Searched refs:restuple (Results 1 – 2 of 2) 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/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 …]