Home
last modified time | relevance | path

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

/picolibc-3.7.0-3.6.0/test/libc-testsuite/
Dstrtol.c51 unsigned long ul; in test_strtol() local
63 TEST(ul, strtoul("4294967295", 0, 0), 4294967295UL, "max 32bit unsigned %lu != %lu"); in test_strtol()
75 TEST(ul, strtoul(s="4294967296", &c, 0), 4294967295UL, "uncaught overflow %lu != %lu"); in test_strtol()
79 TEST(ul, strtoul(s="-1", &c, 0), -1UL, "rejected negative %lu != %lu"); in test_strtol()
83 TEST(ul, strtoul(s="-2", &c, 0), -2UL, "rejected negative %lu != %lu"); in test_strtol()
87 TEST(ul, strtoul(s="-2147483648", &c, 0), -2147483648UL, "rejected negative %lu != %lu"); in test_strtol()
91 TEST(ul, strtoul(s="-2147483649", &c, 0), -2147483649UL, "rejected negative %lu != %lu"); in test_strtol()
104 …TEST(ul, strtoul(s="18446744073709551616", &c, 0), 18446744073709551615UL, "uncaught overflow %lu … in test_strtol()
108 TEST(ul, strtoul(s="-1", &c, 0), -1UL, "rejected negative %lu != %lu"); in test_strtol()
112 TEST(ul, strtoul(s="-2", &c, 0), -2UL, "rejected negative %lu != %lu"); in test_strtol()
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/stdio/
Dnano-vfscanf_i.c215 u_long ul; in _scanf_i() local
217 ul = (*ccfn) (pdata->buf, (char **) NULL, pdata->base); in _scanf_i()
219 *GET_ARG (N, *ap, void **) = (void *) (uintptr_t) ul; in _scanf_i()
221 *GET_ARG (N, *ap, short *) = ul; in _scanf_i()
223 *GET_ARG (N, *ap, long *) = ul; in _scanf_i()
225 *GET_ARG (N, *ap, int *) = ul; in _scanf_i()