/external/libvpx/libvpx/test/ |
D | acm_random.h | 22 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/ |
D | string_generator.cc | 19 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()
|
D | string_generator.h | 50 bool random_; // Whether generated strings are random. variable
|
/external/protobuf/gtest/test/ |
D | gtest_unittest.cc | 634 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 …]
|
D | gtest-port_test.cc | 828 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/ |
D | gtest_unittest.cc | 841 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 …]
|
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
|
/external/google-breakpad/src/testing/gtest/test/ |
D | gtest_unittest.cc | 768 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 …]
|
D | gtest-port_test.cc | 1021 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/ |
D | gtest-internal-inl.h | 773 internal::Random* random() { return &random_; } in random() 880 internal::Random random_; variable
|
D | gtest.cc | 3937 random_(0), // Will be reseeded before first use. in UnitTestImpl()
|
/external/google-breakpad/src/testing/gtest/src/ |
D | gtest-internal-inl.h | 788 internal::Random* random() { return &random_; } in random() 895 internal::Random random_; variable
|
D | gtest.cc | 3997 random_(0), // Will be reseeded before first use. in UnitTestImpl()
|
/external/mesa3d/src/gtest/src/ |
D | gtest-internal-inl.h | 774 internal::Random* random() { return &random_; } in random() 881 internal::Random random_; variable
|
D | gtest.cc | 3967 random_(0), // Will be reseeded before first use. in UnitTestImpl()
|
/external/protobuf/gtest/src/ |
D | gtest-internal-inl.h | 832 internal::Random* random() { return &random_; } in random() 931 internal::Random random_; variable
|
D | gtest.cc | 3781 random_(0), // Will be reseeded before first use. in UnitTestImpl()
|
/external/gtest/src/ |
D | gtest-internal-inl.h | 801 internal::Random* random() { return &random_; } in random() 908 internal::Random random_; variable
|
D | gtest.cc | 4022 random_(0), // Will be reseeded before first use. in UnitTestImpl()
|
/external/protobuf/gtest/fused-src/gtest/ |
D | gtest-all.cc | 1226 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/ |
D | gtest-all.cc | 1202 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()
|