Home
last modified time | relevance | path

Searched refs:TEST_NUMERIC_CONVERSION (Results 1 – 2 of 2) sorted by relevance

/external/libchrome/base/numerics/
Dsafe_numerics_unittest.cc515 #define TEST_NUMERIC_CONVERSION(d, s, t) \ macro
519 TEST_NUMERIC_CONVERSION(int8_t, int8_t, SIGN_PRESERVING_VALUE_PRESERVING); in TEST()
520 TEST_NUMERIC_CONVERSION(uint8_t, uint8_t, SIGN_PRESERVING_VALUE_PRESERVING); in TEST()
522 TEST_NUMERIC_CONVERSION(int8_t, int, SIGN_PRESERVING_NARROW); in TEST()
523 TEST_NUMERIC_CONVERSION(uint8_t, unsigned int, SIGN_PRESERVING_NARROW); in TEST()
524 TEST_NUMERIC_CONVERSION(int8_t, float, SIGN_PRESERVING_NARROW); in TEST()
526 TEST_NUMERIC_CONVERSION(uint8_t, int8_t, SIGN_TO_UNSIGN_WIDEN_OR_EQUAL); in TEST()
528 TEST_NUMERIC_CONVERSION(uint8_t, int, SIGN_TO_UNSIGN_NARROW); in TEST()
529 TEST_NUMERIC_CONVERSION(uint8_t, intmax_t, SIGN_TO_UNSIGN_NARROW); in TEST()
530 TEST_NUMERIC_CONVERSION(uint8_t, float, SIGN_TO_UNSIGN_NARROW); in TEST()
[all …]
/external/libweave/third_party/chromium/base/numerics/
Dsafe_numerics_unittest.cc511 #define TEST_NUMERIC_CONVERSION(d, s, t) \ macro
515 TEST_NUMERIC_CONVERSION(int8_t, int8_t, SIGN_PRESERVING_VALUE_PRESERVING); in TEST()
516 TEST_NUMERIC_CONVERSION(uint8_t, uint8_t, SIGN_PRESERVING_VALUE_PRESERVING); in TEST()
518 TEST_NUMERIC_CONVERSION(int8_t, int, SIGN_PRESERVING_NARROW); in TEST()
519 TEST_NUMERIC_CONVERSION(uint8_t, unsigned int, SIGN_PRESERVING_NARROW); in TEST()
520 TEST_NUMERIC_CONVERSION(int8_t, float, SIGN_PRESERVING_NARROW); in TEST()
522 TEST_NUMERIC_CONVERSION(uint8_t, int8_t, SIGN_TO_UNSIGN_WIDEN_OR_EQUAL); in TEST()
524 TEST_NUMERIC_CONVERSION(uint8_t, int, SIGN_TO_UNSIGN_NARROW); in TEST()
525 TEST_NUMERIC_CONVERSION(uint8_t, intmax_t, SIGN_TO_UNSIGN_NARROW); in TEST()
526 TEST_NUMERIC_CONVERSION(uint8_t, float, SIGN_TO_UNSIGN_NARROW); in TEST()
[all …]