Home
last modified time | relevance | path

Searched refs:ArithmeticOverflow (Results 1 – 7 of 7) sorted by relevance

/aosp_15_r20/external/rust/android-crates-io/crates/pdl-compiler/src/backends/rust_no_allocation/
Dcomputed_values.rs117 quote! { #x.checked_mul(#y).ok_or(ParseError::ArithmeticOverflow) } in compute()
133 let bit_difference = #x.checked_sub(#y).ok_or(ParseError::ArithmeticOverflow)?; in compute()
153 … quote! { #base_id.checked_add_signed(#offset as isize).ok_or(ParseError::ArithmeticOverflow) } in compute()
159 #x.checked_add(#y.checked_mul(8).ok_or(ParseError::ArithmeticOverflow)?) in compute()
160 .ok_or(ParseError::ArithmeticOverflow) in compute()
Dpreamble.rs23 ArithmeticOverflow, enumerator
52 .ok_or(ParseError::ArithmeticOverflow)?, in offset()
67 .ok_or(ParseError::ArithmeticOverflow)?, in slice()
134 T::try_from(accumulator).map_err(|_| ParseError::ArithmeticOverflow) in try_parse()
Dpacket_parser.rs131 …et curr_view = view.offset(element_size.checked_mul(i * 8).ok_or(ParseError::ArithmeticOverflow)?)? in generate_packet()
132 … .slice(element_size.checked_mul(8).ok_or(ParseError::ArithmeticOverflow)?)?; in generate_packet()
192 ….offset(#offset)?.slice(#end_offset.checked_sub(#offset).ok_or(ParseError::ArithmeticOverflow)?)? } in generate_packet()
/aosp_15_r20/bootable/libbootloader/gbl/liberror/src/
H A Dlib.rs141 ArithmeticOverflow(safemath::Error), enumerator
265 Self::ArithmeticOverflow(err) in from()
272 Self::ArithmeticOverflow(err.into()) in from()
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/regex-automata-0.4.6/src/util/
H A Dwire.rs149 ArithmeticOverflow { what: &'static str }, enumerator
196 DeserializeError(DeserializeErrorKind::ArithmeticOverflow { what }) in arithmetic_overflow()
255 ArithmeticOverflow { what } => { in fmt()
/aosp_15_r20/bootable/libbootloader/gbl/libutils/src/
H A Dlib.rs132 assert!(matches!(aligned_subslice(bytes, SafeNum::MAX), Err(Error::ArithmeticOverflow(_)))); in aligned_subslice_alignment_overflow()
/aosp_15_r20/bootable/libbootloader/gbl/libgbl/src/gbl_avb/
H A Dops.rs179 Error::ArithmeticOverflow(_) => IoError::RangeOutsidePartition, in read_from_partition()