Home
last modified time | relevance | path

Searched refs:kMaxRandomSeed (Results 1 – 11 of 11) sorted by relevance

/external/swiftshader/third_party/LLVM/utils/unittest/googletest/include/gtest/internal/
Dgtest-internal-inl.h100 const int kMaxRandomSeed = 99999; variable
133 static_cast<unsigned int>(kMaxRandomSeed)) + 1; in GetRandomSeedFromFlag()
141 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) in GetNextRandomSeed()
143 << kMaxRandomSeed << "]."; in GetNextRandomSeed()
145 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; in GetNextRandomSeed()
/external/google-breakpad/src/testing/gtest/src/
Dgtest-internal-inl.h100 const int kMaxRandomSeed = 99999; variable
139 static_cast<unsigned int>(kMaxRandomSeed)) + 1; in GetRandomSeedFromFlag()
147 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) in GetNextRandomSeed()
149 << kMaxRandomSeed << "]."; in GetNextRandomSeed()
151 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; in GetNextRandomSeed()
/external/llvm/utils/unittest/googletest/src/
Dgtest-internal-inl.h100 const int kMaxRandomSeed = 99999; variable
133 static_cast<unsigned int>(kMaxRandomSeed)) + 1; in GetRandomSeedFromFlag()
141 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) in GetNextRandomSeed()
143 << kMaxRandomSeed << "]."; in GetNextRandomSeed()
145 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; in GetNextRandomSeed()
/external/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-internal-inl.h106 const int kMaxRandomSeed = 99999; variable
145 static_cast<unsigned int>(kMaxRandomSeed)) + 1; in GetRandomSeedFromFlag()
153 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) in GetNextRandomSeed()
155 << kMaxRandomSeed << "]."; in GetNextRandomSeed()
157 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; in GetNextRandomSeed()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/unittest/googletest/src/
Dgtest-internal-inl.h106 const int kMaxRandomSeed = 99999; variable
145 static_cast<unsigned int>(kMaxRandomSeed)) + 1; in GetRandomSeedFromFlag()
153 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) in GetNextRandomSeed()
155 << kMaxRandomSeed << "]."; in GetNextRandomSeed()
157 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; in GetNextRandomSeed()
/external/mesa3d/src/gtest/src/
Dgtest-internal-inl.h106 const int kMaxRandomSeed = 99999; variable
145 static_cast<unsigned int>(kMaxRandomSeed)) + 1; in GetRandomSeedFromFlag()
153 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) in GetNextRandomSeed()
155 << kMaxRandomSeed << "]."; in GetNextRandomSeed()
157 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; in GetNextRandomSeed()
/external/libvpx/libvpx/third_party/googletest/src/src/
Dgtest-internal-inl.h99 const int kMaxRandomSeed = 99999; variable
138 static_cast<unsigned int>(kMaxRandomSeed)) + 1; in GetRandomSeedFromFlag()
146 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) in GetNextRandomSeed()
148 << kMaxRandomSeed << "]."; in GetNextRandomSeed()
150 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; in GetNextRandomSeed()
/external/googletest/googletest/src/
Dgtest-internal-inl.h100 const int kMaxRandomSeed = 99999; variable
139 static_cast<unsigned int>(kMaxRandomSeed)) + 1; in GetRandomSeedFromFlag()
147 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) in GetNextRandomSeed()
149 << kMaxRandomSeed << "]."; in GetNextRandomSeed()
151 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; in GetNextRandomSeed()
/external/google-breakpad/src/testing/gtest/test/
Dgtest_unittest.cc196 using testing::internal::kMaxRandomSeed;
229 EXPECT_LE(seed, static_cast<int>(kMaxRandomSeed)); in TEST()
235 EXPECT_EQ(kMaxRandomSeed - 1, GetRandomSeedFromFlag(kMaxRandomSeed - 1)); in TEST()
236 EXPECT_EQ(static_cast<int>(kMaxRandomSeed), in TEST()
237 GetRandomSeedFromFlag(kMaxRandomSeed)); in TEST()
243 EXPECT_LE(seed1, static_cast<int>(kMaxRandomSeed)); in TEST()
245 const int seed2 = GetRandomSeedFromFlag(kMaxRandomSeed + 1); in TEST()
247 EXPECT_LE(seed2, static_cast<int>(kMaxRandomSeed)); in TEST()
253 EXPECT_EQ(static_cast<int>(kMaxRandomSeed), in TEST()
254 GetNextRandomSeed(kMaxRandomSeed - 1)); in TEST()
[all …]
/external/googletest/googletest/test/
Dgtest_unittest.cc283 using testing::internal::kMaxRandomSeed;
315 EXPECT_LE(seed, static_cast<int>(kMaxRandomSeed)); in TEST()
321 EXPECT_EQ(kMaxRandomSeed - 1, GetRandomSeedFromFlag(kMaxRandomSeed - 1)); in TEST()
322 EXPECT_EQ(static_cast<int>(kMaxRandomSeed), in TEST()
323 GetRandomSeedFromFlag(kMaxRandomSeed)); in TEST()
329 EXPECT_LE(seed1, static_cast<int>(kMaxRandomSeed)); in TEST()
331 const int seed2 = GetRandomSeedFromFlag(kMaxRandomSeed + 1); in TEST()
333 EXPECT_LE(seed2, static_cast<int>(kMaxRandomSeed)); in TEST()
339 EXPECT_EQ(static_cast<int>(kMaxRandomSeed), in TEST()
340 GetNextRandomSeed(kMaxRandomSeed - 1)); in TEST()
[all …]
/external/epid-sdk/ext/gtest/
Dgtest-all.cc513 const int kMaxRandomSeed = 99999; variable
552 static_cast<unsigned int>(kMaxRandomSeed)) + 1; in GetRandomSeedFromFlag()
560 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) in GetNextRandomSeed()
562 << kMaxRandomSeed << "]."; in GetNextRandomSeed()
564 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; in GetNextRandomSeed()