Searched refs:RandInt (Results 1 – 4 of 4) sorted by relevance
122 EXPECT_EQ(prng.RandInt(1), 0u, "RandInt(1) must equal 0"); in prng_randint()128 EXPECT_LT(prng.RandInt(bound), bound, "RandInt(2^i) must be less than 2^i"); in prng_randint()134 high_bit |= !!(prng.RandInt(UINT64_MAX) & (1ull << 63)); in prng_randint()
115 uint64_t PRNG::RandInt(uint64_t exclusive_upper_bound) { in RandInt() function in crypto::PRNG
55 uint64_t RandInt(uint64_t exclusive_upper_bound) TA_EXCL(spinlock_);
947 size_t selected_index = aspace_->AslrPrng().RandInt(candidate_spaces); in NonCompactRandomizedRegionAllocatorLocked()
Completed in 8 milliseconds