• Home
  • Raw
  • Download

Lines Matching refs:uself

1895     PyUnicodeErrorObject *uself = (PyUnicodeErrorObject *)self;  in UnicodeEncodeError_str()  local
1900 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
2022 if (!uself->object) in UnicodeDecodeError_str()
2028 reason_str = PyObject_Str(uself->reason); in UnicodeDecodeError_str()
2031 encoding_str = PyObject_Str(uself->encoding); in UnicodeDecodeError_str()
2035 if (uself->start < PyBytes_GET_SIZE(uself->object) && uself->end == uself->start+1) { in UnicodeDecodeError_str()
2036 … int byte = (int)(PyBytes_AS_STRING(((PyUnicodeErrorObject *)self)->object)[uself->start]&0xff); in UnicodeDecodeError_str()
2041 uself->start, in UnicodeDecodeError_str()
2048 uself->start, in UnicodeDecodeError_str()
2049 uself->end-1, in UnicodeDecodeError_str()
2114 PyUnicodeErrorObject *uself = (PyUnicodeErrorObject *)self; in UnicodeTranslateError_str() local
2118 if (!uself->object) in UnicodeTranslateError_str()
2124 reason_str = PyObject_Str(uself->reason); in UnicodeTranslateError_str()
2128 if (uself->start < PyUnicode_GET_LENGTH(uself->object) && uself->end == uself->start+1) { in UnicodeTranslateError_str()
2129 Py_UCS4 badchar = PyUnicode_ReadChar(uself->object, uself->start); in UnicodeTranslateError_str()
2140 uself->start, in UnicodeTranslateError_str()
2146 uself->start, in UnicodeTranslateError_str()
2147 uself->end-1, in UnicodeTranslateError_str()