Home
last modified time | relevance | path

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

/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/protobuf/gtest/test/
Dgtest_unittest.cc634 VectorShuffleTest() : random_(1) { in VectorShuffleTest()
685 testing::internal::Random random_; member in __anonca9e36500111::VectorShuffleTest
693 ShuffleRange(&random_, 0, 0, &vector_); in TEST_F()
698 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2, &vector_); in TEST_F()
703 ShuffleRange(&random_, kVectorSize - 1, kVectorSize - 1, &vector_); in TEST_F()
708 ShuffleRange(&random_, kVectorSize, kVectorSize, &vector_); in TEST_F()
715 ShuffleRange(&random_, 0, 1, &vector_); in TEST_F()
720 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2 + 1, &vector_); in TEST_F()
725 ShuffleRange(&random_, kVectorSize - 1, kVectorSize, &vector_); in TEST_F()
734 Shuffle(&random_, &vector_); in TEST_F()
[all …]
Dgtest-port_test.cc828 value_(0), mutex_(mutex), random_(42) {} in AtomicCounterWithMutex()
844 SleepMilliseconds(random_.Generate(30)); in Increment()
855 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 __anona8d7a1d00111::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/google-breakpad/src/testing/gtest/test/
Dgtest_unittest.cc768 VectorShuffleTest() : random_(1) { in VectorShuffleTest()
819 testing::internal::Random random_; member in __anona73f14e70111::VectorShuffleTest
827 ShuffleRange(&random_, 0, 0, &vector_); in TEST_F()
832 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2, &vector_); in TEST_F()
837 ShuffleRange(&random_, kVectorSize - 1, kVectorSize - 1, &vector_); in TEST_F()
842 ShuffleRange(&random_, kVectorSize, kVectorSize, &vector_); in TEST_F()
849 ShuffleRange(&random_, 0, 1, &vector_); in TEST_F()
854 ShuffleRange(&random_, kVectorSize/2, kVectorSize/2 + 1, &vector_); in TEST_F()
859 ShuffleRange(&random_, kVectorSize - 1, kVectorSize, &vector_); in TEST_F()
868 Shuffle(&random_, &vector_); in TEST_F()
[all …]
Dgtest-port_test.cc1021 value_(0), mutex_(mutex), random_(42) {} in AtomicCounterWithMutex()
1037 SleepMilliseconds(random_.Generate(30)); in Increment()
1049 Random random_; member in testing::internal::AtomicCounterWithMutex
/external/llvm/utils/unittest/googletest/src/
Dgtest-internal-inl.h773 internal::Random* random() { return &random_; } in random()
880 internal::Random random_; variable
Dgtest.cc3937 random_(0), // Will be reseeded before first use. in UnitTestImpl()
/external/google-breakpad/src/testing/gtest/src/
Dgtest-internal-inl.h788 internal::Random* random() { return &random_; } in random()
895 internal::Random random_; variable
Dgtest.cc3997 random_(0), // Will be reseeded before first use. in UnitTestImpl()
/external/mesa3d/src/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/protobuf/gtest/src/
Dgtest-internal-inl.h832 internal::Random* random() { return &random_; } in random()
931 internal::Random random_; variable
Dgtest.cc3781 random_(0), // Will be reseeded before first use. in UnitTestImpl()
/external/gtest/src/
Dgtest-internal-inl.h801 internal::Random* random() { return &random_; } in random()
908 internal::Random random_; variable
Dgtest.cc4022 random_(0), // Will be reseeded before first use. in UnitTestImpl()
/external/protobuf/gtest/fused-src/gtest/
Dgtest-all.cc1226 internal::Random* random() { return &random_; } in random()
1325 internal::Random random_; member in testing::internal::UnitTestImpl
5121 random_(0), // Will be reseeded before first use. in UnitTestImpl()
/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()