Home
last modified time | relevance | path

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

/external/chromium/base/metrics/
Dfield_trial.cc40 random_(static_cast<Probability>(divisor_ * base::RandDouble())), in FieldTrial()
79 if (group_ == kNotFinalized && accumulated_group_probability_ > random_) { in AppendGroup()
Dfield_trial.h184 const Probability random_; variable
/external/gtest/test/
Dgtest_unittest.cc667 VectorShuffleTest() : random_(1) { in VectorShuffleTest()
718 testing::internal::Random random_; member in __anon629ec1d40111::VectorShuffleTest
726 ShuffleRange(&random_, 0, 0, &vector_); in TEST_F()
731 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2, &vector_); in TEST_F()
736 ShuffleRange(&random_, kVectorSize - 1, kVectorSize - 1, &vector_); in TEST_F()
741 ShuffleRange(&random_, kVectorSize, kVectorSize, &vector_); in TEST_F()
748 ShuffleRange(&random_, 0, 1, &vector_); in TEST_F()
753 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2 + 1, &vector_); in TEST_F()
758 ShuffleRange(&random_, kVectorSize - 1, kVectorSize, &vector_); in TEST_F()
767 Shuffle(&random_, &vector_); in TEST_F()
[all …]
Dgtest-port_test.cc1016 value_(0), mutex_(mutex), random_(42) {} in AtomicCounterWithMutex()
1032 SleepMilliseconds(random_.Generate(30)); in Increment()
1043 Random random_; member in testing::internal::AtomicCounterWithMutex
/external/protobuf/gtest/test/
Dgtest_unittest.cc890 VectorShuffleTest() : random_(1) { in VectorShuffleTest()
941 testing::internal::Random random_; member in __anond6939ad40111::VectorShuffleTest
949 vector_.ShuffleRange(&random_, 0, 0); in TEST_F()
954 vector_.ShuffleRange(&random_, kVectorSize/2, kVectorSize/2); in TEST_F()
959 vector_.ShuffleRange(&random_, kVectorSize - 1, kVectorSize - 1); in TEST_F()
964 vector_.ShuffleRange(&random_, kVectorSize, kVectorSize); in TEST_F()
971 vector_.ShuffleRange(&random_, 0, 1); in TEST_F()
976 vector_.ShuffleRange(&random_, kVectorSize/2, kVectorSize/2 + 1); in TEST_F()
981 vector_.ShuffleRange(&random_, kVectorSize - 1, kVectorSize); in TEST_F()
990 vector_.Shuffle(&random_); in TEST_F()
[all …]
/external/chromium/testing/gtest/test/
Dgtest_unittest.cc667 VectorShuffleTest() : random_(1) { in VectorShuffleTest()
718 testing::internal::Random random_; member in __anon9a2914b40111::VectorShuffleTest
726 ShuffleRange(&random_, 0, 0, &vector_); in TEST_F()
731 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2, &vector_); in TEST_F()
736 ShuffleRange(&random_, kVectorSize - 1, kVectorSize - 1, &vector_); in TEST_F()
741 ShuffleRange(&random_, kVectorSize, kVectorSize, &vector_); in TEST_F()
748 ShuffleRange(&random_, 0, 1, &vector_); in TEST_F()
753 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2 + 1, &vector_); in TEST_F()
758 ShuffleRange(&random_, kVectorSize - 1, kVectorSize, &vector_); in TEST_F()
767 Shuffle(&random_, &vector_); in TEST_F()
[all …]
Dgtest-port_test.cc996 value_(0), mutex_(mutex), random_(42) {} in AtomicCounterWithMutex()
1012 SleepMilliseconds(random_.Generate(30)); in Increment()
1023 Random random_; member in testing::internal::AtomicCounterWithMutex
/external/llvm/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal-inl.h774 internal::Random* random() { return &random_; } in random()
881 internal::Random random_; variable
/external/gtest/src/
Dgtest-internal-inl.h774 internal::Random* random() { return &random_; } in random()
881 internal::Random random_; variable
Dgtest.cc3967 random_(0), // Will be reseeded before first use. in UnitTestImpl()
/external/chromium/testing/gtest/src/
Dgtest-internal-inl.h767 internal::Random* random() { return &random_; } in random()
874 internal::Random random_; variable
Dgtest.cc3967 random_(0), // Will be reseeded before first use. in UnitTestImpl()
/external/protobuf/gtest/src/
Dgtest-internal-inl.h1006 internal::Random* random() { return &random_; } in random()
1107 internal::Random random_; variable
Dgtest.cc3757 random_(0), // Will be reseeded before first use. in UnitTestImpl()
/external/llvm/utils/unittest/googletest/
Dgtest.cc3935 random_(0), // Will be reseeded before first use. in UnitTestImpl()