Home
last modified time | relevance | path

Searched refs:PyFile_Check (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython2/Objects/
Dfileobject.c76 if (f == NULL || !PyFile_Check(f)) in PyFile_AsFile()
96 if (f == NULL || !PyFile_Check(f)) in PyFile_Name()
151 assert(PyFile_Check(f)); in fill_file_fields()
328 assert(PyFile_Check(f)); in open_the_file()
568 assert(PyFile_Check(f)); in PyFile_SetEncodingAndErrors()
1568 if (PyFile_Check(f)) { in PyFile_GetLine()
2431 assert(PyFile_Check(self)); in file_init()
2563 else if (PyFile_Check(f)) { in PyFile_SoftSpace()
2600 else if (PyFile_Check(f)) { in PyFile_WriteObject()
2673 else if (PyFile_Check(f)) { in PyFile_WriteString()
[all …]
/external/python/cpython2/Include/
Dfileobject.h37 #define PyFile_Check(op) PyObject_TypeCheck(op, &PyFile_Type) macro
/external/libxml2/python/
Dlibxml_wrap.h179 (PyFile_Check(v) ? (PyFile_AsFile(v)) : stdout))
/external/python/cpython2/Python/
Dpythonrun.c361 PyFile_Check(sys_stream)) { in Py_InitializeEx()
368 PyFile_Check(sys_stream)) { in Py_InitializeEx()
375 PyFile_Check(sys_stream)) { in Py_InitializeEx()
Dmarshal.c1263 if (!PyFile_Check(f)) { in marshal_dump()
1304 if (!PyFile_Check(f)) { in marshal_load()
Dsysmodule.c64 if (v != NULL && PyFile_Check(v)) in PySys_GetFile()
Dceval.c5066 !PyFile_Check(prog)) { in exec_statement()
5091 else if (PyFile_Check(prog)) { in exec_statement()
Dimport.c3220 if (!PyFile_Check(fob)) { in imp_load_module()
/external/python/cpython2/Doc/c-api/
Dfile.rst28 .. c:function:: int PyFile_Check(PyObject *p)
/external/python/cpython2/Modules/
Dsvmodule.c216 if (!PyFile_Check(file)) { in svc_writefile()
D_cursesmodule.c1380 if (!PyFile_Check(temp)) { in PyCursesWindow_PutWin()
1871 if (!PyFile_Check(temp)) { in PyCurses_GetWin()
DcPickle.c3097 if (PyFile_Check(file)) { in newPicklerobject()
5502 if (PyFile_Check(f)) { in newUnpicklerobject()
/external/python/cpython2/Doc/data/
Drefcounts.dat386 PyFile_Check:int:::
387 PyFile_Check:PyObject*:p:0:
/external/python/cpython2/Parser/
Dtokenizer.c801 if (sysstdin == NULL || !PyFile_Check(sysstdin)) in tok_stdin_decode()