/aosp_15_r20/external/skia/experimental/rust_png/patches/ |
H A D | 0107-New-API-Reader.next_frame_control-for-advancing-to-t.patch | 35 + 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 D | 0106-Avoid-infinite-loop-when-retrying-after-earlier-fata.patch | 34 + /// [`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 D | 0105-Fix-a-subset-of-issues-identified-by-cargo-clippy.patch | 36 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 D | 0104-Simplify-how-Reader-tracks-how-many-frames-remain-to.patch | 107 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 D | 0101-Add-test-coverage-for-PolledAfterEndOfImage-error.patch | 19 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 D | 0103-Call-finish_decoding-after-last-next_row.patch | 47 + 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 D | 0301-Add-support-for-parsing-mDCv-and-cLLi-chunks.-528.patch | 144 + // 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 D | 0302-Add-support-for-parsing-cICP-chunks.-529.patch | 117 + // NOTE: This function cannot return `DecodingError` and handles parsing 165 // NOTE: This function cannot return `DecodingError` and handles parsing
|
H A D | 0102-Add-test-showing-next_frame-after-next_row-is-tempor.patch | 19 assert!(matches!(err, DecodingError::Parameter(_)));
|
/aosp_15_r20/prebuilts/go/linux-x86/src/debug/gosym/ |
D | symtab.go | 215 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/ |
D | hpack.go | 18 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 D | FFI.rs | 212 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 D | lib.rs | 335 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 D | detokenize_test.cc | 284 TEST_F(DetokenizeWithArgs, DecodingError) { in TEST_F() argument
|
/aosp_15_r20/external/webrtc/modules/audio_coding/neteq/ |
H A D | neteq_impl_unittest.cc | 1276 TEST_F(NetEqImplTest, DecodingError) { in TEST_F() argument
|
/aosp_15_r20/prebuilts/go/linux-x86/api/ |
D | go1.txt | 1843 pkg debug/gosym, method (*DecodingError) Error() string 1862 pkg debug/gosym, type DecodingError struct
|