Lines Matching refs:encoding_str
1632 PyObject *encoding_str = NULL; in UnicodeEncodeError_str() local
1643 encoding_str = PyObject_Str(uself->encoding); in UnicodeEncodeError_str()
1644 if (encoding_str == NULL) in UnicodeEncodeError_str()
1658 PyString_AS_STRING(encoding_str), in UnicodeEncodeError_str()
1666 PyString_AS_STRING(encoding_str), in UnicodeEncodeError_str()
1673 Py_XDECREF(encoding_str); in UnicodeEncodeError_str()
1720 PyObject *encoding_str = NULL; in UnicodeDecodeError_str() local
1731 encoding_str = PyObject_Str(uself->encoding); in UnicodeDecodeError_str()
1732 if (encoding_str == NULL) in UnicodeDecodeError_str()
1742 PyString_AS_STRING(encoding_str), in UnicodeDecodeError_str()
1750 PyString_AS_STRING(encoding_str), in UnicodeDecodeError_str()
1757 Py_XDECREF(encoding_str); in UnicodeDecodeError_str()