Home
last modified time | relevance | path

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

/third_party/python/Objects/
Dexceptions.c2058 PyObject *encoding_str = NULL; in UnicodeEncodeError_str() local
2069 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() local
2191 encoding_str = PyObject_Str(uself->encoding); in UnicodeDecodeError_str()
2192 if (encoding_str == NULL) in UnicodeDecodeError_str()
2199 encoding_str, in UnicodeDecodeError_str()
[all …]
/third_party/python/Python/
Dpylifecycle.c2227 PyObject *encoding_str = PyUnicode_FromWideChar(encoding, -1); in create_stdio() local
2228 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()