HomeSort by relevance Sort by last modified time
    Searched refs:CheckOverflow (Results 1 - 2 of 2) sorted by null

  /bionic/tests/
sstream_test.cpp 26 static void CheckOverflow(T expected, const char* value, bool should_overflow) {
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_t>(std::numeric_limits<int32_t>::max(), "2147483647", false)
    [all...]
  /external/protobuf/src/google/protobuf/
message_unittest.cc 250 TEST(MessageTest, CheckOverflow) {

Completed in 139 milliseconds