Home
last modified time | relevance | path

Searched refs:ArrayFlatMap (Results 1 – 4 of 4) sorted by relevance

/external/rust/android-crates-io/crates/ring/src/polyfill/
Darray_flat_map.rs12 pub struct ArrayFlatMap<I, Item, F, const LEN: usize> { struct
17 impl<I, Item, F, const LEN: usize> ArrayFlatMap<I, Item, F, LEN> argument
31 impl<I, Item, F, const LEN: usize> Iterator for ArrayFlatMap<I, Item, F, LEN> implementation
52 impl<I, Item, F, const LEN: usize> ExactSizeIterator for ArrayFlatMap<I, Item, F, LEN> implementation
82 let mapped = ArrayFlatMap::new(input.iter().copied(), f).unwrap(); in test_array_flat_map()
119 let mapped = ArrayFlatMap::new(inner, usize::to_be_bytes); in test_array_flat_map_len_overflow()
/external/rust/android-crates-io/crates/ring/src/rsa/
Dpublic_exponent.rs2 use crate::polyfill::{unwrap_const, ArrayFlatMap, LeadingZerosStripped};
82 let bytes = ArrayFlatMap::new(core::iter::once(self.0.get()), u64::to_be_bytes).unwrap(); in be_bytes()
/external/rust/android-crates-io/crates/ring/src/
Dpolyfill.rs40 pub use self::{array_flat_map::ArrayFlatMap, chunks_fixed::*, unwrap_const::unwrap_const};
Dlimb.rs21 use crate::{c, error, polyfill::ArrayFlatMap};
253 ArrayFlatMap::new(limbs.iter().rev().copied(), Limb::to_be_bytes).unwrap() in unstripped_be_bytes()