Home
last modified time | relevance | path

Searched refs:BlockingIOError (Results 1 – 25 of 40) sorted by relevance

12

/external/python/cpython3/Lib/asyncio/
Dselector_events.py126 except BlockingIOError:
169 except (BlockingIOError, InterruptedError, ConnectionAbortedError):
365 except (BlockingIOError, InterruptedError):
386 except (BlockingIOError, InterruptedError):
406 except (BlockingIOError, InterruptedError):
424 except (BlockingIOError, InterruptedError):
447 except (BlockingIOError, InterruptedError):
471 except (BlockingIOError, InterruptedError):
508 except (BlockingIOError, InterruptedError):
538 except (BlockingIOError, InterruptedError):
[all …]
Dunix_events.py374 except (BlockingIOError, InterruptedError):
494 except (BlockingIOError, InterruptedError):
666 except (BlockingIOError, InterruptedError):
688 except (BlockingIOError, InterruptedError):
/external/python/cpython3/Lib/test/
Dexception_hierarchy.txt25 | +-- BlockingIOError
Dtest_exception_hierarchy.py150 e = BlockingIOError(*args[:n])
155 e = BlockingIOError("a", "b", 3)
Dtest_fcntl.py58 except BlockingIOError:
Dtest_asynchat.py261 sock.recv.side_effect = BlockingIOError(errno.EAGAIN)
Dpythoninfo.py173 except BlockingIOError as exc:
Dtest_pickle.py482 if exc in (BlockingIOError,
Dtest_io.py310 BlockingIOError = io.BlockingIOError variable in CMockNonBlockWriterIO
313 BlockingIOError = pyio.BlockingIOError variable in PyMockNonBlockWriterIO
1711 except self.BlockingIOError as e:
3989 b = self.BlockingIOError(1, c)
4117 except self.BlockingIOError as e:
4130 except self.BlockingIOError as e:
/external/python/cpython2/Lib/
Dio.py54 from _io import (DEFAULT_BUFFER_SIZE, BlockingIOError, UnsupportedOperation,
D_pyio.py33 class BlockingIOError(IOError): class
1105 except BlockingIOError as e:
1112 raise BlockingIOError(e.errno, e.strerror, written)
1132 except BlockingIOError:
1140 raise BlockingIOError(
/external/python/cpython3/Lib/
Dio.py54 from _io import (DEFAULT_BUFFER_SIZE, BlockingIOError, UnsupportedOperation,
D_pyio.py34 BlockingIOError = BlockingIOError variable
1265 except BlockingIOError as e:
1272 raise BlockingIOError(e.errno, e.strerror, written)
1292 except BlockingIOError:
1296 raise BlockingIOError(
1651 except BlockingIOError:
1679 except BlockingIOError:
1708 except BlockingIOError:
Dsocket.py387 except BlockingIOError:
438 except BlockingIOError:
640 except (BlockingIOError, InterruptedError):
Dasynchat.py118 except BlockingIOError:
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_selector_events.py174 self.loop._ssock.recv.side_effect = BlockingIOError
182 self.loop._csock.send.side_effect = BlockingIOError
616 self.sock.recv.side_effect = BlockingIOError
739 self.sock.send.side_effect = BlockingIOError
835 self.sock.send.side_effect = BlockingIOError
867 self.sock.send.side_effect = BlockingIOError
1032 self.sock.recv_into.side_effect = BlockingIOError
1102 self.sock.recvfrom.side_effect = BlockingIOError
1198 self.sock.sendto.side_effect = BlockingIOError
1305 self.sock.sendto.side_effect = BlockingIOError
Dfunctional.py249 except BlockingIOError:
Dtest_unix_events.py589 with mock.patch('os.sendfile', side_effect=BlockingIOError()):
705 m_read.side_effect = BlockingIOError
900 m_write.side_effect = BlockingIOError()
977 m_write.side_effect = BlockingIOError()
Dtest_sock_lowlevel.py183 with self.assertRaises(BlockingIOError):
/external/python/cpython3/Objects/
Dexceptions.c1266 MiddlingExtendsException(PyExc_OSError, BlockingIOError, OSError,
2592 PRE_INIT(BlockingIOError); in _PyExc_Init()
2619 ADD_ERRNO(BlockingIOError, EAGAIN); in _PyExc_Init()
2620 ADD_ERRNO(BlockingIOError, EALREADY); in _PyExc_Init()
2621 ADD_ERRNO(BlockingIOError, EINPROGRESS); in _PyExc_Init()
2622 ADD_ERRNO(BlockingIOError, EWOULDBLOCK); in _PyExc_Init()
2732 POST_INIT(BlockingIOError); in _PyBuiltins_AddExceptions()
/external/python/cpython2/Lib/test/
Dtest_io.py253 BlockingIOError = io.BlockingIOError variable in CMockNonBlockWriterIO
256 BlockingIOError = pyio.BlockingIOError variable in PyMockNonBlockWriterIO
1241 except self.BlockingIOError as e:
3023 self.assertRaises(TypeError, self.BlockingIOError)
3024 self.assertRaises(TypeError, self.BlockingIOError, 1)
3025 self.assertRaises(TypeError, self.BlockingIOError, 1, 2, 3, 4)
3026 self.assertRaises(TypeError, self.BlockingIOError, 1, "", None)
3027 b = self.BlockingIOError(1, "")
3032 b = self.BlockingIOError(1, c)
3111 except self.BlockingIOError as e:
[all …]
Dpythoninfo.py248 except BlockingIOError as exc:
/external/python/cpython3/Doc/library/
Dio.rst146 .. exception:: BlockingIOError
148 This is a compatibility alias for the builtin :exc:`BlockingIOError`
456 In addition, those methods can raise :exc:`BlockingIOError` if the
502 A :exc:`BlockingIOError` is raised if the underlying raw stream is in
525 A :exc:`BlockingIOError` is raised if the underlying raw stream is in non
535 A :exc:`BlockingIOError` is raised if the underlying raw stream is in non
549 When in non-blocking mode, a :exc:`BlockingIOError` is raised if the
734 :exc:`BlockingIOError` should be raised if the raw stream blocks.
740 :exc:`BlockingIOError` is raised if the buffer needs to be written out but
/external/python/cpython2/Doc/library/
Dio.rst188 .. exception:: BlockingIOError
193 In addition to those of :exc:`IOError`, :exc:`BlockingIOError` has one
421 In addition, those methods can raise :exc:`BlockingIOError` if the
467 A :exc:`BlockingIOError` is raised if the underlying raw stream is in
486 A :exc:`BlockingIOError` is raised if the underlying raw stream is in
499 When in non-blocking mode, a :exc:`BlockingIOError` is raised if the
628 :exc:`BlockingIOError` should be raised if the raw stream blocks.
635 When in non-blocking mode, a :exc:`BlockingIOError` is raised
/external/python/cpython3/Lib/test/eintrdata/
Deintr_tester.py507 except BlockingIOError:

12