/external/chromium/testing/gtest/src/ |
gtest-internal-inl.h | 99 // A valid random seed must be in [1, kMaxRandomSeed]. 100 const int kMaxRandomSeed = 99999; 122 // Returns a random seed in range [1, kMaxRandomSeed] based on the 129 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that 133 static_cast<unsigned int>(kMaxRandomSeed)) + 1; 138 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is 141 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) 143 << kMaxRandomSeed << "]."; 145 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; [all...] |
/external/chromium_org/testing/gtest/src/ |
gtest-internal-inl.h | 104 // A valid random seed must be in [1, kMaxRandomSeed]. 105 const int kMaxRandomSeed = 99999; 133 // Returns a random seed in range [1, kMaxRandomSeed] based on the 140 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that 144 static_cast<unsigned int>(kMaxRandomSeed)) + 1; 149 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is 152 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) 154 << kMaxRandomSeed << "]."; 156 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; [all...] |
/external/chromium_org/third_party/mesa/src/src/gtest/src/ |
gtest-internal-inl.h | 99 // A valid random seed must be in [1, kMaxRandomSeed]. 100 const int kMaxRandomSeed = 99999; 122 // Returns a random seed in range [1, kMaxRandomSeed] based on the 129 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that 133 static_cast<unsigned int>(kMaxRandomSeed)) + 1; 138 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is 141 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) 143 << kMaxRandomSeed << "]."; 145 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; [all...] |
/external/gtest/src/ |
gtest-internal-inl.h | 99 // A valid random seed must be in [1, kMaxRandomSeed]. 100 const int kMaxRandomSeed = 99999; 122 // Returns a random seed in range [1, kMaxRandomSeed] based on the 129 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that 133 static_cast<unsigned int>(kMaxRandomSeed)) + 1; 138 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is 141 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) 143 << kMaxRandomSeed << "]."; 145 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; [all...] |
/external/llvm/utils/unittest/googletest/include/gtest/internal/ |
gtest-internal-inl.h | 99 // A valid random seed must be in [1, kMaxRandomSeed]. 100 const int kMaxRandomSeed = 99999; 122 // Returns a random seed in range [1, kMaxRandomSeed] based on the 129 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that 133 static_cast<unsigned int>(kMaxRandomSeed)) + 1; 138 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is 141 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) 143 << kMaxRandomSeed << "]."; 145 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; [all...] |
/external/mesa3d/src/gtest/src/ |
gtest-internal-inl.h | 99 // A valid random seed must be in [1, kMaxRandomSeed]. 100 const int kMaxRandomSeed = 99999; 122 // Returns a random seed in range [1, kMaxRandomSeed] based on the 129 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that 133 static_cast<unsigned int>(kMaxRandomSeed)) + 1; 138 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is 141 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) 143 << kMaxRandomSeed << "]."; 145 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; [all...] |
/external/open-vcdiff/gtest/src/ |
gtest-internal-inl.h | 96 // A valid random seed must be in [1, kMaxRandomSeed]. 97 const int kMaxRandomSeed = 99999; 102 // Returns a random seed in range [1, kMaxRandomSeed] based on the 109 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that 113 static_cast<unsigned int>(kMaxRandomSeed)) + 1; 118 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is 121 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) 123 << kMaxRandomSeed << "]."; 125 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; [all...] |
/external/protobuf/gtest/src/ |
gtest-internal-inl.h | 95 // A valid random seed must be in [1, kMaxRandomSeed]. 96 const int kMaxRandomSeed = 99999; 101 // Returns a random seed in range [1, kMaxRandomSeed] based on the 108 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that 112 static_cast<unsigned int>(kMaxRandomSeed)) + 1; 117 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is 120 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) 122 << kMaxRandomSeed << "]."; 124 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; [all...] |
/ndk/sources/third_party/googletest/googletest/src/ |
gtest-internal-inl.h | 104 // A valid random seed must be in [1, kMaxRandomSeed]. 105 const int kMaxRandomSeed = 99999; 133 // Returns a random seed in range [1, kMaxRandomSeed] based on the 140 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that 144 static_cast<unsigned int>(kMaxRandomSeed)) + 1; 149 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is 152 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) 154 << kMaxRandomSeed << "]."; 156 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; [all...] |
/external/chromium/testing/gtest/test/ |
gtest_unittest.cc | 192 using testing::internal::kMaxRandomSeed; 225 EXPECT_LE(seed, static_cast<int>(kMaxRandomSeed)); 231 EXPECT_EQ(kMaxRandomSeed - 1, GetRandomSeedFromFlag(kMaxRandomSeed - 1)); 232 EXPECT_EQ(static_cast<int>(kMaxRandomSeed), 233 GetRandomSeedFromFlag(kMaxRandomSeed)); 239 EXPECT_LE(seed1, static_cast<int>(kMaxRandomSeed)); 241 const int seed2 = GetRandomSeedFromFlag(kMaxRandomSeed + 1); 243 EXPECT_LE(seed2, static_cast<int>(kMaxRandomSeed)); 249 EXPECT_EQ(static_cast<int>(kMaxRandomSeed), [all...] |
/external/chromium_org/testing/gtest/test/ |
gtest_unittest.cc | 271 using testing::internal::kMaxRandomSeed; 304 EXPECT_LE(seed, static_cast<int>(kMaxRandomSeed)); 310 EXPECT_EQ(kMaxRandomSeed - 1, GetRandomSeedFromFlag(kMaxRandomSeed - 1)); 311 EXPECT_EQ(static_cast<int>(kMaxRandomSeed), 312 GetRandomSeedFromFlag(kMaxRandomSeed)); 318 EXPECT_LE(seed1, static_cast<int>(kMaxRandomSeed)); 320 const int seed2 = GetRandomSeedFromFlag(kMaxRandomSeed + 1); 322 EXPECT_LE(seed2, static_cast<int>(kMaxRandomSeed)); 328 EXPECT_EQ(static_cast<int>(kMaxRandomSeed), [all...] |
/external/gtest/test/ |
gtest_unittest.cc | 192 using testing::internal::kMaxRandomSeed; 225 EXPECT_LE(seed, static_cast<int>(kMaxRandomSeed)); 231 EXPECT_EQ(kMaxRandomSeed - 1, GetRandomSeedFromFlag(kMaxRandomSeed - 1)); 232 EXPECT_EQ(static_cast<int>(kMaxRandomSeed), 233 GetRandomSeedFromFlag(kMaxRandomSeed)); 239 EXPECT_LE(seed1, static_cast<int>(kMaxRandomSeed)); 241 const int seed2 = GetRandomSeedFromFlag(kMaxRandomSeed + 1); 243 EXPECT_LE(seed2, static_cast<int>(kMaxRandomSeed)); 249 EXPECT_EQ(static_cast<int>(kMaxRandomSeed), [all...] |
/external/protobuf/gtest/test/ |
gtest_unittest.cc | 179 using testing::internal::kMaxRandomSeed; 202 EXPECT_LE(seed, static_cast<int>(kMaxRandomSeed)); 208 EXPECT_EQ(kMaxRandomSeed - 1, GetRandomSeedFromFlag(kMaxRandomSeed - 1)); 209 EXPECT_EQ(static_cast<int>(kMaxRandomSeed), 210 GetRandomSeedFromFlag(kMaxRandomSeed)); 216 EXPECT_LE(seed1, static_cast<int>(kMaxRandomSeed)); 218 const int seed2 = GetRandomSeedFromFlag(kMaxRandomSeed + 1); 220 EXPECT_LE(seed2, static_cast<int>(kMaxRandomSeed)); 226 EXPECT_EQ(static_cast<int>(kMaxRandomSeed), [all...] |
/ndk/sources/third_party/googletest/googletest/test/ |
gtest_unittest.cc | 285 using testing::internal::kMaxRandomSeed; 318 EXPECT_LE(seed, static_cast<int>(kMaxRandomSeed)); 324 EXPECT_EQ(kMaxRandomSeed - 1, GetRandomSeedFromFlag(kMaxRandomSeed - 1)); 325 EXPECT_EQ(static_cast<int>(kMaxRandomSeed), 326 GetRandomSeedFromFlag(kMaxRandomSeed)); 332 EXPECT_LE(seed1, static_cast<int>(kMaxRandomSeed)); 334 const int seed2 = GetRandomSeedFromFlag(kMaxRandomSeed + 1); 336 EXPECT_LE(seed2, static_cast<int>(kMaxRandomSeed)); 342 EXPECT_EQ(static_cast<int>(kMaxRandomSeed), [all...] |
/external/libvpx/libvpx/third_party/googletest/src/src/ |
gtest-all.cc | 505 // A valid random seed must be in [1, kMaxRandomSeed]. 506 const int kMaxRandomSeed = 99999; 534 // Returns a random seed in range [1, kMaxRandomSeed] based on the 541 // Normalizes the actual seed to range [1, kMaxRandomSeed] such that 545 static_cast<unsigned int>(kMaxRandomSeed)) + 1; 550 // undefined if 'seed' is invalid. The seed after kMaxRandomSeed is 553 GTEST_CHECK_(1 <= seed && seed <= kMaxRandomSeed) 555 << kMaxRandomSeed << "]."; 557 return (next_seed > kMaxRandomSeed) ? 1 : next_seed; [all...] |