Home
last modified time | relevance | path

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

12

/external/python/cpython2/Python/
Derrors.c669 PyFile_WriteString("Exception ", f); in PyErr_WriteUnraisable()
683 PyFile_WriteString("<unknown>", f); in PyErr_WriteUnraisable()
689 PyFile_WriteString(modstr, f); in PyErr_WriteUnraisable()
690 PyFile_WriteString(".", f); in PyErr_WriteUnraisable()
694 PyFile_WriteString("<unknown>", f); in PyErr_WriteUnraisable()
696 PyFile_WriteString(className, f); in PyErr_WriteUnraisable()
698 PyFile_WriteString(": ", f); in PyErr_WriteUnraisable()
701 PyFile_WriteString("<exception repr() failed>", f); in PyErr_WriteUnraisable()
706 PyFile_WriteString(" in ", f); in PyErr_WriteUnraisable()
709 PyFile_WriteString("<object repr() failed>", f); in PyErr_WriteUnraisable()
[all …]
Dpythonrun.c1095 PyFile_WriteString(" ", f); in print_error_text()
1096 PyFile_WriteString(text, f); in print_error_text()
1098 PyFile_WriteString("\n", f); in print_error_text()
1101 PyFile_WriteString(" ", f); in print_error_text()
1104 PyFile_WriteString(" ", f); in print_error_text()
1107 PyFile_WriteString("^\n", f); in print_error_text()
1254 PyFile_WriteString(" File \"", f); in PyErr_Display()
1256 PyFile_WriteString("<string>", f); in PyErr_Display()
1258 PyFile_WriteString(filename, f); in PyErr_Display()
1259 PyFile_WriteString("\", line ", f); in PyErr_Display()
[all …]
Dtraceback.c199 err = PyFile_WriteString(buf, f); in _Py_DisplaySourceLine()
206 err = PyFile_WriteString(p, f); in _Py_DisplaySourceLine()
208 err = PyFile_WriteString("\n", f); in _Py_DisplaySourceLine()
225 err = PyFile_WriteString(linebuf, f); in tb_displayline()
275 err = PyFile_WriteString("Traceback (most recent call last):\n", f); in PyTraceBack_Print()
D_warnings.c271 PyFile_WriteString(lineno_str, f_stderr); in show_warning()
273 PyFile_WriteString(": ", f_stderr); in show_warning()
275 PyFile_WriteString("\n", f_stderr); in show_warning()
285 PyFile_WriteString(source_line_str, f_stderr); in show_warning()
286 PyFile_WriteString("\n", f_stderr); in show_warning()
Dsysmodule.c1767 if (PyFile_WriteString(buffer, file) != 0) { in mywrite()
1773 if (PyFile_WriteString(truncated, file) != 0) { in mywrite()
Dceval.c1991 err = PyFile_WriteString(" ", w); in PyEval_EvalFrameEx()
2046 err = PyFile_WriteString("\n", w); in PyEval_EvalFrameEx()
4209 return PyFile_WriteString("\n", f); in Py_FlushLine()
Dbltinmodule.c2050 if (PyFile_WriteString(" ", fout) != 0) in builtin_raw_input()
/external/python/cpython3/Python/
Dpythonrun.c570 PyFile_WriteString(" ", f); in print_error_text()
571 PyFile_WriteString(text, f); in print_error_text()
573 PyFile_WriteString("\n", f); in print_error_text()
576 PyFile_WriteString(" ", f); in print_error_text()
578 PyFile_WriteString(" ", f); in print_error_text()
579 PyFile_WriteString("^\n", f); in print_error_text()
725 err = PyFile_WriteString("TypeError: print_exception(): Exception expected for value, ", f); in print_exception()
726 err += PyFile_WriteString(Py_TYPE(value)->tp_name, f); in print_exception()
727 err += PyFile_WriteString(" found\n", f); in print_exception()
791 err = PyFile_WriteString("<unknown>", f); in print_exception()
[all …]
Derrors.c960 if (PyFile_WriteString("Exception ignored in: ", f) < 0) in PyErr_WriteUnraisable()
964 if (PyFile_WriteString("<object repr() failed>", f) < 0) { in PyErr_WriteUnraisable()
968 if (PyFile_WriteString("\n", f) < 0) in PyErr_WriteUnraisable()
989 if (PyFile_WriteString("<unknown>", f) < 0) in PyErr_WriteUnraisable()
996 if (PyFile_WriteString(".", f) < 0) in PyErr_WriteUnraisable()
1001 if (PyFile_WriteString("<unknown>", f) < 0) in PyErr_WriteUnraisable()
1005 if (PyFile_WriteString(className, f) < 0) in PyErr_WriteUnraisable()
1010 if (PyFile_WriteString(": ", f) < 0) in PyErr_WriteUnraisable()
1014 if (PyFile_WriteString("<exception str() failed>", f) < 0) { in PyErr_WriteUnraisable()
1019 if (PyFile_WriteString("\n", f) < 0) in PyErr_WriteUnraisable()
Dtraceback.c478 err = PyFile_WriteString(buf, f); in _Py_DisplaySourceLine()
489 err = PyFile_WriteString("\n", f); in _Py_DisplaySourceLine()
609 err = PyFile_WriteString("Traceback (most recent call last):\n", f); in PyTraceBack_Print()
D_warnings.c364 if (PyFile_WriteString(lineno_str, f_stderr) < 0) in show_warning()
368 if (PyFile_WriteString(": ", f_stderr) < 0) in show_warning()
372 if (PyFile_WriteString("\n", f_stderr) < 0) in show_warning()
402 PyFile_WriteString("\n", f_stderr); in show_warning()
Dbltinmodule.c1898 err = PyFile_WriteString(" ", file); in builtin_print()
1911 err = PyFile_WriteString("\n", file); in builtin_print()
/external/python/cpython3/Include/
Dfileobject.h16 PyAPI_FUNC(int) PyFile_WriteString(const char *, PyObject *);
/external/python/cpython2/Include/
Dfileobject.h53 PyAPI_FUNC(int) PyFile_WriteString(const char *, PyObject *);
/external/python/cpython3/Doc/c-api/
Dfile.rst73 .. c:function:: int PyFile_WriteString(const char *s, PyObject *p)
/external/python/cpython2/PC/os2vacpp/
Dpython.def179 PyFile_WriteString
/external/python/cpython3/Objects/
Dfileobject.c147 PyFile_WriteString(const char *s, PyObject *f) in PyFile_WriteString() function
/external/python/cpython2/Doc/data/
Drefcounts.dat419 PyFile_WriteString:int:::
420 PyFile_WriteString:const char*:s::
421 PyFile_WriteString:PyFileObject*:p:0:
422 PyFile_WriteString:int:flags::
/external/python/cpython3/Modules/_ctypes/
Dcallbacks.c90 PyFile_WriteString(buf, f); in PrintError()
/external/python/cpython2/Modules/_ctypes/
Dcallbacks.c96 PyFile_WriteString(buf, f); in PrintError()
/external/python/cpython2/Doc/c-api/
Dfile.rst177 .. c:function:: int PyFile_WriteString(const char *s, PyObject *p)
/external/python/cpython3/PC/
Dpython3.def260 PyFile_WriteString=python37.PyFile_WriteString
/external/python/cpython3/Doc/data/
Drefcounts.dat843 PyFile_WriteString:int:::
844 PyFile_WriteString:const char*:s::
845 PyFile_WriteString:PyObject*:p:0:
846 PyFile_WriteString:int:flags::
/external/python/cpython2/PC/os2emx/
Dpython27.def300 "PyFile_WriteString"
/external/python/cpython2/Objects/
Dfileobject.c2663 PyFile_WriteString(const char *s, PyObject *f) in PyFile_WriteString() function

12