Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/_io/
Dbytesio.c33 #define CHECK_CLOSED(self) \ macro
224 CHECK_CLOSED(self); in _io_BytesIO_readable_impl()
238 CHECK_CLOSED(self); in _io_BytesIO_writable_impl()
252 CHECK_CLOSED(self); in _io_BytesIO_seekable_impl()
266 CHECK_CLOSED(self); in _io_BytesIO_flush_impl()
284 CHECK_CLOSED(self); in _io_BytesIO_getbuffer_impl()
306 CHECK_CLOSED(self); in _io_BytesIO_getvalue_impl()
337 CHECK_CLOSED(self); in _io_BytesIO_isatty_impl()
351 CHECK_CLOSED(self); in _io_BytesIO_tell_impl()
392 CHECK_CLOSED(self); in _io_BytesIO_read_impl()
[all …]
Dstringio.c57 #define CHECK_CLOSED(self) \ macro
280 CHECK_CLOSED(self); in _io_StringIO_getvalue_impl()
298 CHECK_CLOSED(self); in _io_StringIO_tell_impl()
321 CHECK_CLOSED(self); in _io_StringIO_read_impl()
406 CHECK_CLOSED(self); in _io_StringIO_readline_impl()
428 CHECK_CLOSED(self); in stringio_iternext()
479 CHECK_CLOSED(self); in _io_StringIO_truncate_impl()
532 CHECK_CLOSED(self); in _io_StringIO_seek_impl()
590 CHECK_CLOSED(self); in _io_StringIO_write()
812 CHECK_CLOSED(self); in _io_StringIO_readable_impl()
[all …]
Dbufferedio.c359 #define CHECK_CLOSED(self, error_msg) \ macro
850 CHECK_CLOSED(self, "flush of closed file") in buffered_flush()
874 CHECK_CLOSED(self, "peek of closed file") in _io__Buffered_peek_impl()
911 CHECK_CLOSED(self, "read of closed file") in _io__Buffered_read_impl()
953 CHECK_CLOSED(self, "read of closed file") in _io__Buffered_read1_impl()
1106 CHECK_CLOSED(self, "readline of closed file") in _buffered_readline()
1269 CHECK_CLOSED(self, "seek of closed file") in _io__Buffered_seek_impl()
Dtextio.c1160 #define CHECK_CLOSED(self) \ macro
1284 CHECK_CLOSED(self); in _io_TextIOWrapper_write_impl()
1543 CHECK_CLOSED(self); in _io_TextIOWrapper_read_impl()
1751 CHECK_CLOSED(self); in _textiowrapper_readline()
2067 CHECK_CLOSED(self); in _io_TextIOWrapper_seek_impl()
2258 CHECK_CLOSED(self); in _io_TextIOWrapper_tell_impl()
2614 CHECK_CLOSED(self); in _io_TextIOWrapper_flush_impl()
/external/python/cpython2/Modules/_io/
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 …]
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 …]
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()