Searched refs:CheckOverflow (Results 1 - 1 of 1) sorted by relevance
/bionic/tests/ |
H A D | sstream_test.cpp | 26 static void CheckOverflow(T expected, const char* value, bool should_overflow) { function 43 CheckOverflow<int16_t>(std::numeric_limits<int16_t>::min(), "-32768", false); 44 CheckOverflow<int16_t>(0, "-32769", true); 45 CheckOverflow<int16_t>(std::numeric_limits<int16_t>::max(), "32767", false); 46 CheckOverflow<int16_t>(0, "32768", true); 48 CheckOverflow<uint16_t>(std::numeric_limits<uint16_t>::max(), "65535", false); 49 CheckOverflow<uint16_t>(0, "65536", true); 53 CheckOverflow<int32_t>(std::numeric_limits<int32_t>::min(), "-2147483648", false); 54 CheckOverflow<int32_t>(0, "-2147483649", true); 55 CheckOverflow<int32_ [all...] |
Completed in 35 milliseconds