• Home
  • Raw
  • Download

Lines Matching refs:uself

2055     PyUnicodeErrorObject *uself = (PyUnicodeErrorObject *)self;  in UnicodeEncodeError_str()  local
2060 if (!uself->object) in UnicodeEncodeError_str()
2066 reason_str = PyObject_Str(uself->reason); in UnicodeEncodeError_str()
2069 encoding_str = PyObject_Str(uself->encoding); in UnicodeEncodeError_str()
2073 if (uself->start < PyUnicode_GET_LENGTH(uself->object) && uself->end == uself->start+1) { in UnicodeEncodeError_str()
2074 Py_UCS4 badchar = PyUnicode_ReadChar(uself->object, uself->start); in UnicodeEncodeError_str()
2086 uself->start, in UnicodeEncodeError_str()
2093 uself->start, in UnicodeEncodeError_str()
2094 uself->end-1, in UnicodeEncodeError_str()
2177 PyUnicodeErrorObject *uself = (PyUnicodeErrorObject *)self; in UnicodeDecodeError_str() local
2182 if (!uself->object) in UnicodeDecodeError_str()
2188 reason_str = PyObject_Str(uself->reason); in UnicodeDecodeError_str()
2191 encoding_str = PyObject_Str(uself->encoding); in UnicodeDecodeError_str()
2195 if (uself->start < PyBytes_GET_SIZE(uself->object) && uself->end == uself->start+1) { in UnicodeDecodeError_str()
2196 … int byte = (int)(PyBytes_AS_STRING(((PyUnicodeErrorObject *)self)->object)[uself->start]&0xff); in UnicodeDecodeError_str()
2201 uself->start, in UnicodeDecodeError_str()
2208 uself->start, in UnicodeDecodeError_str()
2209 uself->end-1, in UnicodeDecodeError_str()
2274 PyUnicodeErrorObject *uself = (PyUnicodeErrorObject *)self; in UnicodeTranslateError_str() local
2278 if (!uself->object) in UnicodeTranslateError_str()
2284 reason_str = PyObject_Str(uself->reason); in UnicodeTranslateError_str()
2288 if (uself->start < PyUnicode_GET_LENGTH(uself->object) && uself->end == uself->start+1) { in UnicodeTranslateError_str()
2289 Py_UCS4 badchar = PyUnicode_ReadChar(uself->object, uself->start); in UnicodeTranslateError_str()
2300 uself->start, in UnicodeTranslateError_str()
2306 uself->start, in UnicodeTranslateError_str()
2307 uself->end-1, in UnicodeTranslateError_str()