Home
last modified time | relevance | path

Searched refs:PyFileIO_Type (Results 1 – 10 of 10) sorted by relevance

/external/python/cpython2/Modules/_io/
D_iomodule.c415 raw = PyObject_CallFunction((PyObject *)&PyFileIO_Type, in io_open()
682 PyFileIO_Type.tp_base = &PyRawIOBase_Type; in init_io()
683 ADD_TYPE(&PyFileIO_Type, "FileIO"); in init_io()
D_iomodule.h12 extern PyTypeObject PyFileIO_Type;
Dfileio.c60 PyTypeObject PyFileIO_Type; variable
62 #define PyFileIO_Check(op) (PyObject_TypeCheck((op), &PyFileIO_Type))
1126 PyTypeObject PyFileIO_Type = { variable
Dbufferedio.c1276 Py_TYPE(raw) == &PyFileIO_Type); in bufferedreader_init()
1699 Py_TYPE(raw) == &PyFileIO_Type); in bufferedwriter_init()
2356 Py_TYPE(raw) == &PyFileIO_Type); in bufferedrandom_init()
Dtextio.c1027 else if (Py_TYPE(raw) == &PyFileIO_Type) in textiowrapper_init()
/external/python/cpython3/Modules/_io/
D_iomodule.c368 PyObject *RawIO_class = (PyObject *)&PyFileIO_Type; in _io_open_impl()
687 PyFileIO_Type.tp_base = &PyRawIOBase_Type; in PyInit__io()
688 ADD_TYPE(&PyFileIO_Type, "FileIO"); in PyInit__io()
Dfileio.c70 PyTypeObject PyFileIO_Type; variable
74 #define PyFileIO_Check(op) (PyObject_TypeCheck((op), &PyFileIO_Type))
1186 PyTypeObject PyFileIO_Type = { variable
D_iomodule.h12 extern PyTypeObject PyFileIO_Type;
Dbufferedio.c1455 Py_TYPE(raw) == &PyFileIO_Type); in _io_BufferedReader___init___impl()
1801 Py_TYPE(raw) == &PyFileIO_Type); in _io_BufferedWriter___init___impl()
2315 Py_TYPE(raw) == &PyFileIO_Type); in _io_BufferedRandom___init___impl()
Dtextio.c1185 if (Py_TYPE(raw) == &PyFileIO_Type) in _io_TextIOWrapper___init___impl()