Home
last modified time | relevance | path

Searched refs:CHECK_CLOSED (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Modules/_io/
Dbytesio.c15 #define CHECK_CLOSED(self) \ macro
172 CHECK_CLOSED(self); in return_not_closed()
182 CHECK_CLOSED(self); in bytesio_flush()
194 CHECK_CLOSED(self); in bytesio_getvalue()
207 CHECK_CLOSED(self); in bytesio_isatty()
217 CHECK_CLOSED(self); in bytesio_tell()
234 CHECK_CLOSED(self); in bytesio_read()
303 CHECK_CLOSED(self); in bytesio_readline()
349 CHECK_CLOSED(self); in bytesio_readlines()
406 CHECK_CLOSED(self); in bytesio_readinto()
[all …]
Dstringio.c36 #define CHECK_CLOSED(self) \ macro
192 CHECK_CLOSED(self); in stringio_getvalue()
203 CHECK_CLOSED(self); in stringio_tell()
223 CHECK_CLOSED(self); in stringio_read()
297 CHECK_CLOSED(self); in stringio_readline()
318 CHECK_CLOSED(self); in stringio_iternext()
365 CHECK_CLOSED(self); in stringio_truncate()
421 CHECK_CLOSED(self); in stringio_seek()
471 CHECK_CLOSED(self); in stringio_write()
649 CHECK_CLOSED(self); in stringio_seekable()
[all …]
Dtextio.c1135 #define CHECK_CLOSED(self) \ macro
1262 CHECK_CLOSED(self); in textiowrapper_write()
1501 CHECK_CLOSED(self); in textiowrapper_read()
1699 CHECK_CLOSED(self); in _textiowrapper_readline()
2016 CHECK_CLOSED(self); in textiowrapper_seek()
2198 CHECK_CLOSED(self); in textiowrapper_tell()
2449 CHECK_CLOSED(self); in textiowrapper_flush()
Dbufferedio.c327 #define CHECK_CLOSED(self, error_msg) \ macro
778 CHECK_CLOSED(self, "flush of closed file") in buffered_flush()
831 CHECK_CLOSED(self, "read of closed file") in buffered_read()
937 CHECK_CLOSED(self, "readline of closed file") in _buffered_readline()
1082 CHECK_CLOSED(self, "seek of closed file") in buffered_seek()