Home
last modified time | relevance | path

Searched refs:isclosed (Results 1 – 6 of 6) sorted by relevance

/external/python/cpython2/Mac/Modules/
DMacOS.c51 int isclosed; member
63 if (self->isclosed ) return; in do_close()
65 self->isclosed = 1; in do_close()
80 if (self->isclosed) { in rf_read()
114 if (self->isclosed) { in rf_write()
142 if (self->isclosed) { in rf_seek()
185 if (self->isclosed) { in rf_tell()
236 self->isclosed = 1; in newrfobject()
671 fp->isclosed = 0;
/external/python/cpython2/Lib/test/
Dtest_httplib.py397 self.assertFalse(resp.isclosed())
399 self.assertTrue(resp.isclosed())
418 self.assertFalse(resp.isclosed())
420 self.assertTrue(resp.isclosed())
430 self.assertFalse(resp.isclosed())
433 self.assertTrue(resp.isclosed())
443 self.assertFalse(resp.isclosed())
446 self.assertTrue(resp.isclosed())
593 self.assertTrue(resp.isclosed())
601 self.assertTrue(resp.isclosed())
[all …]
/external/lua/src/
Dliolib.c147 #define isclosed(p) ((p)->closef == NULL) macro
156 else if (isclosed(p)) in io_type()
166 if (isclosed(p)) in f_tostring()
176 if (isclosed(p)) in tofile()
224 if (!isclosed(p) && p->f != NULL) in f_gc()
297 if (isclosed(p)) in getiofile()
593 if (isclosed(p)) /* file is already closed? */ in io_readline()
/external/python/cpython3/Lib/test/
Dtest_httplib.py500 self.assertFalse(resp.isclosed())
503 self.assertTrue(resp.isclosed())
525 self.assertFalse(resp.isclosed())
527 self.assertTrue(resp.isclosed())
540 self.assertFalse(resp.isclosed())
542 self.assertTrue(resp.isclosed())
558 self.assertFalse(resp.isclosed())
562 self.assertTrue(resp.isclosed())
575 self.assertFalse(resp.isclosed())
578 self.assertTrue(resp.isclosed())
[all …]
/external/python/cpython2/Lib/
Dhttplib.py553 def isclosed(self): member in HTTPResponse
899 if self.__response and self.__response.isclosed():
1088 if self.__response and self.__response.isclosed():
/external/python/cpython3/Lib/http/
Dclient.py426 def isclosed(self): member in HTTPResponse
1073 if self.__response and self.__response.isclosed():
1292 if self.__response and self.__response.isclosed():