Home
last modified time | relevance | path

Searched refs:closed (Results 1 – 25 of 61) sorted by relevance

123

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
DStringIO.py38 def _complain_ifclosed(closed): argument
39 if closed:
62 self.closed = False
75 _complain_ifclosed(self.closed)
84 if not self.closed:
85 self.closed = True
92 _complain_ifclosed(self.closed)
104 _complain_ifclosed(self.closed)
116 _complain_ifclosed(self.closed)
127 _complain_ifclosed(self.closed)
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
DStringIO.py38 def _complain_ifclosed(closed): argument
39 if closed:
62 self.closed = False
75 _complain_ifclosed(self.closed)
84 if not self.closed:
85 self.closed = True
92 _complain_ifclosed(self.closed)
104 _complain_ifclosed(self.closed)
116 _complain_ifclosed(self.closed)
127 _complain_ifclosed(self.closed)
[all …]
Dchunk.py54 self.closed = False
87 if not self.closed:
89 self.closed = True
92 if self.closed:
102 if self.closed:
116 if self.closed:
126 if self.closed:
150 if self.closed:
D_pyio.py404 def closed(self): member in IOBase
414 if self.closed:
717 if self.closed:
722 if self.raw is not None and not self.closed:
750 def closed(self): member in _BufferedIOMixin
751 return self.raw.closed
791 if self.closed:
798 if self.closed:
803 if self.closed:
825 if self.closed:
[all …]
Dshelve.py78 def closed(self, *args): member in _ClosedDict
80 __getitem__ = __setitem__ = __delitem__ = keys = closed
Dtarfile.py419 self.closed = False
445 if hasattr(self, "closed") and not self.closed:
484 if self.closed:
506 self.closed = True
792 self.closed = False
802 if self.closed:
827 if self.closed:
866 if self.closed:
874 if self.closed:
895 self.closed = True
[all …]
Dtempfile.py524 if self._file.closed:
539 def closed(self): member in SpooledTemporaryFile
540 return self._file.closed
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_aifc.py98 self.closed = False
101 self.closed = True
105 self.assertEqual(testfile.closed, False)
107 self.assertEqual(testfile.closed, True)
Dtest_StringIO.py73 self.assertEqual(f.closed, False)
75 self.assertEqual(f.closed, True)
77 self.assertEqual(f.closed, False)
79 self.assertEqual(f.closed, True)
Dtest_hotshot.py68 self.assertTrue(not profiler._prof.closed)
70 self.assertTrue(not profiler._prof.closed)
72 self.assertTrue(profiler._prof.closed)
Dtest_contextlib.py257 self.assertFalse(f.closed)
259 self.assertTrue(f.closed)
263 self.assertFalse(f.closed)
266 self.assertTrue(f.closed)
Dtest_fileio.py58 self.assertEqual(f.closed, False)
95 self.assertTrue(not f.closed)
99 self.assertTrue(f.closed)
102 self.assertTrue(not f.closed)
104 self.assertTrue(f.closed)
114 self.assertTrue(self.f.closed)
Dtest_file.py43 f.closed # ditto
92 self.assertTrue(not f.closed)
97 self.assertTrue(f.closed)
119 self.assertTrue(self.f.closed)
Dtest_ossaudiodev.py61 self.assertFalse(dsp.closed)
159 self.assertTrue(dsp.closed)
Dtest_asyncore.py24 self.closed = False
27 self.closed = True
139 self.closed = False
150 self.closed = True
194 self.assertEqual(c.socket.closed, False)
210 self.assertEqual(c.socket.closed, True)
Dtest_tempfile.py768 self.assertFalse(f.closed)
769 self.assertTrue(f.closed)
782 self.assertFalse(f.closed)
783 self.assertTrue(f.closed)
796 self.assertFalse(f.closed)
797 self.assertTrue(f.closed)
Dtest_fcntl.py64 if self.f and not self.f.closed:
/device/linaro/hikey/installer/hikey/
DREADME8 (closed) and the 3rd link should be removed (open):
12 | Auto Power up | Link 1-2 | closed |
13 | Boot Select | Link 3-4 | closed |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/wsgiref/
Dvalidate.py262 self.closed = False
269 assert_(not self.closed,
279 self.closed = True
284 if not self.closed:
287 assert_(self.closed,
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_io/
Diobase.c141 int closed; in iobase_closed() local
147 closed = PyObject_IsTrue(res); in iobase_closed()
149 return closed; in iobase_closed()
199 int closed = 1; in _PyIOBase_finalize() local
215 closed = PyObject_IsTrue(res); in _PyIOBase_finalize()
217 if (closed == -1) in _PyIOBase_finalize()
220 if (closed == 0) { in _PyIOBase_finalize()
Dstringio.c18 char closed; member
37 if (self->closed) { \
489 self->closed = 1; in stringio_close()
629 self->closed = 0; in stringio_init()
789 return PyBool_FromLong(self->closed); in stringio_closed()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/freeze/
Dbkfile.py17 self.closed = self.__file.closed
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/_io/
Diobase.c141 int closed; in iobase_closed() local
147 closed = PyObject_IsTrue(res); in iobase_closed()
149 return closed; in iobase_closed()
199 int closed = 1; in _PyIOBase_finalize() local
215 closed = PyObject_IsTrue(res); in _PyIOBase_finalize()
217 if (closed == -1) in _PyIOBase_finalize()
220 if (closed == 0) { in _PyIOBase_finalize()
Dstringio.c18 char closed; member
37 if (self->closed) { \
489 self->closed = 1; in stringio_close()
629 self->closed = 0; in stringio_init()
802 return PyBool_FromLong(self->closed); in stringio_closed()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/_sqlite/
Dcursor.h43 int closed; member

123