Home
last modified time | relevance | path

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

12

/external/chromium_org/third_party/libvpx/source/libvpx/test/
Dacm_random.h22 ACMRandom() : random_(DeterministicSeed()) {} in ACMRandom()
24 explicit ACMRandom(int seed) : random_(seed) {} in ACMRandom()
27 random_.Reseed(seed); in Reset()
31 random_.Generate(testing::internal::Random::kMaxRange); in Rand16()
37 random_.Generate(testing::internal::Random::kMaxRange); in Rand8()
50 return random_.Generate(range); in PseudoUniform()
62 testing::internal::Random random_;
/external/libvpx/libvpx/test/
Dacm_random.h22 ACMRandom() : random_(DeterministicSeed()) {} in ACMRandom()
24 explicit ACMRandom(int seed) : random_(seed) {} in ACMRandom()
27 random_.Reseed(seed); in Reset()
31 random_.Generate(testing::internal::Random::kMaxRange); in Rand16()
37 random_.Generate(testing::internal::Random::kMaxRange); in Rand8()
50 return random_.Generate(range); in PseudoUniform()
62 testing::internal::Random random_;
/external/regex-re2/re2/testing/
Dstring_generator.cc19 random_(false), nrandom_(0), acm_(NULL) { in StringGenerator()
37 random_ = false; in Reset()
90 hasnext_ = random_ ? RandomDigits() : IncrementDigits(); in Next()
102 random_ = true; in Random()
Dstring_generator.h50 bool random_; // Whether generated strings are random. variable
/external/chromium_org/third_party/re2/re2/testing/
Dstring_generator.cc19 random_(false), nrandom_(0), acm_(NULL) { in StringGenerator()
37 random_ = false; in Reset()
90 hasnext_ = random_ ? RandomDigits() : IncrementDigits(); in Next()
102 random_ = true; in Random()
Dstring_generator.h50 bool random_; // Whether generated strings are random. variable
/external/chromium_org/third_party/webrtc/modules/remote_bitrate_estimator/test/
Dbwe_test_framework.cc266 random_(0x12345678), in LossFilter()
281 if (random_.Rand() < loss_fraction_) { in RunFor()
313 random_(0x89674523), in JitterFilter()
330 new_send_time_us += random_.Gaussian(0, stddev_jitter_us_); in RunFor()
338 random_(0x27452389), in ReorderFilter()
356 if (random_.Rand() < reorder_fraction_) { in RunFor()
Dbwe_test_framework.h256 Random random_;
286 Random random_;
302 Random random_;
/external/chromium_org/net/quic/
Dquic_packet_creator.cc39 : random_(random), in QuicRandomBoolSource()
48 bit_bucket_ = random_->RandUint64(); in RandBool()
58 QuicRandom* random_; member in net::QuicRandomBoolSource
Dquic_client_session_test.cc84 MockRandom random_; member in net::test::__anon89cb11ff0111::QuicClientSessionTest
Dquic_packet_generator_test.cc109 generator_(42, &framer_, &random_, &delegate_), in QuicPacketGeneratorTest()
226 MockRandom random_; member in net::test::QuicPacketGeneratorTest
/external/chromium_org/testing/gtest/test/
Dgtest_unittest.cc834 VectorShuffleTest() : random_(1) { in VectorShuffleTest()
885 testing::internal::Random random_; member in __anon3a9d90ee0111::VectorShuffleTest
893 ShuffleRange(&random_, 0, 0, &vector_); in TEST_F()
898 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2, &vector_); in TEST_F()
903 ShuffleRange(&random_, kVectorSize - 1, kVectorSize - 1, &vector_); in TEST_F()
908 ShuffleRange(&random_, kVectorSize, kVectorSize, &vector_); in TEST_F()
915 ShuffleRange(&random_, 0, 1, &vector_); in TEST_F()
920 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2 + 1, &vector_); in TEST_F()
925 ShuffleRange(&random_, kVectorSize - 1, kVectorSize, &vector_); in TEST_F()
934 Shuffle(&random_, &vector_); in TEST_F()
[all …]
Dgtest-port_test.cc1059 value_(0), mutex_(mutex), random_(42) {} in AtomicCounterWithMutex()
1077 SleepMilliseconds(random_.Generate(30)); in Increment()
1085 SleepMilliseconds(random_.Generate(30)); in Increment()
1098 Random random_; member in testing::internal::AtomicCounterWithMutex
/external/gtest/test/
Dgtest_unittest.cc841 VectorShuffleTest() : random_(1) { in VectorShuffleTest()
892 testing::internal::Random random_; member in __anon1a644c070111::VectorShuffleTest
900 ShuffleRange(&random_, 0, 0, &vector_); in TEST_F()
905 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2, &vector_); in TEST_F()
910 ShuffleRange(&random_, kVectorSize - 1, kVectorSize - 1, &vector_); in TEST_F()
915 ShuffleRange(&random_, kVectorSize, kVectorSize, &vector_); in TEST_F()
922 ShuffleRange(&random_, 0, 1, &vector_); in TEST_F()
927 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2 + 1, &vector_); in TEST_F()
932 ShuffleRange(&random_, kVectorSize - 1, kVectorSize, &vector_); in TEST_F()
941 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
/external/protobuf/gtest/test/
Dgtest_unittest.cc890 VectorShuffleTest() : random_(1) { in VectorShuffleTest()
941 testing::internal::Random random_; member in __anon9c4f4e670111::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_org/base/metrics/
Dfield_trial.cc121 if (group_ == kNotFinalized && accumulated_group_probability_ > random_) { in AppendGroup()
176 random_(GetGroupBoundaryValue(total_probability, entropy_value)), in FieldTrial()
Dfield_trial.h249 Probability random_; variable
/external/llvm/utils/unittest/googletest/src/
Dgtest-internal-inl.h773 internal::Random* random() { return &random_; } in random()
880 internal::Random random_; variable
/external/mesa3d/src/gtest/src/
Dgtest-internal-inl.h774 internal::Random* random() { return &random_; } in random()
881 internal::Random random_; variable
/external/chromium_org/third_party/mesa/src/src/gtest/src/
Dgtest-internal-inl.h774 internal::Random* random() { return &random_; } in random()
881 internal::Random random_; variable
/external/chromium_org/testing/gtest/src/
Dgtest-internal-inl.h801 internal::Random* random() { return &random_; } in random()
908 internal::Random random_; variable
/external/gtest/src/
Dgtest-internal-inl.h801 internal::Random* random() { return &random_; } in random()
908 internal::Random random_; variable
/external/protobuf/gtest/src/
Dgtest-internal-inl.h1006 internal::Random* random() { return &random_; } in random()
1107 internal::Random random_; variable
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-all.cc1202 internal::Random* random() { return &random_; } in random()
1309 internal::Random random_; member in testing::internal::UnitTestImpl
5506 random_(0), // Will be reseeded before first use. in UnitTestImpl()

12