Home
last modified time | relevance | path

Searched refs:DecodeSliceError (Results 1 – 10 of 10) sorted by relevance

/external/rust/android-crates-io/crates/base64/src/
Ddecode.rs52 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 …]
Dlib.rs270 pub use crate::decode::{decode_engine_slice, decoded_len_estimate, DecodeError, DecodeSliceError};
/external/rust/android-crates-io/crates/base64/src/engine/
Dmod.rs6 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()
Dnaive.rs7 DecodeError, DecodeSliceError,
114 ) -> Result<DecodeMetadata, DecodeSliceError> { in internal_decode() argument
Dtests.rs22 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/
Ddecode_suffix.rs3 DecodeError, DecodeSliceError, PAD_BYTE,
19 ) -> Result<DecodeMetadata, DecodeSliceError> { argument
150 .ok_or(DecodeSliceError::OutputSliceTooSmall)? = hi_byte;
Ddecode.rs3 DecodeError, DecodeSliceError, PAD_BYTE,
42 ) -> Result<DecodeMetadata, DecodeSliceError> { argument
136 ) -> Result<usize, DecodeSliceError> { argument
160 return Err(DecodeSliceError::OutputSliceTooSmall);
Dmod.rs6 DecodeSliceError,
176 ) -> Result<DecodeMetadata, DecodeSliceError> { in internal_decode() argument
/external/rust/android-crates-io/crates/base64/src/read/
Ddecoder.rs1 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/
DRELEASE-NOTES.md7DecodeSliceError::OutputSliceTooSmall` is now conservative rather than precise. That is, the error…