Home
last modified time | relevance | path

Searched refs:try_fill_bytes (Results 1 – 16 of 16) sorted by relevance

/external/rust/crates/rand_core/src/
Dlib.rs179 fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error>; in try_fill_bytes() method
358 rng.try_fill_bytes(seed.as_mut())?; in from_rng()
407 fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> { in try_fill_bytes() method
408 (**self).try_fill_bytes(dest) in try_fill_bytes()
433 fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> { in try_fill_bytes() method
434 (**self).try_fill_bytes(dest) in try_fill_bytes()
441 self.try_fill_bytes(buf)?; in read()
Dos.rs62 if let Err(e) = self.try_fill_bytes(dest) { in fill_bytes()
67 fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> { in try_fill_bytes() method
Dblock.rs231 fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> { in try_fill_bytes() function
406 fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> { in try_fill_bytes() function
/external/rust/crates/rand/src/rngs/adapter/
Dread.rs68 self.try_fill_bytes(dest).unwrap_or_else(|err| { in fill_bytes()
76 fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> { in try_fill_bytes() method
153 let result = rng.try_fill_bytes(&mut w); in test_reader_rng_insufficient_bytes()
Dreseeding.rs126 fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> { in try_fill_bytes() function
127 self.0.try_fill_bytes(dest) in try_fill_bytes()
/external/rust/crates/rand/src/rngs/
Dsmall.rs100 fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> { in try_fill_bytes() method
101 self.0.try_fill_bytes(dest) in try_fill_bytes()
Dstd.rs57 fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> { in try_fill_bytes() method
58 self.0.try_fill_bytes(dest) in try_fill_bytes()
Dthread.rs122 fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> { in try_fill_bytes() method
126 rng.try_fill_bytes(dest) in try_fill_bytes()
Dmock.rs67 fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> { in try_fill_bytes() method
Dxoshiro256plusplus.rs96 fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> { in try_fill_bytes() method
Dxoshiro128plusplus.rs94 fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> { in try_fill_bytes() method
/external/rust/crates/rand_xorshift/src/
Dlib.rs73 fn try_fill_bytes(&mut self, dest: &mut [u8]) -> Result<(), Error> { in try_fill_bytes() method
104 rng.try_fill_bytes(&mut b[..])?; in from_rng()
/external/rust/crates/rand/src/
Drng.rs339 rng.try_fill_bytes(self) in try_fill()
350 rng.try_fill_bytes(unsafe {
368 rng.try_fill_bytes(unsafe {
/external/rust/crates/rand_chacha/src/
Dchacha.rs178 fn try_fill_bytes(&mut self, bytes: &mut [u8]) -> Result<(), Error> {
179 self.rng.try_fill_bytes(bytes)
/external/rust/crates/rand_core/
DCHANGELOG.md78 - Add `RngCore::try_fill_bytes`. (#225)
/external/rust/crates/rand/
DCHANGELOG.md332 - Add `RngCore::try_fill_bytes`. (#225)