Home
last modified time | relevance | path

Searched refs:DecodingError (Results 1 – 16 of 16) sorted by relevance

/aosp_15_r20/external/skia/experimental/rust_png/patches/
H A D0107-New-API-Reader.next_frame_control-for-advancing-to-t.patch35 + pub fn next_frame_info(&mut self) -> Result<&FrameControl, DecodingError> {
43 + return Err(DecodingError::Parameter(
62 fn read_until_image_data(&mut self) -> Result<(), DecodingError> {
87 - assert!(matches!(err, DecodingError::Parameter(_)));
89 + matches!(&err, DecodingError::Parameter(_)),
105 + matches!(&err, DecodingError::Parameter(_)),
159 - assert!(matches!(err, DecodingError::Parameter(_)));
161 + matches!(&err, DecodingError::Parameter(_)),
200 - assert!(matches!(err, DecodingError::Parameter(_)));
202 + matches!(&err, DecodingError::Parameter(_)),
[all …]
H A D0106-Avoid-infinite-loop-when-retrying-after-earlier-fata.patch34 + /// [`DecodingError::Format`]). The only case when it is possible to resume after an error
35 + /// is an `UnexpectedEof` scenario - see [`DecodingError::IoError`].
66 ) -> Result<(usize, Decoded), DecodingError> {
68 + return Err(DecodingError::Parameter(
93 assert!(matches!(&err, DecodingError::Format(_)));
99 + // but it is probably unnecessary and infeasible (`DecodingError` can't derive `Clone`
103 + assert!(matches!(&err2, DecodingError::Parameter(_)));
114 assert!(matches!(&err, DecodingError::Format(_)));
H A D0105-Fix-a-subset-of-issues-identified-by-cargo-clippy.patch36 fn parse_fctl(&mut self) -> Result<Decoded, DecodingError> {
45 - return Err(DecodingError::Format(
46 + Err(DecodingError::Format(
52 - return Err(DecodingError::Format(
53 + Err(DecodingError::Format(
H A D0104-Simplify-how-Reader-tracks-how-many-frames-remain-to.patch107 return Err(DecodingError::Format(
112 pub fn next_frame(&mut self, buf: &mut [u8]) -> Result<OutputInfo, DecodingError> {
115 return Err(DecodingError::Parameter(
152 fn finish_decoding(&mut self) -> Result<(), DecodingError> {
169 pub fn finish(&mut self) -> Result<(), DecodingError> {
H A D0101-Add-test-coverage-for-PolledAfterEndOfImage-error.patch19 use crate::{Decoder, DecodingError, Reader};
126 + assert!(matches!(err, DecodingError::Parameter(_)));
177 + assert!(matches!(err, DecodingError::Parameter(_)));
225 + assert!(matches!(err, DecodingError::Parameter(_)));
H A D0103-Call-finish_decoding-after-last-next_row.patch47 + fn finish_decoding(&mut self) -> Result<(), DecodingError> {
61 pub fn next_row(&mut self) -> Result<Option<Row>, DecodingError> {
65 pub fn next_interlaced_row(&mut self) -> Result<Option<InterlacedRow>, DecodingError> {
H A D0301-Add-support-for-parsing-mDCv-and-cLLi-chunks.-528.patch144 + // NOTE: This function cannot return `DecodingError` and handles parsing
195 + // NOTE: This function cannot return `DecodingError` and handles parsing
220 fn parse_iccp(&mut self) -> Result<Decoded, DecodingError> {
222 Err(DecodingError::Format(
H A D0302-Add-support-for-parsing-cICP-chunks.-529.patch117 + // NOTE: This function cannot return `DecodingError` and handles parsing
165 // NOTE: This function cannot return `DecodingError` and handles parsing
H A D0102-Add-test-showing-next_frame-after-next_row-is-tempor.patch19 assert!(matches!(err, DecodingError::Parameter(_)));
/aosp_15_r20/prebuilts/go/linux-x86/src/debug/gosym/
Dsymtab.go215 return &DecodingError{len(data), "unexpected EOF", nil}
219 return &DecodingError{7, "invalid pointer size", ptrsz}
241 return &DecodingError{len(data), "unexpected EOF", nil}
261 return &DecodingError{len(data), "unexpected EOF", nil}
268 return &DecodingError{len(data), "unexpected EOF", nil}
283 return &DecodingError{len(data), "unexpected EOF", nil}
287 return &DecodingError{len(data) - len(p) + 4, "bad symbol type", typ}
314 return &DecodingError{len(data), "unexpected EOF", nil}
322 return &DecodingError{len(data), "unexpected EOF", nil}
385 return &DecodingError{-1, "bad filename code", eltIdx}
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/vendor/golang.org/x/net/http2/hpack/
Dhpack.go18 type DecodingError struct { struct
22 func (de DecodingError) Error() string { argument
238 return DecodingError{errors.New("truncated headers")}
334 return DecodingError{errors.New("invalid encoding")}
346 return DecodingError{InvalidIndexError(idx)}
366 return DecodingError{InvalidIndexError(nameIdx)}
416 …return DecodingError{errors.New("dynamic table size update MUST occur at the beginning of a header…
425 return DecodingError{errors.New("dynamic table size update too large")}
432 var errVarintOverflow = DecodingError{errors.New("varint integer overflow")}
/aosp_15_r20/external/skia/experimental/rust_png/ffi/
H A DFFI.rs212 impl From<Option<&png::DecodingError>> for ffi::DecodingResult {
213 fn from(option: Option<&png::DecodingError>) -> Self { in from()
217 png::DecodingError::IoError(e) => { in from()
226 png::DecodingError::Format(_) => Self::FormatError, in from()
227 png::DecodingError::Parameter(_) => Self::ParameterError, in from()
228 png::DecodingError::LimitsExceeded => Self::LimitsExceededError, in from()
272 struct ResultOfReader(Result<Reader, png::DecodingError>);
281 let mut result = Err(png::DecodingError::LimitsExceeded); in unwrap()
338 fn new(input: cxx::UniquePtr<ffi::ReadTrait>) -> Result<Self, png::DecodingError> { in new() argument
/aosp_15_r20/external/virtio-media/extras/ffmpeg-decoder/src/
H A Dlib.rs335 DecodingError(AvError), enumerator
522 Err(av_err) => Err(TryReceiveFrameError::DecodingError(av_err)), in try_receive_frame()
/aosp_15_r20/external/pigweed/pw_tokenizer/
H A Ddetokenize_test.cc284 TEST_F(DetokenizeWithArgs, DecodingError) { in TEST_F() argument
/aosp_15_r20/external/webrtc/modules/audio_coding/neteq/
H A Dneteq_impl_unittest.cc1276 TEST_F(NetEqImplTest, DecodingError) { in TEST_F() argument
/aosp_15_r20/prebuilts/go/linux-x86/api/
Dgo1.txt1843 pkg debug/gosym, method (*DecodingError) Error() string
1862 pkg debug/gosym, type DecodingError struct