Home
last modified time | relevance | path

Searched refs:PyFile_WriteString (Results 1 – 15 of 15) sorted by relevance

/third_party/python/Python/
Dpythonrun.c675 PyFile_WriteString(" ", f); in print_error_text()
676 PyFile_WriteString(text, f); in print_error_text()
680 PyFile_WriteString("\n", f); in print_error_text()
688 PyFile_WriteString(" ", f); in print_error_text()
690 PyFile_WriteString(" ", f); in print_error_text()
693 PyFile_WriteString("^", f); in print_error_text()
695 PyFile_WriteString("\n", f); in print_error_text()
897 err = PyFile_WriteString("TypeError: print_exception(): Exception expected for value, ", f); in print_exception()
898 err += PyFile_WriteString(Py_TYPE(value)->tp_name, f); in print_exception()
899 err += PyFile_WriteString(" found\n", f); in print_exception()
[all …]
Derrors.c1286 if (PyFile_WriteString(": ", file) < 0) { in write_unraisable_exc_file()
1291 if (PyFile_WriteString("Exception ignored in: ", file) < 0) { in write_unraisable_exc_file()
1298 if (PyFile_WriteString("<object repr() failed>", file) < 0) { in write_unraisable_exc_file()
1302 if (PyFile_WriteString("\n", file) < 0) { in write_unraisable_exc_file()
1310 if (PyFile_WriteString(":\n", file) < 0) { in write_unraisable_exc_file()
1332 if (PyFile_WriteString("<unknown>", file) < 0) { in write_unraisable_exc_file()
1343 if (PyFile_WriteString(".", file) < 0) { in write_unraisable_exc_file()
1356 if (PyFile_WriteString("<unknown>", file) < 0) { in write_unraisable_exc_file()
1369 if (PyFile_WriteString(": ", file) < 0) { in write_unraisable_exc_file()
1374 if (PyFile_WriteString("<exception str() failed>", file) < 0) { in write_unraisable_exc_file()
[all …]
Dtraceback.c489 err = PyFile_WriteString(buf, f); in _Py_DisplaySourceLine()
500 err = PyFile_WriteString("\n", f); in _Py_DisplaySourceLine()
620 err = PyFile_WriteString("Traceback (most recent call last):\n", f); in PyTraceBack_Print()
D_warnings.c505 if (PyFile_WriteString(lineno_str, f_stderr) < 0) in show_warning()
509 if (PyFile_WriteString(": ", f_stderr) < 0) in show_warning()
513 if (PyFile_WriteString("\n", f_stderr) < 0) in show_warning()
543 PyFile_WriteString("\n", f_stderr); in show_warning()
Dbltinmodule.c1994 err = PyFile_WriteString(" ", file); in builtin_print()
2007 err = PyFile_WriteString("\n", file); in builtin_print()
/third_party/python/Include/
Dfileobject.h16 PyAPI_FUNC(int) PyFile_WriteString(const char *, PyObject *);
/third_party/python/Modules/
D_threadmodule.c1413 if (PyFile_WriteString("Exception in thread ", file) < 0) { in thread_excepthook_file()
1443 if (PyFile_WriteString("<failed to get thread name>", file) < 0) { in thread_excepthook_file()
1449 if (PyFile_WriteString(":\n", file) < 0) { in thread_excepthook_file()
/third_party/python/Objects/
Dfileobject.c150 PyFile_WriteString(const char *s, PyObject *f) in PyFile_WriteString() function
/third_party/python/Doc/c-api/
Dfile.rst101 .. c:function:: int PyFile_WriteString(const char *s, PyObject *p)
/third_party/python/Modules/_ctypes/
Dcallbacks.c92 PyFile_WriteString(buf, f); in PrintError()
/third_party/python/Doc/data/
Drefcounts.dat871 PyFile_WriteString:int:::
872 PyFile_WriteString:const char*:s::
873 PyFile_WriteString:PyObject*:p:0:
874 PyFile_WriteString:int:flags::
Dstable_abi.dat266 function,PyFile_WriteString,3.2,
/third_party/python/PC/
Dpython3dll.c262 EXPORT_FUNC(PyFile_WriteString)
/third_party/python/Misc/
Dstable_abi.txt726 function PyFile_WriteString
DHISTORY31354 - PyFile_WriteString() and Py_Flushline() now return error indicators