Home
last modified time | relevance | path

Searched refs:from_slice (Results 1 – 11 of 11) sorted by relevance

/third_party/rust/crates/rustix/tests/io/
Dpipe.rs94 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()
/third_party/rust/crates/rust-openssl/openssl/src/
Dec.rs1187 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()
Ddsa.rs618 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()
Dbn.rs1075 pub fn from_slice(n: &[u8]) -> Result<BigNum, ErrorStack> { in from_slice() method
1375 let v1 = BigNum::from_slice(&vec).unwrap(); in test_to_from_slice()
/third_party/rust/crates/rustix/src/backend/linux_raw/io/
Dtypes.rs108 pub fn from_slice(buf: &'a [u8]) -> Self { in from_slice() method
/third_party/rust/crates/rustix/src/backend/libc/io/
Dtypes.rs139 pub fn from_slice(buf: &'a [u8]) -> Self { in from_slice() method
/third_party/rust/crates/nix/src/sys/
Duio.rs186 pub fn from_slice(buf: &'a [u8]) -> IoVec<&'a [u8]> { in from_slice() method
/third_party/rust/crates/cxx/book/src/binding/
Dslice.md132 let mut deserializer = serde_json::Deserializer::from_slice(input);
/third_party/rust/crates/cxx/macro/src/
Dload.rs77 let ref root: Node = match serde_json::from_slice(ast_dump_bytes) { in load()
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs20851 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)
/third_party/rust/crates/nix/
DCHANGELOG.md255 - Replaced `IoVec` with `IoSlice` and `IoSliceMut`, and replaced `IoVec::from_slice` with