Searched refs:fileio (Results 1 - 4 of 4) sorted by relevance
/third_party/python/Modules/_io/clinic/ |
H A D | fileio.c.h | 18 _io_FileIO_close_impl(fileio *self); 21 _io_FileIO_close(fileio *self, PyObject *Py_UNUSED(ignored)) in _io_FileIO_close() 45 _io_FileIO___init___impl(fileio *self, PyObject *nameobj, const char *mode, 100 return_value = _io_FileIO___init___impl((fileio *)self, nameobj, mode, closefd, opener); in _io_FileIO___init__() 116 _io_FileIO_fileno_impl(fileio *self); 119 _io_FileIO_fileno(fileio *self, PyObject *Py_UNUSED(ignored)) in _io_FileIO_fileno() 134 _io_FileIO_readable_impl(fileio *self); 137 _io_FileIO_readable(fileio *self, PyObject *Py_UNUSED(ignored)) in _io_FileIO_readable() 152 _io_FileIO_writable_impl(fileio *self); 155 _io_FileIO_writable(fileio *sel [all...] |
/third_party/python/Modules/_io/ |
H A D | fileio.c | 54 class _io.FileIO "fileio *" "&PyFileIO_Type" 71 } fileio; typedef 78 static PyObject* portable_lseek(fileio *self, PyObject *posobj, int whence, bool suppress_pipe_error); 83 return ((fileio *)self)->fd < 0; in _PyFileIO_closed() 90 fileio_dealloc_warn(fileio *self, PyObject *source) in fileio_dealloc_warn() 107 internal_close(fileio *self) in internal_close() 141 _io_FileIO_close_impl(fileio *self) in _io_FileIO_close_impl() 173 fileio *self; in fileio_new() 177 self = (fileio *) type->tp_alloc(type, 0); in fileio_new() 220 _io_FileIO___init___impl(fileio *sel [all...] |
/third_party/python/Lib/test/ |
H A D | test_getpass.py | 102 mock.patch('io.FileIO') as fileio, \ 111 fileio.assert_called_once_with(open.return_value, 'w+') 112 textio.assert_called_once_with(fileio.return_value) 128 mock.patch('io.FileIO') as fileio, \ 134 fileio.return_value = BytesIO()
|
H A D | test_io.py | 903 fileio = self.FileIO(f1.fileno(), closefd=False) 905 fileio.__init__(f2.fileno(), closefd=False) 908 fileio.close()
|
Completed in 8 milliseconds