Home
last modified time | relevance | path

Searched refs:BlockingIOError (Results 1 - 25 of 27) sorted by relevance

12

/third_party/python/Lib/asyncio/
H A Dselector_events.py125 except BlockingIOError:
170 except (BlockingIOError, InterruptedError, ConnectionAbortedError):
369 except (BlockingIOError, InterruptedError):
390 except (BlockingIOError, InterruptedError):
410 except (BlockingIOError, InterruptedError):
428 except (BlockingIOError, InterruptedError):
450 except (BlockingIOError, InterruptedError):
468 except (BlockingIOError, InterruptedError):
491 except (BlockingIOError, InterruptedError):
510 except (BlockingIOError, InterruptedErro
[all...]
H A Dunix_events.py396 except (BlockingIOError, InterruptedError):
524 except (BlockingIOError, InterruptedError):
696 except (BlockingIOError, InterruptedError):
718 except (BlockingIOError, InterruptedError):
/third_party/python/Lib/test/
H A Dtest_except_star.py385 ExceptionGroup("st", [BlockingIOError("io"), TypeError("T")]),
387 ExceptionGroup("st", [BlockingIOError("io")]),
392 raise ExceptionGroup("mmn", [OSError("os"), BlockingIOError("io")])
393 except* BlockingIOError as e:
395 ExceptionGroup("mmn", [BlockingIOError("io")]))
404 raise ExceptionGroup("mmu", [OSError("os"), BlockingIOError("io")])
405 except* BlockingIOError:
408 ExceptionGroup("mmu", [BlockingIOError("io")]))
418 raise ExceptionGroup("fst", [BlockingIOError("io")])
421 ExceptionGroup("fst", [BlockingIOError("i
[all...]
H A Dtest_exception_hierarchy.py54 +-- BlockingIOError EAGAIN, EALREADY, EWOULDBLOCK, EINPROGRESS
152 e = BlockingIOError(*args[:n])
157 e = BlockingIOError("a", "b", 3)
H A Dtest_asynchat.py265 # Issue #16133: handle_read() must ignore BlockingIOError
267 sock.recv.side_effect = BlockingIOError(errno.EAGAIN)
H A Dtest_fcntl.py60 except BlockingIOError:
H A D_test_eintr.py508 except BlockingIOError:
H A Dpythoninfo.py187 except BlockingIOError as exc:
H A Dtest_pickle.py511 if exc in (BlockingIOError,
H A Dtest_io.py311 BlockingIOError = io.BlockingIOError variable in CMockNonBlockWriterIO
314 BlockingIOError = pyio.BlockingIOError variable in PyMockNonBlockWriterIO
1744 except self.BlockingIOError as e:
1747 self.fail("BlockingIOError should have been raised")
4056 # Various BlockingIOError issues
4060 b = self.BlockingIOError(1, c)
4198 except self.BlockingIOError as e:
4211 except self.BlockingIOError a
[all...]
H A Dtest_os.py1868 except BlockingIOError:
3777 with self.assertRaises(BlockingIOError):
3779 with self.assertRaises(BlockingIOError):
3787 with self.assertRaises(BlockingIOError):
H A Dtest_socket.py4780 with self.assertRaises(BlockingIOError):
4798 # that non-blocking accept() raises BlockingIOError
4810 with self.assertRaises(BlockingIOError):
4827 # that non-blocking recv() raises BlockingIOError
/third_party/python/Lib/
H A Dio.py44 __all__ = ["BlockingIOError", "open", "open_code", "IOBase", "RawIOBase",
54 from _io import (DEFAULT_BUFFER_SIZE, BlockingIOError, UnsupportedOperation, namespace
H A D_pyio.py34 BlockingIOError = BlockingIOError variable
698 BlockingIOError if the underlying raw stream is in non-blocking
721 Raises BlockingIOError if the underlying raw stream has no
740 Raises BlockingIOError if the underlying raw stream has no
751 Raises BlockingIOError if the underlying raw stream has no
778 Raises BlockingIOError if the buffer is full and the
846 # may raise BlockingIOError or BrokenPipeError etc
1272 # raise BlockingIOError with characters_written == 0.)
1280 except BlockingIOError a
[all...]
H A Dsocket.py389 except BlockingIOError:
440 except BlockingIOError:
642 except (BlockingIOError, InterruptedError):
H A Dasynchat.py125 except BlockingIOError:
/third_party/python/Lib/test/test_asyncio/
H A Dtest_selector_events.py136 self.loop._ssock.recv.side_effect = BlockingIOError
144 self.loop._csock.send.side_effect = BlockingIOError
612 self.sock.recv.side_effect = BlockingIOError
735 self.sock.send.side_effect = BlockingIOError
832 self.sock.send.side_effect = BlockingIOError
864 self.sock.send.side_effect = BlockingIOError
1029 self.sock.recv_into.side_effect = BlockingIOError
1099 self.sock.recvfrom.side_effect = BlockingIOError
1195 self.sock.sendto.side_effect = BlockingIOError
1302 self.sock.sendto.side_effect = BlockingIOError
[all...]
H A Dfunctional.py244 except BlockingIOError:
H A Dtest_sock_lowlevel.py190 with self.assertRaises(BlockingIOError):
427 # Sad path, sock.sendto() raises BlockingIOError
428 # This involves patching sock.sendto() to raise BlockingIOError but
435 mock_sock.sendto.configure_mock(side_effect=BlockingIOError)
H A Dtest_unix_events.py598 with mock.patch('os.sendfile', side_effect=BlockingIOError()):
714 m_read.side_effect = BlockingIOError
909 m_write.side_effect = BlockingIOError()
986 m_write.side_effect = BlockingIOError()
H A Dtest_ssl.py1712 except BlockingIOError:
H A Dtest_base_events.py1848 sock.accept.side_effect = BlockingIOError()
H A Dtest_events.py404 except BlockingIOError:
/third_party/mesa3d/.gitlab-ci/
H A Dreport-flakes.py49 except io.BlockingIOError:
/third_party/python/Objects/
H A Dexceptions.c1746 /* BlockingIOError's 3rd argument can be the number of in oserror_init()
2120 MiddlingExtendsException(PyExc_OSError, BlockingIOError, OSError,
3553 ITEM(BlockingIOError),
3660 ADD_ERRNO(BlockingIOError, EAGAIN); in _PyExc_InitState()
3661 ADD_ERRNO(BlockingIOError, EALREADY); in _PyExc_InitState()
3662 ADD_ERRNO(BlockingIOError, EINPROGRESS); in _PyExc_InitState()
3663 ADD_ERRNO(BlockingIOError, EWOULDBLOCK); in _PyExc_InitState()

Completed in 51 milliseconds

12