TEST_EXPECTED_VALUE 62 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(-1).Abs()); TEST_EXPECTED_VALUE 88 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>(-1) / 2); TEST_EXPECTED_VALUE 91 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>() % 1); TEST_EXPECTED_VALUE 92 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>(1) % 1); TEST_EXPECTED_VALUE 93 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(-1, CheckedNumeric<Dst>(-1) % 2); TEST_EXPECTED_VALUE 95 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>(DstLimits::min()) % 2); TEST_EXPECTED_VALUE 96 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(DstLimits::max()) % 2); TEST_EXPECTED_VALUE 98 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>(1) % CheckedNumeric<Dst>(1)); TEST_EXPECTED_VALUE 99 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, 1 % CheckedNumeric<Dst>(1)); TEST_EXPECTED_VALUE 100 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>(1) % 1); TEST_EXPECTED_VALUE 102 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, checked_dst %= 1); TEST_EXPECTED_VALUE 121 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>(DstLimits::min()) * 2); TEST_EXPECTED_VALUE 122 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>(1) / 2); TEST_EXPECTED_VALUE 125 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>() % 1); TEST_EXPECTED_VALUE 126 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>(1) % 1); TEST_EXPECTED_VALUE 127 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(1) % 2); TEST_EXPECTED_VALUE 128 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>(DstLimits::min()) % 2); TEST_EXPECTED_VALUE 129 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(DstLimits::max()) % 2); TEST_EXPECTED_VALUE 131 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>(1) % CheckedNumeric<Dst>(1)); TEST_EXPECTED_VALUE 132 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, 1 % CheckedNumeric<Dst>(1)); TEST_EXPECTED_VALUE 133 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>(1) % 1); TEST_EXPECTED_VALUE 135 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, checked_dst %= 1); TEST_EXPECTED_VALUE 149 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(-1).Abs()); TEST_EXPECTED_VALUE 169 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(-0.5, CheckedNumeric<Dst>(-1.0) / 2); TEST_EXPECTED_VALUE 189 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(2, CheckedNumeric<Dst>(1) + CheckedNumeric<Dst>(1)); TEST_EXPECTED_VALUE 190 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>(1) - CheckedNumeric<Dst>(1)); TEST_EXPECTED_VALUE 191 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(1) * CheckedNumeric<Dst>(1)); TEST_EXPECTED_VALUE 192 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(1) / CheckedNumeric<Dst>(1)); TEST_EXPECTED_VALUE 193 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(2, 1 + CheckedNumeric<Dst>(1)); TEST_EXPECTED_VALUE 194 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, 1 - CheckedNumeric<Dst>(1)); TEST_EXPECTED_VALUE 195 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, 1 * CheckedNumeric<Dst>(1)); TEST_EXPECTED_VALUE 196 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, 1 / CheckedNumeric<Dst>(1)); TEST_EXPECTED_VALUE 197 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(2, CheckedNumeric<Dst>(1) + 1); TEST_EXPECTED_VALUE 198 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>(1) - 1); TEST_EXPECTED_VALUE 199 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(1) * 1); TEST_EXPECTED_VALUE 200 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(1) / 1); TEST_EXPECTED_VALUE 202 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(2, checked_dst += 1); TEST_EXPECTED_VALUE 204 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, checked_dst -= 1); TEST_EXPECTED_VALUE 206 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, checked_dst *= 1); TEST_EXPECTED_VALUE 208 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, checked_dst /= 1); TEST_EXPECTED_VALUE 211 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, -CheckedNumeric<Dst>()); TEST_EXPECTED_VALUE 212 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(-1, -CheckedNumeric<Dst>(1)); TEST_EXPECTED_VALUE 213 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, -CheckedNumeric<Dst>(-1)); TEST_EXPECTED_VALUE 214 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(static_cast<Dst>(DstLimits::max() * -1), TEST_EXPECTED_VALUE 218 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>().Abs()); TEST_EXPECTED_VALUE 219 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(1).Abs()); TEST_EXPECTED_VALUE 220 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(DstLimits::max(), TEST_EXPECTED_VALUE 224 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, (CheckedNumeric<Dst>() + 1)); TEST_EXPECTED_VALUE 225 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(2, (CheckedNumeric<Dst>(1) + 1)); TEST_EXPECTED_VALUE 226 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, (CheckedNumeric<Dst>(-1) + 1)); TEST_EXPECTED_VALUE 233 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(-1, (CheckedNumeric<Dst>() - 1)); TEST_EXPECTED_VALUE 234 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, (CheckedNumeric<Dst>(1) - 1)); TEST_EXPECTED_VALUE 235 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(-2, (CheckedNumeric<Dst>(-1) - 1)); TEST_EXPECTED_VALUE 240 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, (CheckedNumeric<Dst>() * 1)); TEST_EXPECTED_VALUE 241 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, (CheckedNumeric<Dst>(1) * 1)); TEST_EXPECTED_VALUE 242 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(-2, (CheckedNumeric<Dst>(-1) * 2)); TEST_EXPECTED_VALUE 247 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(0, CheckedNumeric<Dst>() / 1); TEST_EXPECTED_VALUE 248 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, CheckedNumeric<Dst>(1) / 1); TEST_EXPECTED_VALUE 249 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(DstLimits::min() / 2, TEST_EXPECTED_VALUE 251 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(DstLimits::max() / 2, TEST_EXPECTED_VALUE 358 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, checked_dst + static_cast<Src>(1)); TEST_EXPECTED_VALUE 371 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(-1, checked_dst - static_cast<Src>(1)); TEST_EXPECTED_VALUE 392 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(SrcLimits::max(), checked_dst + SrcLimits::max()); TEST_EXPECTED_VALUE 415 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, checked_dst + static_cast<Src>(1)); TEST_EXPECTED_VALUE 446 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(1, checked_dst + static_cast<Src>(1)); TEST_EXPECTED_VALUE 448 base/numerics/safe_numerics_unittest.cc TEST_EXPECTED_VALUE(SrcLimits::min(), checked_dst + SrcLimits::min());