Home
last modified time | relevance | path

Searched refs:PyFile_FromFile (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython2/Demo/pysvr/
Dpysvr.c296 new_stdin = PyFile_FromFile(input, "<socket-in>", "r", NULL); in run_interpreter()
297 new_stdout = PyFile_FromFile(output, "<socket-out>", "w", NULL); in run_interpreter()
/external/python/cpython2/Include/
Dfileobject.h44 PyAPI_FUNC(PyObject *) PyFile_FromFile(FILE *, char *, char *,
/external/python/cpython2/Modules/
Dposixmodule.c4615 f = PyFile_FromFile(fp, name, mode, fclose); in posix_popen()
4639 f = PyFile_FromFile(fp, name, mode, pclose); in posix_popen()
4973 if ((p_f[0] = PyFile_FromFile(p_s[0], cmdstring, wr_mode, _PyPclose)) != NULL) in _PyPopen()
4975 if ((p_f[1] = PyFile_FromFile(p_s[1], cmdstring, rd_mode, _PyPclose)) != NULL) in _PyPopen()
4979 if ((p_f[2] = PyFile_FromFile(p_s[2], cmdstring, rd_mode, _PyPclose)) != NULL) in _PyPopen()
5607 f = PyFile_FromFile(f1, cmdstring, "w", _PyPclose); in _PyPopen()
5618 f = PyFile_FromFile(f1, cmdstring, "r", _PyPclose); in _PyPopen()
5629 f = PyFile_FromFile(f1, cmdstring, "rb", _PyPclose); in _PyPopen()
5640 f = PyFile_FromFile(f1, cmdstring, "wb", _PyPclose); in _PyPopen()
5668 p1 = PyFile_FromFile(f1, cmdstring, m2, _PyPclose); in _PyPopen()
[all …]
Dsocketmodule.c2401 f = PyFile_FromFile(fp, "<socket>", mode, fclose);
/external/python/cpython2/Python/
Dsysmodule.c1400 sysin = PyFile_FromFile(stdin, "<stdin>", "r", NULL); in _PySys_Init()
1401 sysout = PyFile_FromFile(stdout, "<stdout>", "w", _check_and_flush); in _PySys_Init()
1402 syserr = PyFile_FromFile(stderr, "<stderr>", "w", _check_and_flush); in _PySys_Init()
Dimport.c3010 fob = PyFile_FromFile(fp, pathname, fdp->mode, fclose); in call_find_module()
/external/python/cpython2/PC/os2vacpp/
Dpython.def172 PyFile_FromFile
/external/python/cpython2/Doc/data/
Drefcounts.dat389 PyFile_FromFile:PyObject*::+1:
390 PyFile_FromFile:FILE*:fp::
391 PyFile_FromFile:char*:name::
392 PyFile_FromFile:char*:mode::
393 PyFile_FromFile:int(*:close)::
/external/python/cpython2/Doc/c-api/
Dfile.rst54 .. c:function:: PyObject* PyFile_FromFile(FILE *fp, char *name, char *mode, int (*close)(FILE*))
/external/python/cpython2/PC/os2emx/
Dpython27.def305 "PyFile_FromFile"
/external/python/cpython2/Objects/
Dfileobject.c474 PyFile_FromFile(FILE *fp, char *name, char *mode, int (*close)(FILE *)) in PyFile_FromFile() function
504 f = (PyFileObject *)PyFile_FromFile((FILE *)NULL, name, mode, fclose); in PyFile_FromString()
/external/python/cpython2/Parser/
Dtokenizer.c473 stream = PyFile_FromFile(tok->fp, (char*)tok->filename, "rb", NULL); in fp_setreadl()
/external/python/cpython3/Misc/
DHISTORY17093 - Replaced `PyFile_FromFile()` with `PyFile_FromFd(fd, name. mode,