Home
last modified time | relevance | path

Searched refs:from_slice (Results 1 - 8 of 8) sorted by relevance

/third_party/rust/crates/rustix/tests/io/
H A 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/rustix/src/backend/linux_raw/io/
H A Dtypes.rs108 pub fn from_slice(buf: &'a [u8]) -> Self { in from_slice() functions
/third_party/rust/crates/cxx/macro/src/
H A Dload.rs77 let ref root: Node = match serde_json::from_slice(ast_dump_bytes) { in load()
/third_party/rust/crates/rustix/src/backend/libc/io/
H A Dtypes.rs139 pub fn from_slice(buf: &'a [u8]) -> Self { in from_slice() functions
/third_party/rust/crates/nix/src/sys/
H A Duio.rs186 pub fn from_slice(buf: &'a [u8]) -> IoVec<&'a [u8]> { in from_slice() functions
/third_party/rust/crates/rust-openssl/openssl/src/
H A Ddsa.rs418 /// let r = BigNum::from_slice(&signature.r().to_vec()).unwrap();
419 /// let s = BigNum::from_slice(&signature.s().to_vec()).unwrap();
668 let r = BigNum::from_slice(&signature.r().to_vec()).unwrap(); in test_signature_der()
669 let s = BigNum::from_slice(&signature.s().to_vec()).unwrap(); in test_signature_der()
H A Dbn.rs808 /// `self` can be recreated by using `from_slice`.
816 /// assert_eq!(BigNum::from_slice(&s_vec).unwrap(), r);
834 /// `self` can be recreated by using `from_slice`.
1104 /// let bignum = BigNum::from_slice(&[0x12, 0x00, 0x34]).unwrap();
1109 pub fn from_slice(n: &[u8]) -> Result<BigNum, ErrorStack> { in from_slice() functions
1409 let v1 = BigNum::from_slice(&vec).unwrap(); in test_to_from_slice()
/third_party/rust/crates/memchr/bench/data/code/
H A Drust-library.rs20851 fn from_slice(slice: &[T]) -> Self; in from_slice() functions
20856 default fn from_slice(v: &[T]) -> Self {
20863 fn from_slice(v: &[T]) -> Self { in from_slice() functions
21229 <Self as RcFromSlice<T>>::from_slice(v) in from()
24503 fn from_slice(slice: &[T]) -> Self; in from_slice() functions
24508 default fn from_slice(v: &[T]) -> Self {
24515 fn from_slice(v: &[T]) -> Self { in from_slice() functions
25570 <Self as ArcFromSlice<T>>::from_slice(v) in from()
[all...]

Completed in 46 milliseconds