Searched refs:PyFile_FromFile (Results 1 – 13 of 13) sorted by relevance
/external/python/cpython2/Demo/pysvr/ |
D | pysvr.c | 296 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/ |
D | fileobject.h | 44 PyAPI_FUNC(PyObject *) PyFile_FromFile(FILE *, char *, char *,
|
/external/python/cpython2/Modules/ |
D | posixmodule.c | 4615 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 …]
|
D | socketmodule.c | 2401 f = PyFile_FromFile(fp, "<socket>", mode, fclose);
|
/external/python/cpython2/Python/ |
D | sysmodule.c | 1400 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()
|
D | import.c | 3010 fob = PyFile_FromFile(fp, pathname, fdp->mode, fclose); in call_find_module()
|
/external/python/cpython2/PC/os2vacpp/ |
D | python.def | 172 PyFile_FromFile
|
/external/python/cpython2/Doc/data/ |
D | refcounts.dat | 389 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/ |
D | file.rst | 54 .. c:function:: PyObject* PyFile_FromFile(FILE *fp, char *name, char *mode, int (*close)(FILE*))
|
/external/python/cpython2/PC/os2emx/ |
D | python27.def | 305 "PyFile_FromFile"
|
/external/python/cpython2/Objects/ |
D | fileobject.c | 474 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/ |
D | tokenizer.c | 473 stream = PyFile_FromFile(tok->fp, (char*)tok->filename, "rb", NULL); in fp_setreadl()
|
/external/python/cpython3/Misc/ |
D | HISTORY | 17093 - Replaced `PyFile_FromFile()` with `PyFile_FromFd(fd, name. mode,
|