Home
last modified time | relevance | path

Searched refs:RandGenerator (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/base/
Drand_util.cc32 static_cast<int>(min + static_cast<int64_t>(base::RandGenerator(range))); in RandInt()
58 uint64_t RandGenerator(uint64_t range) { in RandGenerator() function
Drand_util_unittest.cc76 EXPECT_EQ(base::RandGenerator(1), 0U); in TEST()
104 uint64_t value = base::RandGenerator(kTopOfRange); in TEST()
Drand_util.h26 BASE_EXPORT uint64_t RandGenerator(uint64_t range);