SrcLimits         304 base/numerics/safe_numerics_unittest.cc     COMPILE_ASSERT((DstLimits::is_iec559 && SrcLimits::is_integer) ||
SrcLimits         306 base/numerics/safe_numerics_unittest.cc                    (!(DstLimits::is_integer && SrcLimits::is_iec559) &&
SrcLimits         308 base/numerics/safe_numerics_unittest.cc                     ((SrcLimits::is_signed == DstLimits::is_signed &&
SrcLimits         314 base/numerics/safe_numerics_unittest.cc     const CheckedNumeric<Dst> checked_dst = SrcLimits::max();
SrcLimits         320 base/numerics/safe_numerics_unittest.cc         TEST_EXPECTED_VALIDITY(RANGE_VALID, SrcLimits::max() * checked_dst);
SrcLimits         323 base/numerics/safe_numerics_unittest.cc         TEST_EXPECTED_VALIDITY(RANGE_OVERFLOW, SrcLimits::max() * checked_dst);
SrcLimits         330 base/numerics/safe_numerics_unittest.cc     TEST_EXPECTED_RANGE(RANGE_VALID, SrcLimits::max());
SrcLimits         332 base/numerics/safe_numerics_unittest.cc     if (SrcLimits::is_iec559) {
SrcLimits         333 base/numerics/safe_numerics_unittest.cc       TEST_EXPECTED_RANGE(RANGE_VALID, SrcLimits::max() * static_cast<Src>(-1));
SrcLimits         334 base/numerics/safe_numerics_unittest.cc       TEST_EXPECTED_RANGE(RANGE_OVERFLOW, SrcLimits::infinity());
SrcLimits         335 base/numerics/safe_numerics_unittest.cc       TEST_EXPECTED_RANGE(RANGE_UNDERFLOW, SrcLimits::infinity() * -1);
SrcLimits         336 base/numerics/safe_numerics_unittest.cc       TEST_EXPECTED_RANGE(RANGE_INVALID, SrcLimits::quiet_NaN());
SrcLimits         340 base/numerics/safe_numerics_unittest.cc       TEST_EXPECTED_RANGE(RANGE_VALID, SrcLimits::min());
SrcLimits         350 base/numerics/safe_numerics_unittest.cc     COMPILE_ASSERT(SrcLimits::is_signed == DstLimits::is_signed,
SrcLimits         353 base/numerics/safe_numerics_unittest.cc                    (DstLimits::is_integer && SrcLimits::is_iec559),
SrcLimits         357 base/numerics/safe_numerics_unittest.cc     TEST_EXPECTED_VALIDITY(RANGE_OVERFLOW, checked_dst + SrcLimits::max());
SrcLimits         359 base/numerics/safe_numerics_unittest.cc     TEST_EXPECTED_VALIDITY(RANGE_UNDERFLOW, checked_dst - SrcLimits::max());
SrcLimits         361 base/numerics/safe_numerics_unittest.cc     TEST_EXPECTED_RANGE(RANGE_OVERFLOW, SrcLimits::max());
SrcLimits         363 base/numerics/safe_numerics_unittest.cc     if (SrcLimits::is_iec559) {
SrcLimits         364 base/numerics/safe_numerics_unittest.cc       TEST_EXPECTED_RANGE(RANGE_UNDERFLOW, SrcLimits::max() * -1);
SrcLimits         366 base/numerics/safe_numerics_unittest.cc       TEST_EXPECTED_RANGE(RANGE_OVERFLOW, SrcLimits::infinity());
SrcLimits         367 base/numerics/safe_numerics_unittest.cc       TEST_EXPECTED_RANGE(RANGE_UNDERFLOW, SrcLimits::infinity() * -1);
SrcLimits         368 base/numerics/safe_numerics_unittest.cc       TEST_EXPECTED_RANGE(RANGE_INVALID, SrcLimits::quiet_NaN());
SrcLimits         370 base/numerics/safe_numerics_unittest.cc     } else if (SrcLimits::is_signed) {
SrcLimits         372 base/numerics/safe_numerics_unittest.cc       TEST_EXPECTED_RANGE(RANGE_UNDERFLOW, SrcLimits::min());
SrcLimits         376 base/numerics/safe_numerics_unittest.cc       TEST_EXPECTED_RANGE(RANGE_VALID, SrcLimits::min());
SrcLimits         388 base/numerics/safe_numerics_unittest.cc     COMPILE_ASSERT(SrcLimits::is_signed, source_must_be_signed);
SrcLimits         392 base/numerics/safe_numerics_unittest.cc     TEST_EXPECTED_VALUE(SrcLimits::max(), checked_dst + SrcLimits::max());
SrcLimits         394 base/numerics/safe_numerics_unittest.cc     TEST_EXPECTED_VALIDITY(RANGE_UNDERFLOW, checked_dst + -SrcLimits::max());
SrcLimits         396 base/numerics/safe_numerics_unittest.cc     TEST_EXPECTED_RANGE(RANGE_UNDERFLOW, SrcLimits::min());
SrcLimits         397 base/numerics/safe_numerics_unittest.cc     TEST_EXPECTED_RANGE(RANGE_VALID, SrcLimits::max());
SrcLimits         408 base/numerics/safe_numerics_unittest.cc     COMPILE_ASSERT((DstLimits::is_integer && SrcLimits::is_iec559) ||
SrcLimits         411 base/numerics/safe_numerics_unittest.cc     COMPILE_ASSERT(SrcLimits::is_signed, source_must_be_signed);
SrcLimits         416 base/numerics/safe_numerics_unittest.cc     TEST_EXPECTED_VALIDITY(RANGE_OVERFLOW, checked_dst + SrcLimits::max());
SrcLimits         418 base/numerics/safe_numerics_unittest.cc     TEST_EXPECTED_VALIDITY(RANGE_UNDERFLOW, checked_dst + -SrcLimits::max());
SrcLimits         420 base/numerics/safe_numerics_unittest.cc     TEST_EXPECTED_RANGE(RANGE_OVERFLOW, SrcLimits::max());
SrcLimits         423 base/numerics/safe_numerics_unittest.cc     if (SrcLimits::is_iec559) {
SrcLimits         424 base/numerics/safe_numerics_unittest.cc       TEST_EXPECTED_RANGE(RANGE_UNDERFLOW, SrcLimits::max() * -1);
SrcLimits         425 base/numerics/safe_numerics_unittest.cc       TEST_EXPECTED_RANGE(RANGE_OVERFLOW, SrcLimits::infinity());
SrcLimits         426 base/numerics/safe_numerics_unittest.cc       TEST_EXPECTED_RANGE(RANGE_UNDERFLOW, SrcLimits::infinity() * -1);
SrcLimits         427 base/numerics/safe_numerics_unittest.cc       TEST_EXPECTED_RANGE(RANGE_INVALID, SrcLimits::quiet_NaN());
SrcLimits         430 base/numerics/safe_numerics_unittest.cc       TEST_EXPECTED_RANGE(RANGE_UNDERFLOW, SrcLimits::min());
SrcLimits         442 base/numerics/safe_numerics_unittest.cc     COMPILE_ASSERT(!SrcLimits::is_signed, source_must_be_unsigned);
SrcLimits         447 base/numerics/safe_numerics_unittest.cc     TEST_EXPECTED_VALIDITY(RANGE_OVERFLOW, checked_dst + SrcLimits::max());
SrcLimits         448 base/numerics/safe_numerics_unittest.cc     TEST_EXPECTED_VALUE(SrcLimits::min(), checked_dst + SrcLimits::min());
SrcLimits         450 base/numerics/safe_numerics_unittest.cc     TEST_EXPECTED_RANGE(RANGE_VALID, SrcLimits::min());
SrcLimits         451 base/numerics/safe_numerics_unittest.cc     TEST_EXPECTED_RANGE(RANGE_OVERFLOW, SrcLimits::max());