Searched refs:Random (Results 1 – 6 of 6) sorted by relevance
311 void ShuffleRange(internal::Random* random, int begin, int end, in ShuffleRange()332 inline void Shuffle(internal::Random* random, std::vector<E>* v) { in Shuffle()795 internal::Random* random() { return &random_; } in random()902 internal::Random random_;
287 UInt32 Random::Generate(UInt32 range) { in Generate()2437 void TestCase::ShuffleTests(internal::Random* random) { in ShuffleTests()
665 class GTEST_API_ Random {669 explicit Random(UInt32 seed) : state_(seed) {} in Random() function679 GTEST_DISALLOW_COPY_AND_ASSIGN_(Random);
729 testing::internal::Random random(42); in TEST()734 random.Generate(testing::internal::Random::kMaxRange + 1), in TEST()741 testing::internal::Random random(12345); in TEST()746 testing::internal::Random random2(testing::internal::Random::kMaxRange); in TEST()758 testing::internal::Random random(kSeed); in TEST()830 testing::internal::Random random(1); in TEST()901 testing::internal::Random random_;
1087 Random random_;
868 void ShuffleTests(internal::Random* random);