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.c57 PyTypeObject PyFileIO_Type; variable
59 #define PyFileIO_Check(op) (PyObject_TypeCheck((op), &PyFileIO_Type))
1090 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.c1024 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()
710 PyFileIO_Type.tp_base = &PyRawIOBase_Type; in PyInit__io()
711 ADD_TYPE(&PyFileIO_Type, "FileIO"); in PyInit__io()
Dfileio.c77 PyTypeObject PyFileIO_Type; variable
81 #define PyFileIO_Check(op) (PyObject_TypeCheck((op), &PyFileIO_Type))
1178 PyTypeObject PyFileIO_Type = { variable
D_iomodule.h12 extern PyTypeObject PyFileIO_Type;
Dbufferedio.c1465 Py_TYPE(raw) == &PyFileIO_Type); in _io_BufferedReader___init___impl()
1818 Py_TYPE(raw) == &PyFileIO_Type); in _io_BufferedWriter___init___impl()
2322 Py_TYPE(raw) == &PyFileIO_Type); in _io_BufferedRandom___init___impl()
Dtextio.c1053 else if (Py_TYPE(raw) == &PyFileIO_Type) in _io_TextIOWrapper___init___impl()