HomeSort by relevance Sort by last modified time
    Searched refs:fileio (Results 1 - 14 of 14) sorted by null

  /external/python/cpython3/Modules/_io/clinic/
fileio.c.h 18 _io_FileIO_close_impl(fileio *self);
21 _io_FileIO_close(fileio *self, PyObject *Py_UNUSED(ignored))
27 "FileIO(file, mode=\'r\', closefd=True, opener=None)\n"
45 _io_FileIO___init___impl(fileio *self, PyObject *nameobj, const char *mode,
53 static _PyArg_Parser _parser = {"O|siO:FileIO", _keywords, 0};
63 return_value = _io_FileIO___init___impl((fileio *)self, nameobj, mode, closefd, opener);
79 _io_FileIO_fileno_impl(fileio *self);
82 _io_FileIO_fileno(fileio *self, PyObject *Py_UNUSED(ignored))
97 _io_FileIO_readable_impl(fileio *self);
100 _io_FileIO_readable(fileio *self, PyObject *Py_UNUSED(ignored)
    [all...]
  /external/python/cpython3/Modules/_io/
fileio.c 51 class _io.FileIO "fileio *" "&PyFileIO_Type"
75 } fileio; typedef in typeref:struct:__anon33323
86 return ((fileio *)self)->fd < 0;
93 fileio_dealloc_warn(fileio *self, PyObject *source)
115 internal_close(fileio *self)
140 _io.FileIO.close
149 _io_FileIO_close_impl(fileio *self)
182 fileio *self;
186 self = (fileio *) type->tp_alloc(type, 0)
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
fileio.c 60 } fileio; typedef in typeref:struct:__anon4695
69 return ((fileio *)self)->fd < 0;
79 internal_close(fileio *self)
107 fileio_close(fileio *self)
124 fileio *self;
128 self = (fileio *) type->tp_alloc(type, 0);
146 dircheck(fileio* self, const char *name)
190 fileio *self = (fileio *) oself;
212 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|si:fileio",
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
fileio.c 55 } fileio; typedef in typeref:struct:__anon4382
64 return ((fileio *)self)->fd < 0;
74 internal_close(fileio *self)
102 fileio_close(fileio *self)
119 fileio *self;
123 self = (fileio *) type->tp_alloc(type, 0);
142 dircheck(fileio* self, PyObject *nameobj)
179 fileio *self = (fileio *) oself;
206 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|si:fileio",
    [all...]
  /external/python/cpython2/Modules/_io/
fileio.c 55 } fileio; typedef in typeref:struct:__anon32716
64 return ((fileio *)self)->fd < 0;
74 internal_close(fileio *self)
102 fileio_close(fileio *self)
119 fileio *self;
123 self = (fileio *) type->tp_alloc(type, 0);
142 dircheck(fileio* self, PyObject *nameobj)
179 fileio *self = (fileio *) oself;
206 if (!PyArg_ParseTupleAndKeywords(args, kwds, "O|si:fileio",
    [all...]
  /external/python/cpython3/Lib/test/
test_getpass.py 99 mock.patch('io.FileIO') as fileio, \
108 fileio.assert_called_once_with(open.return_value, 'w+')
109 textio.assert_called_once_with(fileio.return_value)
113 mock.patch('io.FileIO'), \
125 mock.patch('io.FileIO') as fileio, \
131 fileio.return_value = BytesIO()
140 mock.patch('io.FileIO'), \
test_io.py 6 # * test_fileio - tests FileIO
402 return self.FileIO(r, "r")
411 return self.FileIO(w, "w")
595 class MyFileIO(self.FileIO):
675 check(self.FileIO(support.TESTFN, "w"))
707 # FileIO objects are collected, and collecting them flushes
710 f = self.FileIO(support.TESTFN, "wb")
753 # Issue #5700: io.FileIO calls flush() after file closed
835 fileio = self.FileIO(f1.fileno(), closefd=False
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/
Python2710.inf 216 Modules/_io/fileio.c #
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/
PythonCore.inf 216 Python-$(PYTHON_VERSION)/Modules/_io/fileio.c #
  /external/python/cpython2/Lib/test/
test_io.py 6 # * test_fileio - tests FileIO
448 class MyFileIO(self.FileIO):
554 # FileIO objects are collected, and collecting them flushes
556 f = self.FileIO(support.TESTFN, "wb")
599 # Issue #5700: io.FileIO calls flush() after file closed
645 fileio = self.FileIO(f1.fileno(), closefd=False)
647 fileio.__init__(f2.fileno(), closefd=False)
650 fileio.close()
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_io.py 6 # * test_fileio - tests FileIO
437 class MyFileIO(self.FileIO):
543 # FileIO objects are collected, and collecting them flushes
545 f = self.FileIO(support.TESTFN, "wb")
603 fileio = self.FileIO(f1.fileno(), closefd=False)
605 fileio.__init__(f2.fileno(), closefd=False)
608 fileio.close()
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_io.py 6 # * test_fileio - tests FileIO
437 class MyFileIO(self.FileIO):
543 # FileIO objects are collected, and collecting them flushes
545 f = self.FileIO(support.TESTFN, "wb")
603 fileio = self.FileIO(f1.fileno(), closefd=False)
605 fileio.__init__(f2.fileno(), closefd=False)
608 fileio.close()
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_io.py 6 # * test_fileio - tests FileIO
437 class MyFileIO(self.FileIO):
543 # FileIO objects are collected, and collecting them flushes
545 f = self.FileIO(support.TESTFN, "wb")
603 fileio = self.FileIO(f1.fileno(), closefd=False)
605 fileio.__init__(f2.fileno(), closefd=False)
608 fileio.close()
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_io.py 6 # * test_fileio - tests FileIO
437 class MyFileIO(self.FileIO):
543 # FileIO objects are collected, and collecting them flushes
545 f = self.FileIO(support.TESTFN, "wb")
603 fileio = self.FileIO(f1.fileno(), closefd=False)
605 fileio.__init__(f2.fileno(), closefd=False)
608 fileio.close()
    [all...]

Completed in 295 milliseconds