Home
last modified time | relevance | path

Searched refs:PyFile_WriteObject (Results 1 – 16 of 16) sorted by relevance

/third_party/python/Python/
Dpythonrun.c744 PyFile_WriteObject(value, sys_stderr, Py_PRINT_RAW); in _Py_HandleSystemExit()
985 if (PyFile_WriteObject(line, f, Py_PRINT_RAW) < 0) { in print_exception_file_and_line()
1043 int res = PyFile_WriteObject(modulename, f, Py_PRINT_RAW); in print_exception_message()
1066 int res = PyFile_WriteObject(qualname, f, Py_PRINT_RAW); in print_exception_message()
1094 int res = PyFile_WriteObject(s, f, Py_PRINT_RAW); in print_exception_message()
1115 if (PyFile_WriteObject(suggestions, f, Py_PRINT_RAW) < 0) { in print_exception_suggestions()
1159 res = PyFile_WriteObject(s, f, Py_PRINT_RAW); in print_exception_notes()
1193 if (PyFile_WriteObject(line, f, Py_PRINT_RAW) < 0) { in print_exception_notes()
1391 int err = PyFile_WriteObject(line, f, Py_PRINT_RAW); in print_exception_group()
1439 int err = PyFile_WriteObject(line, f, Py_PRINT_RAW); in print_exception_group()
[all …]
Derrors.c1317 if (PyFile_WriteObject(err_msg, file, Py_PRINT_RAW) < 0) { in write_unraisable_exc_file()
1330 if (PyFile_WriteObject(obj, file, 0) < 0) { in write_unraisable_exc_file()
1341 if (PyFile_WriteObject(err_msg, file, Py_PRINT_RAW) < 0) { in write_unraisable_exc_file()
1373 if (PyFile_WriteObject(modulename, file, Py_PRINT_RAW) < 0) { in write_unraisable_exc_file()
1396 if (PyFile_WriteObject(qualname, file, Py_PRINT_RAW) < 0) { in write_unraisable_exc_file()
1407 if (PyFile_WriteObject(exc_value, file, Py_PRINT_RAW) < 0) { in write_unraisable_exc_file()
D_warnings.c516 if (PyFile_WriteObject(filename, f_stderr, Py_PRINT_RAW) < 0) in show_warning()
520 if (PyFile_WriteObject(name, f_stderr, Py_PRINT_RAW) < 0) in show_warning()
524 if (PyFile_WriteObject(text, f_stderr, Py_PRINT_RAW) < 0) in show_warning()
554 PyFile_WriteObject(sourceline, f_stderr, Py_PRINT_RAW); in show_warning()
Dtraceback.c562 if (PyFile_WriteObject(lineobj, f, Py_PRINT_RAW) < 0) { in display_source_line_with_margin()
778 int res = PyFile_WriteObject(line, f, Py_PRINT_RAW); in tb_displayline()
918 int err = PyFile_WriteObject(line, f, Py_PRINT_RAW); in tb_print_line_repeated()
Dbltinmodule.c2033 err = PyFile_WriteObject(sep, file, Py_PRINT_RAW); in builtin_print_impl()
2039 err = PyFile_WriteObject(PyTuple_GET_ITEM(args, i), file, Py_PRINT_RAW); in builtin_print_impl()
2049 err = PyFile_WriteObject(end, file, Py_PRINT_RAW); in builtin_print_impl()
2271 if (PyFile_WriteObject(prompt, fout, Py_PRINT_RAW) != 0) in builtin_input_impl()
Dsysmodule.c649 if (PyFile_WriteObject(escaped_str, outf, Py_PRINT_RAW) != 0) { in sys_displayhook_unencodable()
705 if (PyFile_WriteObject(o, outf, 0) != 0) { in sys_displayhook()
721 if (PyFile_WriteObject(&_Py_STR(newline), outf, Py_PRINT_RAW) != 0) in sys_displayhook()
/third_party/python/Include/
Dfileobject.h15 PyAPI_FUNC(int) PyFile_WriteObject(PyObject *, PyObject *, int);
/third_party/python/Objects/
Dfileobject.c117 PyFile_WriteObject(PyObject *v, PyObject *f, int flags) in PyFile_WriteObject() function
161 err = PyFile_WriteObject(v, f, Py_PRINT_RAW); in PyFile_WriteString()
/third_party/python/Doc/c-api/
Dfile.rst91 .. c:function:: int PyFile_WriteObject(PyObject *obj, PyObject *p, int flags)
/third_party/python/Modules/
D_threadmodule.c1425 if (PyFile_WriteObject(name, file, Py_PRINT_RAW) < 0) { in thread_excepthook_file()
1435 if (PyFile_WriteObject(str, file, Py_PRINT_RAW) < 0) { in thread_excepthook_file()
/third_party/python/Doc/data/
Drefcounts.dat866 PyFile_WriteObject:int:::
867 PyFile_WriteObject:PyObject*:obj:0:
868 PyFile_WriteObject:PyObject*:p:0:
869 PyFile_WriteObject:int:flags::
Dstable_abi.dat276 function,PyFile_WriteObject,3.2,,
/third_party/python/PC/
Dpython3dll.c267 EXPORT_FUNC(PyFile_WriteObject)
/third_party/python/Misc/
Dstable_abi.toml816 [function.PyFile_WriteObject]
DHISTORY24124 - PyFile_WriteObject now passes Unicode objects to the file's write
/third_party/python/Tools/c-analyzer/
DTODO328 Objects/fileobject.c:PyFile_WriteObject():PyId_write _Py_IDENTIFIER(write)