Home
last modified time | relevance | path

Searched refs:RandInt (Results 1 – 4 of 4) sorted by relevance

/kernel/lib/crypto/
A Dprng_unittest.cpp122 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()
A Dprng.cpp115 uint64_t PRNG::RandInt(uint64_t exclusive_upper_bound) { in RandInt() function in crypto::PRNG
/kernel/lib/crypto/include/lib/crypto/
A Dprng.h55 uint64_t RandInt(uint64_t exclusive_upper_bound) TA_EXCL(spinlock_);
/kernel/vm/
A Dvm_address_region.cpp947 size_t selected_index = aspace_->AslrPrng().RandInt(candidate_spaces); in NonCompactRandomizedRegionAllocatorLocked()

Completed in 8 milliseconds