Home
last modified time | relevance | path

Searched refs:PyFile_AsFile (Results 1 – 18 of 18) sorted by relevance

/external/python/cpython2/Doc/c-api/
Dfile.rst62 .. c:function:: FILE* PyFile_AsFile(PyObject \*p)
82 The suggested use is to call this after :c:func:`PyFile_AsFile` and before
85 FILE *fp = PyFile_AsFile(p);
/external/python/cpython2/Include/
Dfileobject.h46 PyAPI_FUNC(FILE *) PyFile_AsFile(PyObject *);
/external/libxml2/python/
Dlibxml_wrap.h179 (PyFile_Check(v) ? (PyFile_AsFile(v)) : stdout))
/external/python/cpython2/Python/
Dbltinmodule.c2052 if (PyFile_AsFile(fin) && PyFile_AsFile(fout) in builtin_raw_input()
2053 && isatty(fileno(PyFile_AsFile(fin))) in builtin_raw_input()
2054 && isatty(fileno(PyFile_AsFile(fout)))) { in builtin_raw_input()
2071 s = PyOS_Readline(PyFile_AsFile(fin), PyFile_AsFile(fout), in builtin_raw_input()
Dsysmodule.c65 fp = PyFile_AsFile(v); in PySys_GetFile()
1761 if (file == NULL || PyFile_AsFile(file) == fp) in mywrite()
Dmarshal.c1262 wf.fp = PyFile_AsFile(f); in marshal_dump()
1303 rf.fp = PyFile_AsFile(f); in marshal_load()
Dimport.c3097 fp = PyFile_AsFile(fob); in get_file()
Dceval.c5053 FILE *fp = PyFile_AsFile(prog); in exec_statement()
/external/python/cpython2/PC/os2vacpp/
Dpython.def171 PyFile_AsFile
/external/python/cpython2/Modules/
Dbz2module.c1107 self->fp = BZ2_bzReadOpen(&bzerror, PyFile_AsFile(self->file), in BZ2File_seek()
1441 PyFile_AsFile(self->file), in BZ2File_init()
1445 PyFile_AsFile(self->file), in BZ2File_init()
Dsvmodule.c221 if (!(fp = PyFile_AsFile(file))) in svc_writefile()
Darraymodule.c1221 fp = PyFile_AsFile(f); in array_fromfile()
1290 fp = PyFile_AsFile(f); in array_tofile()
D_cursesmodule.c1377 return PyCursesCheckERR(putwin(self->win, PyFile_AsFile(temp)), in PyCursesWindow_PutWin()
1852 win = getwin(PyFile_AsFile(temp)); in PyCurses_GetWin()
DcPickle.c3082 self->fp = PyFile_AsFile(file); in newPicklerobject()
5517 self->fp = PyFile_AsFile(f); in newUnpicklerobject()
/external/python/cpython2/RISCOS/Modules/
Dswimodule.c189 fp=PyFile_AsFile(f); in PyBlock_ToFile()
/external/python/cpython2/PC/os2emx/
Dpython27.def306 "PyFile_AsFile"
/external/python/cpython2/Objects/
Dfileobject.c74 PyFile_AsFile(PyObject *f) in PyFile_AsFile() function
2630 FILE *fp = PyFile_AsFile(f); in PyFile_WriteString()
/external/python/cpython2/Doc/data/
Drefcounts.dat383 PyFile_AsFile:FILE*:::
384 PyFile_AsFile:PyFileObject*:p:0: