/external/rust/crates/rand_xorshift/tests/ |
D | mod.rs | 9 assert_eq!(rng1.next_u64(), 4325440999699518727); in test_xorshift_construction() 13 assert_eq!(rng1.next_u64(), 15614385950550801700); in test_xorshift_construction() 14 assert_eq!(rng2.next_u64(), 15614385950550801700); in test_xorshift_construction() 30 for i in results.iter_mut() { *i = rng.next_u64(); } in test_xorshift_true_values() 52 let a = rng.next_u64(); in test_xorshift_zero_seed() 53 let b = rng.next_u64(); in test_xorshift_zero_seed() 64 assert_eq!(rng1.next_u64(), rng2.next_u64()); in test_xorshift_clone() 87 assert_eq!(rng.next_u64(), deserialized.next_u64()); in test_xorshift_serde()
|
/external/rust/crates/rand_core/src/ |
D | os.rs | 57 fn next_u64(&mut self) -> u64 { in next_u64() method 75 let x = OsRng.next_u64(); in test_os_rng() 76 let y = OsRng.next_u64(); in test_os_rng() 84 assert!(rng.next_u64() != 0); in test_construction()
|
D | lib.rs | 155 fn next_u64(&mut self) -> u64; in next_u64() method 431 fn next_u64(&mut self) -> u64 { in next_u64() method 432 (**self).next_u64() in next_u64() 457 fn next_u64(&mut self) -> u64 { in next_u64() method 458 (**self).next_u64() in next_u64()
|
D | block.rs | 197 fn next_u64(&mut self) -> u64 { in next_u64() function 373 fn next_u64(&mut self) -> u64 { in next_u64() function 472 (&mut a[4..12]).copy_from_slice(&rng1.next_u64().to_le_bytes()); in blockrng_next_u32_vs_next_u64() 478 (&mut b[8..]).copy_from_slice(&rng2.next_u64().to_le_bytes()); in blockrng_next_u32_vs_next_u64() 482 (&mut c[..8]).copy_from_slice(&rng3.next_u64().to_le_bytes()); in blockrng_next_u32_vs_next_u64() 522 (&mut a[4..12]).copy_from_slice(&rng1.next_u64().to_le_bytes()); in blockrng64_next_u32_vs_next_u64() 528 (&mut b[8..]).copy_from_slice(&rng2.next_u64().to_le_bytes()); in blockrng64_next_u32_vs_next_u64() 534 (&mut c[..8]).copy_from_slice(&rng3.next_u64().to_le_bytes()); in blockrng64_next_u32_vs_next_u64()
|
D | impls.rs | 42 let chunk: [u8; 8] = rng.next_u64().to_le_bytes(); in fill_bytes_via_next() 47 let chunk: [u8; 8] = rng.next_u64().to_le_bytes(); in fill_bytes_via_next()
|
/external/rust/crates/rand/src/rngs/ |
D | std.rs | 43 fn next_u64(&mut self) -> u64 { in next_u64() method 44 self.0.next_u64() in next_u64() 91 let x0 = rng0.next_u64(); in test_stdrng_construction() 94 let x1 = rng1.next_u64(); in test_stdrng_construction()
|
D | xoshiro256plusplus.rs | 66 (self.next_u64() >> 32) as u32 in next_u32() 70 fn next_u64(&mut self) -> u64 { in next_u64() method 119 assert_eq!(rng.next_u64(), e); in reference()
|
D | small.rs | 90 fn next_u64(&mut self) -> u64 { in next_u64() method 91 self.0.next_u64() in next_u64()
|
D | mock.rs | 51 self.next_u64() as u32 in next_u32() 55 fn next_u64(&mut self) -> u64 { in next_u64() method
|
D | thread.rs | 109 fn next_u64(&mut self) -> u64 { in next_u64() method 113 rng.next_u64() in next_u64()
|
D | xoshiro128plusplus.rs | 84 fn next_u64(&mut self) -> u64 { in next_u64() method
|
/external/rust/crates/num-bigint/benches/rng/ |
D | mod.rs | 16 self.next_u64() as u32 in next_u32() 19 fn next_u64(&mut self) -> u64 { in next_u64() method 29 let bytes = self.next_u64().to_le_bytes(); in fill_bytes()
|
/external/rust/crates/rand/src/rngs/adapter/ |
D | read.rs | 55 fn next_u64(&mut self) -> u64 { in next_u64() method 113 assert_eq!(rng.next_u64(), 1 << 56); in test_reader_rng_u64() 114 assert_eq!(rng.next_u64(), (2 << 56) + (3 << 32) + (4 << 8)); in test_reader_rng_u64() 115 assert_eq!(rng.next_u64(), 5); in test_reader_rng_u64()
|
D | reseeding.rs | 124 fn next_u64(&mut self) -> u64 { in next_u64() function 125 self.0.next_u64() in next_u64()
|
/external/crosvm/common/cros-fuzz/src/ |
D | rand.rs | 43 fn next_u64(&mut self) -> u64 { in next_u64() method 101 assert_eq!(rng.next_u64(), val); in gen_u64() 102 assert_eq!(rng.next_u64(), 0); in gen_u64()
|
/external/rust/crates/rand/src/distributions/ |
D | integer.rs | 45 rng.next_u64() in sample() 53 let x = u128::from(rng.next_u64()); in sample() 54 let y = u128::from(rng.next_u64()); in sample() 69 rng.next_u64() as usize in sample()
|
/external/rust/beto-rust/nearby/crypto/rand_core_05_adapter/src/ |
D | lib.rs | 44 fn next_u64(&mut self) -> u64 { in next_u64() method 45 self.rng.next_u64() in next_u64()
|
/external/rust/crates/rand_chacha/src/ |
D | chacha.rs | 170 fn next_u64(&mut self) -> u64 { 171 self.rng.next_u64() 513 rng2.next_u64(); in test_chacha_true_values_c() 516 rng2.next_u64(); in test_chacha_true_values_c() 592 assert_eq!(rng.next_u64(), clone.next_u64()); in test_chacha_clone_streams()
|
/external/rust/crates/oorandom/src/ |
D | lib.rs | 303 assert_eq!(r1.rand_u64(), r2.next_u64()); in test_rand64_vs_randomize() 304 assert_eq!(r1.rand_i64(), r2.next_u64() as i64); in test_rand64_vs_randomize() 314 assert_eq!(r1.rand_u64(), r2.next_u64()); in test_rand64_vs_randomize() 315 assert_eq!(r1.rand_i64(), r2.next_u64() as i64); in test_rand64_vs_randomize() 376 let i2 = r2.next_u64(); in test_float64()
|
/external/rust/beto-rust/nearby/presence/ldt_np_adv_ffi/src/ |
D | handle_map.rs | 106 let mut handle: u64 = rng.next_u64(); in insert() 109 handle = rng.next_u64(); in insert()
|
/external/rust/beto-rust/nearby/crypto/crypto_provider_rustcrypto/src/ |
D | lib.rs | 109 fn next_u64(&mut self) -> u64 { in next_u64() method 110 self.0.next_u64() in next_u64()
|
D | testing.rs | 41 fn next_u64(&mut self) -> u64 { in next_u64() method
|
/external/rust/beto-rust/nearby/crypto/crypto_provider/src/ |
D | lib.rs | 91 fn next_u64(&mut self) -> u64; in next_u64() method 108 fn next_u64(&mut self) -> u64 { in next_u64() method
|
/external/rust/beto-rust/nearby/crypto/crypto_provider_boringssl/src/ |
D | lib.rs | 74 fn next_u64(&mut self) -> u64 { in next_u64() method
|
/external/rust/beto-rust/nearby/crypto/crypto_provider_openssl/src/ |
D | lib.rs | 97 fn next_u64(&mut self) -> u64 { in next_u64() method
|