Searched refs:random_ (Results 1 – 4 of 4) sorted by relevance
/ndk/sources/third_party/googletest/googletest/test/ |
D | gtest_unittest.cc | 850 VectorShuffleTest() : random_(1) { in VectorShuffleTest() 901 testing::internal::Random random_; member in __anoncff51c580111::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 …]
|
D | gtest-port_test.cc | 1059 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/ |
D | gtest-internal-inl.h | 795 internal::Random* random() { return &random_; } in random() 902 internal::Random random_; variable
|
D | gtest.cc | 3928 random_(0), // Will be reseeded before first use. in UnitTestImpl()
|