Home
last modified time | relevance | path

Searched refs:ReadError (Results 1 – 24 of 24) sorted by relevance

/external/rust/crates/rand/src/rngs/adapter/
Dread.rs83 .map_err(|e| Error::new(ReadError(e))) in try_fill_bytes()
89 pub struct ReadError(std::io::Error); struct
91 impl fmt::Display for ReadError { implementation
97 impl std::error::Error for ReadError { implementation
Dmod.rs14 pub use self::read::{ReadError, ReadRng};
/external/sonivox/arm-wt-22k/lib_src/
Deas_smf.c1112 goto ReadError; in SMF_ParseHeader()
1114 goto ReadError; in SMF_ParseHeader()
1118 goto ReadError; in SMF_ParseHeader()
1120 goto ReadError; in SMF_ParseHeader()
1135 goto ReadError; in SMF_ParseHeader()
1178 goto ReadError; in SMF_ParseHeader()
1182 goto ReadError; in SMF_ParseHeader()
1186 goto ReadError; in SMF_ParseHeader()
1210 goto ReadError; in SMF_ParseHeader()
1222 goto ReadError; in SMF_ParseHeader()
[all …]
/external/llvm-project/llvm/unittests/ExecutionEngine/Orc/
DQueueChannel.h44 : ReadError([]() { return Error::success(); }), in Queue()
54 Error checkReadError() { return ReadError(); } in checkReadError()
59 ReadError = std::move(NewReadError); in setReadError()
70 std::function<Error()> ReadError, WriteError; variable
/external/rust/crates/tokio-test/src/
Dio.rs64 ReadError(Option<Arc<io::Error>>), enumerator
97 self.actions.push_back(Action::ReadError(error)); in read_error()
162 self.tx.send(Action::ReadError(error)).unwrap(); in read_error()
223 Some(&mut Action::ReadError(ref mut err)) => { in read()
319 Action::ReadError(ref mut error) | Action::WriteError(ref mut error) => { in action()
338 Some(&mut Action::Read(_)) | Some(&mut Action::ReadError(_)) | None => { in maybe_wakeup_reader()
/external/python/cpython2/Lib/test/
Dtest_tarfile.py248 except tarfile.ReadError:
261 self.assertRaises(tarfile.ReadError, tarfile.open, tmpname, self.mode)
262 self.assertRaises(tarfile.ReadError, tarfile.open, tmpname)
311 with self.assertRaisesRegexp(tarfile.ReadError, "unexpected end of data"):
318 with self.assertRaisesRegexp(tarfile.ReadError, "unexpected end of data"):
321 with self.assertRaisesRegexp(tarfile.ReadError, "unexpected end of data"):
401 self.assertRaises(tarfile.ReadError, tarfile.open, tarname, self.mode)
403 self.assertRaises(tarfile.ReadError, tarfile.open,
482 except tarfile.ReadError:
545 except tarfile.ReadError:
[all …]
/external/python/cpython3/Lib/
Dtarfile.py272 class ReadError(TarError): class
477 raise ReadError("not a gzip file")
545 raise ReadError("invalid compressed data")
686 raise ReadError("unexpected end of data")
1536 raise ReadError(str(e))
1612 except (ReadError, CompressionError):
1616 raise ReadError("file could not be opened successfully")
1678 raise ReadError("not a gzip file")
1686 raise ReadError("not a gzip file")
1714 raise ReadError("not a bzip2 file")
[all …]
Dshutil.py82 class ReadError(OSError): class
1140 raise ReadError("%s is not a zip file" % filename)
1175 raise ReadError(
1241 raise ReadError("Unknown archive format '{0}'".format(filename))
/external/python/cpython2/Lib/
Dtarfile.py332 class ReadError(TarError): class
524 raise ReadError("not a gzip file")
598 raise ReadError("invalid compressed data")
750 raise ReadError("unexpected end of data")
1601 raise ReadError(str(e))
1676 except (ReadError, CompressionError), e:
1680 raise ReadError("file could not be opened successfully")
1743 raise ReadError("not a gzip file")
1751 raise ReadError("not a gzip file")
1782 raise ReadError("not a bzip2 file")
[all …]
/external/python/cpython3/Lib/test/
Dtest_tarfile.py364 except tarfile.ReadError:
383 self.assertRaises(tarfile.ReadError, tarfile.open, tmpname, self.mode)
384 self.assertRaises(tarfile.ReadError, tarfile.open, tmpname)
419 with self.assertRaisesRegex(tarfile.ReadError, "unexpected end of data"):
426 with self.assertRaisesRegex(tarfile.ReadError, "unexpected end of data"):
429 with self.assertRaisesRegex(tarfile.ReadError, "unexpected end of data"):
435 with self.assertRaisesRegex(tarfile.ReadError, "file could not be opened successfully"):
541 self.assertRaises(tarfile.ReadError, tarfile.open, tarname, self.mode)
543 self.assertRaises(tarfile.ReadError, tarfile.open,
674 except tarfile.ReadError:
[all …]
Dtest_shutil.py1552 self.assertRaises(shutil.ReadError, unpack_archive, converter(TESTFN))
/external/libbrillo/brillo/streams/
Dopenssl_stream_bio_test.cc77 TEST_F(StreamBIOTest, ReadError) { in TEST_F() argument
/external/rust/crates/clap/src/app/
Dhelp.rs792 ReadError(io::Error), enumerator
814 Err(e) => return CopyUntilResult::ReadError(e), in copy_until()
846 ReadError(e) | WriteError(e) => Some(Err(e)), in copy_and_capture()
877 ReadError(e) | WriteError(e) => Some(Err(e)), in copy_and_capture()
/external/python/cpython3/Misc/NEWS.d/
D3.5.0b4.rst217 tarfile now raises a ReadError if an archive is truncated inside a data
/external/pdfium/core/fpdfapi/parser/
Dcpdf_read_validator_unittest.cpp133 TEST(CPDF_ReadValidatorTest, ReadError) { in TEST() argument
/external/tensorflow/tensorflow/core/lib/io/
Drecordio_test.cc332 TEST_F(RecordioTest, ReadError) { in TEST_F() argument
/external/fmtlib/test/
Dos-test.cc438 TEST(FileTest, ReadError) { in TEST() argument
/external/python/cpython2/Doc/library/
Dtarfile.rst74 to open a certain (compressed) file for reading, :exc:`ReadError` is raised. Use
159 .. exception:: ReadError
/external/autotest/site_utils/
Dgs_offloader.py591 except tarfile.ReadError as error:
/external/python/cpython3/Doc/library/
Dtarfile.rst95 :exc:`ReadError` is raised. Use *mode* ``'r'`` to avoid this. If a
177 .. exception:: ReadError
/external/python/cpython2/Misc/NEWS.d/
D2.7.11rc1.rst506 tarfile now raises a ReadError if an archive is truncated inside a data
D2.7.7rc1.rst505 TarFile no longer raise ReadError when opened in write mode.
D2.7a1.rst1623 tarfile now opens empty archives correctly and consistently raises ReadError
/external/python/cpython3/Misc/
DHISTORY482 - Issue #24259: tarfile now raises a ReadError if an archive is truncated
2658 - Issue #20243: TarFile no longer raise ReadError when opened in write mode.
13918 raises ReadError on empty files.