/external/rust/android-crates-io/crates/base64/src/ |
D | decode.rs | 52 pub enum DecodeSliceError { enum 59 impl fmt::Display for DecodeSliceError { implementation 69 impl error::Error for DecodeSliceError { implementation 72 DecodeSliceError::DecodeError(e) => Some(e), in source() 73 DecodeSliceError::OutputSliceTooSmall => None, in source() 78 impl From<DecodeError> for DecodeSliceError { implementation 80 DecodeSliceError::DecodeError(e) in from() 127 ) -> Result<usize, DecodeSliceError> { in decode_engine_slice() argument 264 DecodeSliceError::OutputSliceTooSmall, in decode_slice_output_length_errors() 269 DecodeSliceError::OutputSliceTooSmall, in decode_slice_output_length_errors() [all …]
|
D | lib.rs | 270 pub use crate::decode::{decode_engine_slice, decoded_len_estimate, DecodeError, DecodeSliceError};
|
/external/rust/android-crates-io/crates/base64/src/engine/ |
D | mod.rs | 6 encoded_len, DecodeError, DecodeSliceError, 92 ) -> Result<DecodeMetadata, DecodeSliceError>; in internal_decode() argument 255 DecodeSliceError::DecodeError(e) => e, in decode() 256 DecodeSliceError::OutputSliceTooSmall => { in decode() 326 DecodeSliceError::DecodeError(e) => e, in decode_vec() 327 DecodeSliceError::OutputSliceTooSmall => { in decode_vec() 357 ) -> Result<usize, DecodeSliceError> { in decode_slice() argument 362 ) -> Result<usize, DecodeSliceError> in decode_slice() 410 DecodeSliceError::DecodeError(e) => e, in decode_slice_unchecked() 411 DecodeSliceError::OutputSliceTooSmall => { in decode_slice_unchecked()
|
D | naive.rs | 7 DecodeError, DecodeSliceError, 114 ) -> Result<DecodeMetadata, DecodeSliceError> { in internal_decode() argument
|
D | tests.rs | 22 DecodeError, DecodeSliceError, PAD_BYTE, 1121 Err(DecodeSliceError::DecodeError(DecodeError::InvalidByte( in inner_decode_reports_padding_position() 1215 DecodeSliceError::OutputSliceTooSmall, in decode_slice_checked_fails_gracefully_at_all_output_lengths() 1227 DecodeSliceError::OutputSliceTooSmall, in decode_slice_checked_fails_gracefully_at_all_output_lengths() 1478 ) -> Result<DecodeMetadata, DecodeSliceError> { in internal_decode() argument 1498 return Err(DecodeSliceError::OutputSliceTooSmall); in internal_decode()
|
/external/rust/android-crates-io/crates/base64/src/engine/general_purpose/ |
D | decode_suffix.rs | 3 DecodeError, DecodeSliceError, PAD_BYTE, 19 ) -> Result<DecodeMetadata, DecodeSliceError> { argument 150 .ok_or(DecodeSliceError::OutputSliceTooSmall)? = hi_byte;
|
D | decode.rs | 3 DecodeError, DecodeSliceError, PAD_BYTE, 42 ) -> Result<DecodeMetadata, DecodeSliceError> { argument 136 ) -> Result<usize, DecodeSliceError> { argument 160 return Err(DecodeSliceError::OutputSliceTooSmall);
|
D | mod.rs | 6 DecodeSliceError, 176 ) -> Result<DecodeMetadata, DecodeSliceError> { in internal_decode() argument
|
/external/rust/android-crates-io/crates/base64/src/read/ |
D | decoder.rs | 1 use crate::{engine::Engine, DecodeError, DecodeSliceError, PAD_BYTE}; 154 DecodeSliceError::DecodeError(de) => { in decode_to_buf() 179 DecodeSliceError::OutputSliceTooSmall => { in decode_to_buf()
|
/external/rust/android-crates-io/crates/base64/ |
D | RELEASE-NOTES.md | 7 …DecodeSliceError::OutputSliceTooSmall` is now conservative rather than precise. That is, the error…
|