Lines Matching refs:numeric_limits
167 SignedAddOverflow32(std::numeric_limits<int32_t>::max(), 1, &val)); in TEST()
168 EXPECT_EQ(std::numeric_limits<int32_t>::min(), val); in TEST()
170 SignedAddOverflow32(std::numeric_limits<int32_t>::min(), -1, &val)); in TEST()
171 EXPECT_EQ(std::numeric_limits<int32_t>::max(), val); in TEST()
172 EXPECT_TRUE(SignedAddOverflow32(std::numeric_limits<int32_t>::max(), in TEST()
173 std::numeric_limits<int32_t>::max(), &val)); in TEST()
189 SignedSubOverflow32(std::numeric_limits<int32_t>::min(), 1, &val)); in TEST()
190 EXPECT_EQ(std::numeric_limits<int32_t>::max(), val); in TEST()
192 SignedSubOverflow32(std::numeric_limits<int32_t>::max(), -1, &val)); in TEST()
193 EXPECT_EQ(std::numeric_limits<int32_t>::min(), val); in TEST()
208 EXPECT_EQ(-1073741824, SignedMulHigh32(std::numeric_limits<int32_t>::max(), in TEST()
209 std::numeric_limits<int32_t>::min())); in TEST()
210 EXPECT_EQ(-1073741824, SignedMulHigh32(std::numeric_limits<int32_t>::min(), in TEST()
211 std::numeric_limits<int32_t>::max())); in TEST()
229 EXPECT_EQ(std::numeric_limits<int32_t>::min(), in TEST()
230 SignedDiv32(std::numeric_limits<int32_t>::min(), -1)); in TEST()
231 EXPECT_EQ(std::numeric_limits<int32_t>::max(), in TEST()
232 SignedDiv32(std::numeric_limits<int32_t>::max(), 1)); in TEST()
245 EXPECT_EQ(0, SignedMod32(std::numeric_limits<int32_t>::min(), -1)); in TEST()
246 EXPECT_EQ(0, SignedMod32(std::numeric_limits<int32_t>::max(), 1)); in TEST()
263 UnsignedAddOverflow32(std::numeric_limits<uint32_t>::max(), 1u, &val)); in TEST()
264 EXPECT_EQ(std::numeric_limits<uint32_t>::min(), val); in TEST()
265 EXPECT_TRUE(UnsignedAddOverflow32(std::numeric_limits<uint32_t>::max(), in TEST()
266 std::numeric_limits<uint32_t>::max(), in TEST()