/external/python/cpython3/Lib/ |
D | _compression.py | 18 raise io.UnsupportedOperation("File not open for reading") 22 raise io.UnsupportedOperation("File not open for writing") 26 raise io.UnsupportedOperation("Seeking is only supported " 29 raise io.UnsupportedOperation("The underlying file object "
|
D | io.py | 54 from _io import (DEFAULT_BUFFER_SIZE, BlockingIOError, UnsupportedOperation, 62 UnsupportedOperation.__module__ = "io"
|
D | _pyio.py | 309 UnsupportedOperation = io.UnsupportedOperation variable 311 class UnsupportedOperation(OSError, ValueError): class 352 raise UnsupportedOperation("%s.%s() not supported" % 447 raise UnsupportedOperation("File or stream is not seekable." 461 raise UnsupportedOperation("File or stream is not readable." 475 raise UnsupportedOperation("File or stream is not writable." 1632 raise UnsupportedOperation('File not open for reading') 1636 raise UnsupportedOperation('File not open for writing') 2010 except (AttributeError, UnsupportedOperation): 2135 raise UnsupportedOperation( [all …]
|
D | socket.py | 351 except (AttributeError, io.UnsupportedOperation) as err:
|
/external/rust/crates/nix/test/sys/ |
D | test_ptrace.rs | 29 assert!(err != Error::UnsupportedOperation); in test_ptrace_setoptions() 38 assert!(err != Error::UnsupportedOperation); in test_ptrace_getevent() 46 if let Err(Error::UnsupportedOperation) = ptrace::getsiginfo(getpid()) { in test_ptrace_getsiginfo() 57 if let Err(Error::UnsupportedOperation) = ptrace::setsiginfo(getpid(), &siginfo) { in test_ptrace_setsiginfo()
|
D | test_signal.rs | 96 …t_eq!(unsafe { signal(Signal::SIGINT, action_handler) }.unwrap_err(), Error::UnsupportedOperation); in test_signal_sigaction()
|
/external/python/cpython2/Lib/test/ |
D | test_imghdr.py | 23 raise io.UnsupportedOperation 26 raise io.UnsupportedOperation 106 with self.assertRaises(io.UnsupportedOperation):
|
D | test_memoryio.py | 66 self.assertRaises(self.UnsupportedOperation, buf.detach) 402 UnsupportedOperation = pyio.UnsupportedOperation variable in PyBytesIOTest 635 UnsupportedOperation = pyio.UnsupportedOperation variable in PyStringIOTest 653 UnsupportedOperation = pyio.UnsupportedOperation variable in PyStringIOPickleTest 665 UnsupportedOperation = io.UnsupportedOperation variable in CBytesIOTest 712 UnsupportedOperation = io.UnsupportedOperation variable in CStringIOTest 760 UnsupportedOperation = io.UnsupportedOperation variable in CStringIOPickleTest
|
D | audiotests.py | 11 raise io.UnsupportedOperation 14 raise io.UnsupportedOperation
|
/external/python/cpython3/Lib/test/ |
D | test_imghdr.py | 27 raise io.UnsupportedOperation 30 raise io.UnsupportedOperation 129 with self.assertRaises(io.UnsupportedOperation):
|
D | test_memoryio.py | 70 self.assertRaises(self.UnsupportedOperation, buf.detach) 433 UnsupportedOperation = pyio.UnsupportedOperation variable in PyBytesIOTest 696 UnsupportedOperation = pyio.UnsupportedOperation variable in PyStringIOTest 713 UnsupportedOperation = pyio.UnsupportedOperation variable in PyStringIOPickleTest 725 UnsupportedOperation = io.UnsupportedOperation variable in CBytesIOTest 812 UnsupportedOperation = io.UnsupportedOperation variable in CStringIOTest 859 UnsupportedOperation = io.UnsupportedOperation variable in CStringIOPickleTest
|
D | test_io.py | 246 raise self.UnsupportedOperation("not seekable") 249 raise self.UnsupportedOperation("not seekable") 252 raise self.UnsupportedOperation("not seekable") 255 UnsupportedOperation = io.UnsupportedOperation variable in CMockUnseekableIO 258 UnsupportedOperation = pyio.UnsupportedOperation variable in PyMockUnseekableIO 405 exc = self.UnsupportedOperation 1210 self.assertRaises(self.UnsupportedOperation, bufio.tell) 1211 self.assertRaises(self.UnsupportedOperation, bufio.seek, 0) 1488 self.assertRaises(self.UnsupportedOperation, bufio.tell) 1489 self.assertRaises(self.UnsupportedOperation, bufio.seek, 0) [all …]
|
D | audiotests.py | 9 raise io.UnsupportedOperation 12 raise io.UnsupportedOperation
|
D | test_gzip.py | 40 raise io.UnsupportedOperation 43 raise io.UnsupportedOperation
|
D | test_lzma.py | 2 from io import BytesIO, UnsupportedOperation, DEFAULT_BUFFER_SIZE 710 self.assertRaises(UnsupportedOperation, f.fileno)
|
/external/rust/crates/nix/src/ |
D | env.rs | 51 Err(Error::UnsupportedOperation) in clearenv()
|
D | lib.rs | 106 UnsupportedOperation, enumerator 160 Error::UnsupportedOperation => write!(f, "Unsupported Operation"), in fmt()
|
/external/python/cpython2/Lib/ |
D | io.py | 54 from _io import (DEFAULT_BUFFER_SIZE, BlockingIOError, UnsupportedOperation,
|
D | _pyio.py | 260 class UnsupportedOperation(ValueError, IOError): class 302 raise UnsupportedOperation("%s.%s() not supported" %
|
/external/python/apitools/apitools/base/py/ |
D | gzip_test.py | 47 raise io.UnsupportedOperation 50 raise io.UnsupportedOperation
|
/external/python/cpython3/Doc/library/ |
D | io.rst | 152 .. exception:: UnsupportedOperation 193 to raise :exc:`UnsupportedOperation` if they do not support a given operation. 254 implementations may raise a :exc:`ValueError` (or :exc:`UnsupportedOperation`) 486 :exc:`UnsupportedOperation`. 771 :exc:`UnsupportedOperation`. 823 raise :exc:`UnsupportedOperation`.
|
/external/python/pyfakefs/pyfakefs/tests/ |
D | fake_open_test.py | 323 self.assertRaises(io.UnsupportedOperation, fake_file.read, 0) 324 self.assertRaises(io.UnsupportedOperation, fake_file.readline) 1024 self.assertRaises(io.UnsupportedOperation, fake_file.read, 0) 1025 self.assertRaises(io.UnsupportedOperation, fake_file.readline)
|
/external/python/cpython2/Doc/library/ |
D | io.rst | 202 .. exception:: UnsupportedOperation 451 :exc:`UnsupportedOperation`. 670 :exc:`UnsupportedOperation`. 723 raise :exc:`UnsupportedOperation`.
|
/external/python/cpython3/Lib/asyncio/ |
D | proactor_events.py | 710 except (AttributeError, io.UnsupportedOperation) as err:
|
/external/rust/crates/nix/src/sys/ |
D | signal.rs | 684 SigHandler::SigAction(_) => return Err(Error::UnsupportedOperation), in signal()
|