Home
last modified time | relevance | path

Searched refs:strtol (Results 1 – 21 of 21) sorted by relevance

/picolibc-latest/test/libc-testsuite/
Dstrtol.c62 TEST(l, strtol("2147483647", 0, 0), 2147483647L, "max 32bit signed %ld != %ld"); in test_strtol()
67 TEST(l, strtol(s="2147483648", &c, 0), 2147483647L, "uncaught overflow %ld != %ld"); in test_strtol()
71 TEST(l, strtol(s="-2147483649", &c, 0), -2147483647L-1, "uncaught overflow %ld != %ld"); in test_strtol()
96 …TEST(l, strtol(s="9223372036854775808", &c, 0), 9223372036854775807L, "uncaught overflow %ld != %l… in test_strtol()
100 …TEST(l, strtol(s="-9223372036854775809", &c, 0), -9223372036854775807L-1, "uncaught overflow %ld !… in test_strtol()
125 TEST(l, strtol("z", 0, 36), 35, "%ld != %ld"); in test_strtol()
126 TEST(l, strtol("00010010001101000101011001111000", 0, 2), 0x12345678, "%ld != %ld"); in test_strtol()
127 TEST(l, strtol(s="0F5F", &c, 16), 0x0f5f, "%ld != %ld"); in test_strtol()
129 TEST(l, strtol(s="0xz", &c, 16), 0, "%ld != %ld"); in test_strtol()
132 TEST(l, strtol(s="0x1234", &c, 16), 0x1234, "%ld != %ld"); in test_strtol()
[all …]
Dmeson.build43 'strtol',
/picolibc-latest/newlib/libc/stdlib/
Datoi.c55 return (int) strtol (s, NULL, 10); in atoi()
Datol.c15 return strtol (s, NULL, 10); in atol()
Dstrtol.c221 strtol (const char *__restrict s, in strtol() function
Dstdlib.tex49 * Function strtol:: String to long
174 @include stdlib/strtol.def
Dmeson.build176 'strtol.c',
/picolibc-latest/newlib/libc/tinystdio/
Dstrtol.c37 #define strtoi strtol
Dstrtol_l.c45 return strtol(s, ptr, base); in strtol_l()
DCMakeLists.txt128 strtol.c
Dmeson.build131 'strtol.c',
/picolibc-latest/newlib/libc/stdio/
Dnano-vfscanf_i.c108 ccfn = (pdata->code == CT_INT) ? (u_long (*)CCFN_PARAMS)strtol : strtoul; in _scanf_i()
Dnano-vfscanf_float.c303 new_exp = strtol ((exp_start + 1), NULL, 10) - exp_adjust; in _scanf_float()
Dvfscanf.c781 ccfn = (u_long (*)CCFN_PARAMS)strtol; in _SVFSCANF()
787 ccfn = (u_long (*)CCFN_PARAMS)strtol; in _SVFSCANF()
1903 new_exp = strtol ((exp_start + 1), NULL, 10) - exp_adjust; in _SVFSCANF()
/picolibc-latest/newlib/libc/locale/
Dlocale.c626 val = strtol (c, &end, 10); in __loadlocale()
649 val = strtol (charset + 2, &end, 10); in __loadlocale()
/picolibc-latest/newlib/libc/include/
Dstdlib.h303 long strtol (const char *__restrict __n, char **__restrict __end_PTR, int __base);
/picolibc-latest/newlib/libm/test/
Dconvert.c196 r = strtol(string, &ptr, base); in test_strtol_base()
/picolibc-latest/newlib/
DNEWS383 * strtok, strtol, strtoul, assert, div, ldiv, qsort, vfprintf
DChangeLog-20152196 libc/stdlib/strtod.c, libc/stdlib/strtol.c, libc/stdlib/strtoll.c,
2403 libc/stdlib/strtol.c, libc/stdlib/strtold.c,
4589 * libc/stdlib/strtol.c: Make sure signed characters are not
20769 * libc/stdlib/strtol.c: Ditto.
24240 * libc/stdlib/strtol.c (_strtol_r): Replaced with implementation
26127 * lib/stdlib/strtol.c (_strtol_r): Determine overflow correctly.
26790 mprec.c, mprec.h, rand.c, std.h, strtod.c, strtol.c, strtoul.c,
26922 strtod.c strtol.c strtoul.c system.c wctomb.c mprec.h}
27079 libc/stdlib/strtol.c, libc/stdlib/strtoul.c, libc/string/strtok.c,
27705 atof, atoff, strtod, strtodf, atoi, atol, strtol, ecvtbuf, ecvt,
[all …]
/picolibc-latest/newlib/libc/time/
Dstrftime.c423 # define ERA_STRTOL(a,b,c) strtol((a),(b),(c)) in get_era_info()
/picolibc-latest/
DCOPYING.picolibc1513 newlib/libc/stdlib/strtol.c
1951 newlib/libc/tinystdio/strtol.c
3660 test/libc-testsuite/strtol.c