Home
last modified time | relevance | path

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

/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/llvm-project/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/googletest/googletest/src/
Dgtest-internal-inl.h103 const int kMaxRandomSeed = 99999; variable
142 static_cast<unsigned int>(kMaxRandomSeed)) + 1; in GetRandomSeedFromFlag()
150 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) in GetNextRandomSeed()
152 << kMaxRandomSeed << "]."; in GetNextRandomSeed()
154 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; in GetNextRandomSeed()
/external/mesa3d/src/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/libaom/libaom/third_party/googletest/src/googletest/src/
Dgtest-internal-inl.h101 const int kMaxRandomSeed = 99999; variable
140 static_cast<unsigned int>(kMaxRandomSeed)) + in GetRandomSeedFromFlag()
149 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) in GetNextRandomSeed()
151 << kMaxRandomSeed << "]."; in GetNextRandomSeed()
153 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/rust/crates/quiche/deps/boringssl/src/third_party/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/googletest/googletest/test/
Dgtest_unittest.cc263 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/rust/crates/quiche/deps/boringssl/src/third_party/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/fmtlib/test/
Dgmock-gtest-all.cc516 const int kMaxRandomSeed = 99999; variable
554 static_cast<unsigned int>(kMaxRandomSeed)) + in GetRandomSeedFromFlag()
563 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) in GetNextRandomSeed()
565 << kMaxRandomSeed << "]."; in GetNextRandomSeed()
567 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; in GetNextRandomSeed()
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/gmock-1.8.0/
Dgmock-gtest-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()