Searched refs:CheckOverflow (Results 1 – 2 of 2) sorted by relevance
/aosp_15_r20/bionic/tests/ |
H A D | sstream_test.cpp | 26 static void CheckOverflow(T expected, const char* value, bool should_overflow) { in CheckOverflow() function 43 CheckOverflow<int16_t>(std::numeric_limits<int16_t>::min(), "-32768", false); in TEST() 44 CheckOverflow<int16_t>(0, "-32769", true); in TEST() 45 CheckOverflow<int16_t>(std::numeric_limits<int16_t>::max(), "32767", false); in TEST() 46 CheckOverflow<int16_t>(0, "32768", true); in TEST() 48 CheckOverflow<uint16_t>(std::numeric_limits<uint16_t>::max(), "65535", false); in TEST() 49 CheckOverflow<uint16_t>(0, "65536", true); in TEST() 53 CheckOverflow<int32_t>(std::numeric_limits<int32_t>::min(), "-2147483648", false); in TEST() 54 CheckOverflow<int32_t>(0, "-2147483649", true); in TEST() 55 CheckOverflow<int32_t>(std::numeric_limits<int32_t>::max(), "2147483647", false); in TEST() [all …]
|
/aosp_15_r20/external/tpm2-tss/ |
H A D | CHANGELOG.md | 368 - Changed CheckOverflow to return SAPI error level for errors. Other levels of
|