Searched refs:encoding_str (Results 1 – 2 of 2) sorted by relevance
2058 PyObject *encoding_str = NULL; in UnicodeEncodeError_str() local2069 encoding_str = PyObject_Str(uself->encoding); in UnicodeEncodeError_str()2070 if (encoding_str == NULL) in UnicodeEncodeError_str()2084 encoding_str, in UnicodeEncodeError_str()2092 encoding_str, in UnicodeEncodeError_str()2099 Py_XDECREF(encoding_str); in UnicodeEncodeError_str()2180 PyObject *encoding_str = NULL; in UnicodeDecodeError_str() local2191 encoding_str = PyObject_Str(uself->encoding); in UnicodeDecodeError_str()2192 if (encoding_str == NULL) in UnicodeDecodeError_str()2199 encoding_str, in UnicodeDecodeError_str()[all …]
2227 PyObject *encoding_str = PyUnicode_FromWideChar(encoding, -1); in create_stdio() local2228 if (encoding_str == NULL) { in create_stdio()2236 Py_CLEAR(encoding_str); in create_stdio()2241 buf, encoding_str, errors_str, in create_stdio()2244 Py_CLEAR(encoding_str); in create_stdio()