Home
last modified time | relevance | path

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

/ndk/sources/third_party/googletest/googletest/test/
Dgtest_unittest.cc850 VectorShuffleTest() : random_(1) { in VectorShuffleTest()
901 testing::internal::Random random_; member in __anon281977af0111::VectorShuffleTest
909 ShuffleRange(&random_, 0, 0, &vector_); in TEST_F()
914 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2, &vector_); in TEST_F()
919 ShuffleRange(&random_, kVectorSize - 1, kVectorSize - 1, &vector_); in TEST_F()
924 ShuffleRange(&random_, kVectorSize, kVectorSize, &vector_); in TEST_F()
931 ShuffleRange(&random_, 0, 1, &vector_); in TEST_F()
936 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2 + 1, &vector_); in TEST_F()
941 ShuffleRange(&random_, kVectorSize - 1, kVectorSize, &vector_); in TEST_F()
950 Shuffle(&random_, &vector_); in TEST_F()
[all …]
Dgtest-port_test.cc1059 value_(0), mutex_(mutex), random_(42) {} in AtomicCounterWithMutex()
1075 SleepMilliseconds(random_.Generate(30)); in Increment()
1087 Random random_; member in testing::internal::AtomicCounterWithMutex
/ndk/sources/third_party/googletest/googletest/src/
Dgtest-internal-inl.h795 internal::Random* random() { return &random_; } in random()
902 internal::Random random_; variable
Dgtest.cc3928 random_(0), // Will be reseeded before first use. in UnitTestImpl()