Searched refs:CHECK_CLOSED (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Modules/_io/ |
D | bytesio.c | 33 #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 …]
|
D | stringio.c | 57 #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() 389 CHECK_CLOSED(self); in _io_StringIO_readline_impl() 401 CHECK_CLOSED(self); in stringio_iternext() 450 CHECK_CLOSED(self); in _io_StringIO_truncate_impl() 488 CHECK_CLOSED(self); in _io_StringIO_seek_impl() 546 CHECK_CLOSED(self); in _io_StringIO_write() 768 CHECK_CLOSED(self); in _io_StringIO_readable_impl() [all …]
|
D | bufferedio.c | 345 #define CHECK_CLOSED(self, error_msg) \ macro 833 CHECK_CLOSED(self, "flush of closed file") in buffered_flush() 857 CHECK_CLOSED(self, "peek of closed file") in _io__Buffered_peek_impl() 894 CHECK_CLOSED(self, "read of closed file") in _io__Buffered_read_impl() 934 CHECK_CLOSED(self, "read of closed file") in _io__Buffered_read1_impl() 1087 CHECK_CLOSED(self, "readline of closed file") in _buffered_readline() 1250 CHECK_CLOSED(self, "seek of closed file") in _io__Buffered_seek_impl()
|
D | textio.c | 1413 #define CHECK_CLOSED(self) \ macro 1537 CHECK_CLOSED(self); in _io_TextIOWrapper_write_impl() 1811 CHECK_CLOSED(self); in _io_TextIOWrapper_read_impl() 2020 CHECK_CLOSED(self); in _textiowrapper_readline() 2337 CHECK_CLOSED(self); in _io_TextIOWrapper_seek_impl() 2529 CHECK_CLOSED(self); in _io_TextIOWrapper_tell_impl() 2911 CHECK_CLOSED(self); in _io_TextIOWrapper_flush_impl()
|
/external/python/cpython2/Modules/_io/ |
D | bytesio.c | 15 #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 …]
|
D | stringio.c | 36 #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 …]
|
D | textio.c | 1138 #define CHECK_CLOSED(self) \ macro 1265 CHECK_CLOSED(self); in textiowrapper_write() 1505 CHECK_CLOSED(self); in textiowrapper_read() 1704 CHECK_CLOSED(self); in _textiowrapper_readline() 2021 CHECK_CLOSED(self); in textiowrapper_seek() 2203 CHECK_CLOSED(self); in textiowrapper_tell() 2454 CHECK_CLOSED(self); in textiowrapper_flush()
|
D | bufferedio.c | 327 #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()
|