Searched refs:ul (Results 1 – 1 of 1) sorted by relevance
| /examples/utest/testcases/posix/stdlib_h/functions/ |
| A D | strtol_tc.c | 18 __attribute__((unused)) unsigned long ul; in strtol_entry() local 26 TEST(ul, strtoul("4294967295", 0, 0), 4294967295UL, "max 32bit unsigned %lu != %lu"); in strtol_entry() 34 TEST(ul, strtoul(s = "4294967296", &c, 0), 4294967295UL, "uncaught overflow %lu != %lu"); in strtol_entry() 36 TEST(ul, strtoul(s = "-1", &c, 0), -1UL, "rejected negative %lu != %lu"); in strtol_entry() 38 TEST(ul, strtoul(s = "-2", &c, 0), -2UL, "rejected negative %lu != %lu"); in strtol_entry() 40 TEST(ul, strtoul(s = "-2147483648", &c, 0), -2147483648UL, "rejected negative %lu != %lu"); in strtol_entry() 42 TEST(ul, strtoul(s = "-2147483649", &c, 0), -2147483649UL, "rejected negative %lu != %lu"); in strtol_entry() 44 …TEST(ul, strtoul(s = "-4294967296", &c, 0), 4294967295UL, "uncaught negative overflow %lu != %lu"); in strtol_entry() 53 …TEST(ul, strtoul(s = "18446744073709551616", &c, 0), 18446744073709551615UL, "uncaught overflow %l… in strtol_entry() 55 TEST(ul, strtoul(s = "-1", &c, 0), -1UL, "rejected negative %lu != %lu"); in strtol_entry() [all …]
|
Completed in 3 milliseconds