Lines Matching refs:outf
608 sys_displayhook_unencodable(PyObject *outf, PyObject *o)
615 stdout_encoding = PyObject_GetAttr(outf, &_Py_ID(encoding));
632 if (_PyObject_LookupAttr(outf, &_Py_ID(buffer), &buffer) < 0) {
649 if (PyFile_WriteObject(escaped_str, outf, Py_PRINT_RAW) != 0) {
678 PyObject *outf;
700 outf = _PySys_GetAttr(tstate, &_Py_ID(stdout));
701 if (outf == NULL || outf == Py_None) {
705 if (PyFile_WriteObject(o, outf, 0) != 0) {
711 err = sys_displayhook_unencodable(outf, o);
721 if (PyFile_WriteObject(&_Py_STR(newline), outf, Py_PRINT_RAW) != 0)