Searched refs:uself (Results 1 – 2 of 2) sorted by relevance
1629 PyUnicodeErrorObject *uself = (PyUnicodeErrorObject *)self; in UnicodeEncodeError_str() local1634 if (!uself->object) in UnicodeEncodeError_str()1640 reason_str = PyObject_Str(uself->reason); in UnicodeEncodeError_str()1643 encoding_str = PyObject_Str(uself->encoding); in UnicodeEncodeError_str()1647 if (uself->start < PyUnicode_GET_SIZE(uself->object) && uself->end == uself->start+1) { in UnicodeEncodeError_str()1648 int badchar = (int)PyUnicode_AS_UNICODE(uself->object)[uself->start]; in UnicodeEncodeError_str()1660 uself->start, in UnicodeEncodeError_str()1667 uself->start, in UnicodeEncodeError_str()1668 uself->end-1, in UnicodeEncodeError_str()1717 PyUnicodeErrorObject *uself = (PyUnicodeErrorObject *)self; in UnicodeDecodeError_str() local[all …]
1895 PyUnicodeErrorObject *uself = (PyUnicodeErrorObject *)self; in UnicodeEncodeError_str() local1900 if (!uself->object) in UnicodeEncodeError_str()1906 reason_str = PyObject_Str(uself->reason); in UnicodeEncodeError_str()1909 encoding_str = PyObject_Str(uself->encoding); in UnicodeEncodeError_str()1913 if (uself->start < PyUnicode_GET_LENGTH(uself->object) && uself->end == uself->start+1) { in UnicodeEncodeError_str()1914 Py_UCS4 badchar = PyUnicode_ReadChar(uself->object, uself->start); in UnicodeEncodeError_str()1926 uself->start, in UnicodeEncodeError_str()1933 uself->start, in UnicodeEncodeError_str()1934 uself->end-1, in UnicodeEncodeError_str()2017 PyUnicodeErrorObject *uself = (PyUnicodeErrorObject *)self; in UnicodeDecodeError_str() local[all …]