Home
last modified time | relevance | path

Searched refs:fill_bytes (Results 1 – 23 of 23) sorted by relevance

/external/rust/crates/rand_core/src/
Dlib.rs166 fn fill_bytes(&mut self, dest: &mut [u8]); in fill_bytes() method
402 fn fill_bytes(&mut self, dest: &mut [u8]) { in fill_bytes() method
403 (**self).fill_bytes(dest) in fill_bytes()
428 fn fill_bytes(&mut self, dest: &mut [u8]) { in fill_bytes() method
429 (**self).fill_bytes(dest) in fill_bytes()
Dblock.rs216 fn fill_bytes(&mut self, dest: &mut [u8]) { in fill_bytes() function
232 self.fill_bytes(dest); in try_fill_bytes()
386 fn fill_bytes(&mut self, dest: &mut [u8]) { in fill_bytes() function
407 self.fill_bytes(dest); in try_fill_bytes()
Dimpls.rs138 rng.fill_bytes(&mut buf); in next_u32_via_fill()
145 rng.fill_bytes(&mut buf); in next_u64_via_fill()
Dos.rs61 fn fill_bytes(&mut self, dest: &mut [u8]) { in fill_bytes() method
/external/crosvm/fuzz/
Dvirtqueue_fuzzer.rs82 rng.fill_bytes(&mut buf[..]);
89 rng.fill_bytes(&mut buf[..]);
96 rng.fill_bytes(&mut buf[..]);
/external/rust/crates/rand_chacha/src/
Dchacha.rs174 fn fill_bytes(&mut self, bytes: &mut [u8]) {
175 self.rng.fill_bytes(bytes)
386 rng2.fill_bytes(&mut buf[..]); in test_chacha_true_values_c()
388 rng2.fill_bytes(&mut buf[0..25]); in test_chacha_true_values_c()
395 rng2.fill_bytes(&mut buf[0..1]); in test_chacha_true_values_c()
429 rng.fill_bytes(&mut results); in test_chacha_true_bytes()
/external/rust/crates/rand/src/rngs/
Dsmall.rs95 fn fill_bytes(&mut self, dest: &mut [u8]) { in fill_bytes() method
96 self.0.fill_bytes(dest); in fill_bytes()
Dmock.rs62 fn fill_bytes(&mut self, dest: &mut [u8]) { in fill_bytes() method
68 self.fill_bytes(dest); in try_fill_bytes()
Dthread.rs115 fn fill_bytes(&mut self, dest: &mut [u8]) { in fill_bytes() method
119 rng.fill_bytes(dest) in fill_bytes()
Dstd.rs52 fn fill_bytes(&mut self, dest: &mut [u8]) { in fill_bytes() method
53 self.0.fill_bytes(dest); in fill_bytes()
Dxoshiro256plusplus.rs91 fn fill_bytes(&mut self, dest: &mut [u8]) { in fill_bytes() method
97 self.fill_bytes(dest); in try_fill_bytes()
Dxoshiro128plusplus.rs89 fn fill_bytes(&mut self, dest: &mut [u8]) { in fill_bytes() method
95 self.fill_bytes(dest); in try_fill_bytes()
/external/rust/crates/rand/src/rngs/adapter/
Dread.rs67 fn fill_bytes(&mut self, dest: &mut [u8]) { in fill_bytes() method
141 rng.fill_bytes(&mut w); in test_reader_rng_fill_bytes()
Dreseeding.rs122 fn fill_bytes(&mut self, dest: &mut [u8]) { in fill_bytes() function
123 self.0.fill_bytes(dest) in fill_bytes()
/external/crosvm/disk/src/
Dandroid_sparse.rs133 let mut fill_bytes = vec![0u8; fill_size as usize]; in parse_chunk() localVariable
135 .read_exact(&mut fill_bytes) in parse_chunk()
137 Chunk::Fill(fill_bytes) in parse_chunk()
311 Chunk::Fill(fill_bytes) => { in read_at_volatile()
312 let chunk_offset_mod = chunk_offset % fill_bytes.len() as u64; in read_at_volatile()
313 let filled_memory: Vec<u8> = fill_bytes in read_at_volatile()
/external/rust/crates/rand_xorshift/src/
Dlib.rs69 fn fill_bytes(&mut self, dest: &mut [u8]) { in fill_bytes() method
74 self.fill_bytes(dest); in try_fill_bytes()
/external/rust/crates/vsock/tests/
Dvsock.rs40 rng.fill_bytes(&mut blob); in test_vsock()
/external/rust/crates/zip/benches/
Dread_entry.rs17 rand::thread_rng().fill_bytes(&mut bytes); in generate_random_archive()
/external/rust/crates/rand_xorshift/tests/
Dmod.rs38 rng.fill_bytes(&mut results); in test_xorshift_true_values()
/external/rust/crates/rand_core/
DCHANGELOG.md81 - Remove default implementations for `RngCore::next_u64` and `RngCore::fill_bytes`. (#288)
/external/rust/crates/rand/
DCHANGELOG.md296 - Linux, NetBSD, Solaris: read in blocking mode on first use in `fill_bytes`. (#484)
313 `next_u32`, `next_u64` and `fill_bytes` are now part of `RngCore`. (#265)
331 - Remove default implementations for `RngCore::next_u64` and `RngCore::fill_bytes`. (#288)
467 - Fix filling buffers 4 GiB or larger with `OsRng::fill_bytes` on Windows
/external/rust/crates/rand/src/distributions/
Dinteger.rs137 rng.fill_bytes(b_ptr);
/external/rust/crates/rand/src/
Drng.rs436 r.fill_bytes(v); in test_fill_bytes_default()