Searched refs:from_slice (Results 1 – 11 of 11) sorted by relevance
94 IoSliceRaw::from_slice(b"hello"), in test_vmsplice_write()95 IoSliceRaw::from_slice(b" "), in test_vmsplice_write()96 IoSliceRaw::from_slice(b"world"), in test_vmsplice_write()
1187 let xbn = BigNum::from_slice(&x).unwrap(); in key_from_affine_coordinates()1188 let ybn = BigNum::from_slice(&y).unwrap(); in key_from_affine_coordinates()1203 let xbn = BigNum::from_slice(&x).unwrap(); in get_affine_coordinates()1204 let ybn = BigNum::from_slice(&y).unwrap(); in get_affine_coordinates()1227 let xbn = BigNum::from_slice(&x).unwrap(); in get_affine_coordinates_gfp()1228 let ybn = BigNum::from_slice(&y).unwrap(); in get_affine_coordinates_gfp()
618 let r = BigNum::from_slice(&signature.r().to_vec()).unwrap(); in test_signature_der()619 let s = BigNum::from_slice(&signature.s().to_vec()).unwrap(); in test_signature_der()
1075 pub fn from_slice(n: &[u8]) -> Result<BigNum, ErrorStack> { in from_slice() method1375 let v1 = BigNum::from_slice(&vec).unwrap(); in test_to_from_slice()
108 pub fn from_slice(buf: &'a [u8]) -> Self { in from_slice() method
139 pub fn from_slice(buf: &'a [u8]) -> Self { in from_slice() method
186 pub fn from_slice(buf: &'a [u8]) -> IoVec<&'a [u8]> { in from_slice() method
132 let mut deserializer = serde_json::Deserializer::from_slice(input);
77 let ref root: Node = match serde_json::from_slice(ast_dump_bytes) { in load()
20851 fn from_slice(slice: &[T]) -> Self;20856 default fn from_slice(v: &[T]) -> Self {20863 fn from_slice(v: &[T]) -> Self {21229 <Self as RcFromSlice<T>>::from_slice(v)24503 fn from_slice(slice: &[T]) -> Self;24508 default fn from_slice(v: &[T]) -> Self {24515 fn from_slice(v: &[T]) -> Self {25570 <Self as ArcFromSlice<T>>::from_slice(v)
255 - Replaced `IoVec` with `IoSlice` and `IoSliceMut`, and replaced `IoVec::from_slice` with