Home
last modified time | relevance | path

Searched refs:encoding_str (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/
Dexceptions.c1632 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()
[all …]
/external/python/cpython3/Objects/
Dexceptions.c1898 PyObject *encoding_str = NULL; in UnicodeEncodeError_str() local
1909 encoding_str = PyObject_Str(uself->encoding); in UnicodeEncodeError_str()
1910 if (encoding_str == NULL) in UnicodeEncodeError_str()
1924 encoding_str, in UnicodeEncodeError_str()
1932 encoding_str, in UnicodeEncodeError_str()
1939 Py_XDECREF(encoding_str); in UnicodeEncodeError_str()
2020 PyObject *encoding_str = NULL; in UnicodeDecodeError_str() local
2031 encoding_str = PyObject_Str(uself->encoding); in UnicodeDecodeError_str()
2032 if (encoding_str == NULL) in UnicodeDecodeError_str()
2039 encoding_str, in UnicodeDecodeError_str()
[all …]