Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/asyncio/
Dselector_events.py120 except BlockingIOError:
161 except (BlockingIOError, InterruptedError, ConnectionAbortedError):
367 except (BlockingIOError, InterruptedError):
401 except (BlockingIOError, InterruptedError):
435 except (BlockingIOError, InterruptedError):
470 except (BlockingIOError, InterruptedError):
495 except (BlockingIOError, InterruptedError):
526 except (BlockingIOError, InterruptedError):
781 except (BlockingIOError, InterruptedError):
802 except (BlockingIOError, InterruptedError):
[all …]
Dunix_events.py362 except (BlockingIOError, InterruptedError):
479 except (BlockingIOError, InterruptedError):
642 except (BlockingIOError, InterruptedError):
662 except (BlockingIOError, InterruptedError):
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_selector_events.py171 self.loop._ssock.recv.side_effect = BlockingIOError
179 self.loop._csock.send.side_effect = BlockingIOError
205 sock.recv.side_effect = BlockingIOError
253 sock.recv.side_effect = BlockingIOError
300 sock.send.side_effect = BlockingIOError
347 sock.send.side_effect = BlockingIOError
423 sock.connect.side_effect = BlockingIOError
487 sock.connect.side_effect = BlockingIOError
576 sock.accept.side_effect = BlockingIOError
1003 self.sock.recv.side_effect = BlockingIOError
[all …]
Dfunctional.py256 except BlockingIOError:
Dtest_unix_events.py574 with mock.patch('os.sendfile', side_effect=BlockingIOError()):
690 m_read.side_effect = BlockingIOError
858 m_write.side_effect = BlockingIOError()
935 m_write.side_effect = BlockingIOError()
/external/python/cpython3/Lib/test/
Dtest_exception_hierarchy.py150 e = BlockingIOError(*args[:n])
153 e = BlockingIOError("a", "b", 3)
Dexception_hierarchy.txt25 | +-- BlockingIOError
Dtest_asynchat.py262 sock.recv.side_effect = BlockingIOError(errno.EAGAIN)
Dpythoninfo.py290 except BlockingIOError as exc:
Dtest_io.py299 BlockingIOError = io.BlockingIOError variable in CMockNonBlockWriterIO
302 BlockingIOError = pyio.BlockingIOError variable in PyMockNonBlockWriterIO
1676 except self.BlockingIOError as e:
3885 b = self.BlockingIOError(1, c)
4013 except self.BlockingIOError as e:
4026 except self.BlockingIOError as e:
Dtest_pickle.py468 if exc in (BlockingIOError,
/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,
Dsocket.py306 except BlockingIOError:
357 except BlockingIOError:
525 except (BlockingIOError, InterruptedError):
D_pyio.py34 BlockingIOError = BlockingIOError variable
1207 except BlockingIOError as e:
1214 raise BlockingIOError(e.errno, e.strerror, written)
1234 except BlockingIOError:
1238 raise BlockingIOError(
1589 except BlockingIOError:
1617 except BlockingIOError:
1646 except BlockingIOError:
Dasynchat.py118 except BlockingIOError:
/external/python/cpython3/Objects/
Dexceptions.c1237 MiddlingExtendsException(PyExc_OSError, BlockingIOError, OSError,
2559 PRE_INIT(BlockingIOError) in _PyExc_Init()
2642 POST_INIT(BlockingIOError) in _PyExc_Init()
2643 ADD_ERRNO(BlockingIOError, EAGAIN) in _PyExc_Init()
2644 ADD_ERRNO(BlockingIOError, EALREADY) in _PyExc_Init()
2645 ADD_ERRNO(BlockingIOError, EINPROGRESS) in _PyExc_Init()
2646 ADD_ERRNO(BlockingIOError, EWOULDBLOCK) in _PyExc_Init()
/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.rst124 .. exception:: BlockingIOError
126 This is a compatibility alias for the builtin :exc:`BlockingIOError`
434 In addition, those methods can raise :exc:`BlockingIOError` if the
480 A :exc:`BlockingIOError` is raised if the underlying raw stream is in
502 A :exc:`BlockingIOError` is raised if the underlying raw stream is in non
512 A :exc:`BlockingIOError` is raised if the underlying raw stream is in non
526 When in non-blocking mode, a :exc:`BlockingIOError` is raised if the
709 :exc:`BlockingIOError` should be raised if the raw stream blocks.
715 :exc:`BlockingIOError` is raised if the buffer needs to be written out but
Dexceptions.rst558 .. exception:: BlockingIOError
565 In addition to those of :exc:`OSError`, :exc:`BlockingIOError` can have
Dasyncore.rst223 Note that :meth:`recv` may raise :exc:`BlockingIOError` , even though
/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.py511 except BlockingIOError:

12