Searched refs:checked_dst (Results 1 – 2 of 2) sorted by relevance
/external/libchrome/base/numerics/ |
D | safe_numerics_unittest.cc | 129 CheckedNumeric<Dst> checked_dst = 1; in TestSpecializedArithmetic() local 130 TEST_EXPECTED_VALUE(0, checked_dst %= 1); in TestSpecializedArithmetic() 169 CheckedNumeric<Dst> checked_dst = 1; in TestSpecializedArithmetic() local 170 TEST_EXPECTED_VALUE(0, checked_dst %= 1); in TestSpecializedArithmetic() 236 CheckedNumeric<Dst> checked_dst = 1; in TestArithmetic() local 237 TEST_EXPECTED_VALUE(2, checked_dst += 1); in TestArithmetic() 238 checked_dst = 1; in TestArithmetic() 239 TEST_EXPECTED_VALUE(0, checked_dst -= 1); in TestArithmetic() 240 checked_dst = 1; in TestArithmetic() 241 TEST_EXPECTED_VALUE(1, checked_dst *= 1); in TestArithmetic() [all …]
|
/external/libweave/third_party/chromium/base/numerics/ |
D | safe_numerics_unittest.cc | 125 CheckedNumeric<Dst> checked_dst = 1; in TestSpecializedArithmetic() local 126 TEST_EXPECTED_VALUE(0, checked_dst %= 1); in TestSpecializedArithmetic() 165 CheckedNumeric<Dst> checked_dst = 1; in TestSpecializedArithmetic() local 166 TEST_EXPECTED_VALUE(0, checked_dst %= 1); in TestSpecializedArithmetic() 232 CheckedNumeric<Dst> checked_dst = 1; in TestArithmetic() local 233 TEST_EXPECTED_VALUE(2, checked_dst += 1); in TestArithmetic() 234 checked_dst = 1; in TestArithmetic() 235 TEST_EXPECTED_VALUE(0, checked_dst -= 1); in TestArithmetic() 236 checked_dst = 1; in TestArithmetic() 237 TEST_EXPECTED_VALUE(1, checked_dst *= 1); in TestArithmetic() [all …]
|