Lines Matching full:max

9   const int64_t Max = std::numeric_limits<int64_t>::max();  in TEST()  local
11 EXPECT_EQ(checkedAdd<int64_t>(Max, Max), None); in TEST()
13 EXPECT_EQ(checkedAdd<int64_t>(Max, 1), None); in TEST()
18 const int16_t Max = std::numeric_limits<int16_t>::max(); in TEST() local
20 EXPECT_EQ(checkedAdd<int16_t>(Max, Max), None); in TEST()
22 EXPECT_EQ(checkedAdd<int16_t>(Max, 1), None); in TEST()
27 const int64_t Max = std::numeric_limits<int64_t>::max(); in TEST() local
29 EXPECT_EQ(checkedMul<int64_t>(Max, 2), None); in TEST()
30 EXPECT_EQ(checkedMul<int64_t>(Max, Max), None); in TEST()
36 const int64_t Max = std::numeric_limits<int64_t>::max(); in TEST() local
38 EXPECT_EQ(checkedMulAdd<int64_t>(Max, 1, 2), None); in TEST()
39 EXPECT_EQ(checkedMulAdd<int64_t>(1, 1, Max), None); in TEST()
45 const int16_t Max = std::numeric_limits<int16_t>::max(); in TEST() local
47 EXPECT_EQ(checkedMul<int16_t>(Max, 2), None); in TEST()
48 EXPECT_EQ(checkedMul<int16_t>(Max, Max), None); in TEST()
54 const int16_t Max = std::numeric_limits<int16_t>::max(); in TEST() local
56 EXPECT_EQ(checkedMulAdd<int16_t>(Max, 1, 2), None); in TEST()
57 EXPECT_EQ(checkedMulAdd<int16_t>(1, 1, Max), None); in TEST()
63 const uint64_t Max = std::numeric_limits<uint64_t>::max(); in TEST() local
64 EXPECT_EQ(checkedAddUnsigned<uint64_t>(Max, Max), None); in TEST()
65 EXPECT_EQ(checkedAddUnsigned<uint64_t>(Max, 1), None); in TEST()
70 const uint64_t Max = std::numeric_limits<uint64_t>::max(); in TEST() local
71 EXPECT_EQ(checkedMulUnsigned<uint64_t>(Max, 2), llvm::None); in TEST()
72 EXPECT_EQ(checkedMulUnsigned<uint64_t>(Max, Max), llvm::None); in TEST()
77 const uint64_t Max = std::numeric_limits<uint64_t>::max(); in TEST() local
78 EXPECT_EQ(checkedMulAddUnsigned<uint64_t>(Max, 1, 2), None); in TEST()
79 EXPECT_EQ(checkedMulAddUnsigned<uint64_t>(1, 1, Max), None); in TEST()