/external/rust/crates/rand_chacha/src/ |
D | chacha.rs | 166 fn next_u32(&mut self) -> u32 { 167 self.rng.next_u32() 286 assert_eq!(rng1.next_u32(), 137206642); in test_chacha_construction() 289 assert_eq!(rng2.next_u32(), 1325750369); in test_chacha_construction() 301 *i = rng.next_u32(); in test_chacha_true_values_a() 311 *i = rng.next_u32(); in test_chacha_true_values_a() 333 rng.next_u32(); in test_chacha_true_values_b() 338 *i = rng.next_u32(); in test_chacha_true_values_b() 367 rng1.next_u32(); in test_chacha_true_values_c() 370 *i = rng1.next_u32(); in test_chacha_true_values_c() [all …]
|
/external/rust/crates/rand/src/rngs/adapter/ |
D | read.rs | 59 fn next_u32(&mut self) -> u32 { in next_u32() method 130 assert_eq!(rng.next_u32(), 1 << 24); in test_reader_rng_u32() 131 assert_eq!(rng.next_u32(), 2 << 16); in test_reader_rng_u32() 132 assert_eq!(rng.next_u32(), 3); in test_reader_rng_u32()
|
D | reseeding.rs | 113 fn next_u32(&mut self) -> u32 { in next_u32() function 114 self.0.next_u32() in next_u32()
|
/external/rust/crates/rand_core/src/ |
D | lib.rs | 143 fn next_u32(&mut self) -> u32; in next_u32() method 392 fn next_u32(&mut self) -> u32 { in next_u32() method 393 (**self).next_u32() in next_u32() 418 fn next_u32(&mut self) -> u32 { in next_u32() method 419 (**self).next_u32() in next_u32()
|
D | impls.rs | 26 let x = u64::from(rng.next_u32()); in next_u64_via_u32() 27 let y = u64::from(rng.next_u32()); in next_u64_via_u32() 50 let chunk: [u8; 4] = rng.next_u32().to_le_bytes(); in fill_bytes_via_next()
|
D | os.rs | 53 fn next_u32(&mut self) -> u32 { in next_u32() method
|
D | block.rs | 180 fn next_u32(&mut self) -> u32 { in next_u32() function 348 fn next_u32(&mut self) -> u32 { in next_u32() function
|
/external/rust/crates/oorandom/src/ |
D | lib.rs | 277 assert_eq!(r1.rand_u32(), r2.next_u32()); in test_rand32_vs_randomize() 278 assert_eq!(r1.rand_i32(), r2.next_u32() as i32); in test_rand32_vs_randomize() 288 assert_eq!(r1.rand_u32(), r2.next_u32()); in test_rand32_vs_randomize() 289 assert_eq!(r1.rand_i32(), r2.next_u32() as i32); in test_rand32_vs_randomize() 330 let i2 = r2.next_u32(); in test_float32() 463 assert_eq!(r1.rand_u32(), r2.next_u32()); in test_rand32_vs_rand() 473 assert_eq!(r1.rand_u32(), r2.next_u32()); in test_rand32_vs_rand()
|
/external/rust/crates/rand/src/rngs/ |
D | small.rs | 85 fn next_u32(&mut self) -> u32 { in next_u32() method 86 self.0.next_u32() in next_u32()
|
D | std.rs | 42 fn next_u32(&mut self) -> u32 { in next_u32() method 43 self.0.next_u32() in next_u32()
|
D | thread.rs | 100 fn next_u32(&mut self) -> u32 { in next_u32() method 104 rng.next_u32() in next_u32()
|
D | xoshiro128plusplus.rs | 63 fn next_u32(&mut self) -> u32 { in next_u32() method 115 assert_eq!(rng.next_u32(), e); in reference()
|
D | mock.rs | 50 fn next_u32(&mut self) -> u32 { in next_u32() method
|
D | xoshiro256plusplus.rs | 63 fn next_u32(&mut self) -> u32 { in next_u32() method
|
/external/rust/crates/rand/src/distributions/ |
D | integer.rs | 24 rng.next_u32() as u8 in sample() 31 rng.next_u32() as u16 in sample() 38 rng.next_u32() in sample() 64 rng.next_u32() as usize in sample()
|
D | other.rs | 96 let var = rng.next_u32() >> (32 - 6); in sample() 111 (rng.next_u32() as i32) < 0 in sample()
|
/external/rust/crates/rand/src/ |
D | rng.rs | 462 assert_eq!(rng.next_u32(), x as u32); in test_fill() 549 r.next_u32(); in test_rng_trait_object() 561 r.next_u32(); in test_rng_boxed_trait()
|
/external/rust/crates/rand_xorshift/tests/ |
D | mod.rs | 23 for i in results.iter_mut() { *i = rng.next_u32(); } in test_xorshift_true_values()
|
/external/rust/crates/rand_xorshift/src/ |
D | lib.rs | 52 fn next_u32(&mut self) -> u32 { in next_u32() method
|
/external/rust/crates/rand/ |
D | CHANGELOG.md | 30 - `ReadRng::next_u32` and `next_u64` now use little-Endian conversion instead 313 `next_u32`, `next_u64` and `fill_bytes` are now part of `RngCore`. (#265) 351 - `Isaac64Rng::next_u32` no longer throws away half the results. (#209)
|