Home
last modified time | relevance | path

Searched refs:sscanf (Results 1 – 24 of 24) sorted by relevance

/picolibc-latest/test/libc-testsuite/
Dsscanf.c44 TEST(i, sscanf(# x, "%lf", &d), 1, "got %d fields, expected %d"), \
48 TEST(i, sscanf(v, "%lf", &d), 1, "got %d fields, expected %d"), \
95 TEST(i, sscanf("hello, world\n", "%s %s", a, b), 2, "only %d fields, expected %d"); in test_sscanf()
102 TEST(i, sscanf("hello, world\n", "%6c %5c%c", a, b, c), 3, "only %d fields, expected %d"); in test_sscanf()
107 TEST(i, sscanf("hello, world\n", "%[hel]%s", a, b), 2, "only %d fields, expected %d"); in test_sscanf()
111 TEST(i, sscanf("hello, world\n", "%[hel] %s", a, b), 2, "only %d fields, expected %d"); in test_sscanf()
115 TEST(i, sscanf("elloworld", "%1[abcdefg]%s", a, b), 2, "only %d fields, expected %d"); in test_sscanf()
119 TEST(i, sscanf("elloworld", "%5[a-z]%s", a, b), 2, "only %d fields, expected %d"); in test_sscanf()
126 TEST(i, sscanf("㌰ello, ✕orld\n", "%s %s", a, b), 2, "only %d fields, expected %d"); in test_sscanf()
133 TEST(i, sscanf("㌰ello, ✕orld\n", "%8c %7c%c", a, b, c), 3, "only %d fields, expected %d"); in test_sscanf()
[all …]
Dmeson.build41 'sscanf',
/picolibc-latest/newlib/libc/machine/spu/
Dsscanf.S37 GLOBL sscanf
38 .type sscanf, @function
39 sscanf: label
53 .size sscanf, .-sscanf
Dsiscanf.S33 #define sscanf siscanf macro
Dspu_timebase.c47 if (sscanf (line, "timebase : %u", &tb)) in spu_timebase()
Dsyscall.def38 SPE_C99_VSSCANF sscanf 0 2
/picolibc-latest/newlib/libc/time/
Dtzset.c155 if (sscanf (tzenv, "%11[-+0-9A-Za-z]%n", __tzname_std, &n) <= 0 in _tzset_unlocked()
164 if (sscanf (tzenv, "%11[A-Za-z]%n", __tzname_std, &n) <= 0 in _tzset_unlocked()
183 if (sscanf (tzenv, "%hu%n:%hu%n:%hu%n", &hh, &n, &mm, &n, &ss, &n) < 1) in _tzset_unlocked()
195 if (sscanf (tzenv, "%11[-+0-9A-Za-z]%n", __tzname_dst, &n) <= 0 && tzenv[0] == '>') in _tzset_unlocked()
213 if (sscanf (tzenv, "%11[A-Za-z]%n", __tzname_dst, &n) <= 0) in _tzset_unlocked()
244 if (sscanf (tzenv, "%hu%n:%hu%n:%hu%n", &hh, &n, &mm, &n, &ss, &n) <= 0) in _tzset_unlocked()
258 if (sscanf (tzenv, "M%hu%n.%hu%n.%hu%n", &m, &n, &w, &n, &d, &n) != 3 || in _tzset_unlocked()
318 if (sscanf (tzenv, "/%hu%n:%hu%n:%hu%n", &hh, &n, &mm, &n, &ss, &n) <= 0) in _tzset_unlocked()
/picolibc-latest/test/
Dtest-vfscanf-percent-a.c62 res = sscanf(strin, "%a %a ", &var1, &var2); in main()
77 res = sscanf(strin, "%A %A ", &var1, &var2); in main()
Dprintf_scanf.c334 int i = sscanf(test_val, "%lc", &c); in main()
363 int r = sscanf("3 4", "%2$d %1$d", &x, &y); in main()
414 __n = sscanf(buf, FMT(prefix, iconv), &r); \ in main()
554 sscanf(buf, scanf_format, &r); in main()
568 sscanf(buf, scanf_format, &r); in main()
580 sscanf(buf, scanf_format, &r); in main()
592 sscanf(buf, scanf_format, &r); in main()
606 sscanf(buf, scanf_format, &r); in main()
616 sscanf(buf, scanf_format, &r); in main()
Dtest-long-long.c132 sscanf(naive, "%lld", &scanned); in check()
145 sscanf(naive, "%llu", &uscanned); in check()
Dlong_double.c452 sscanf(buf, "%Lf", &r); in test_io()
/picolibc-latest/newlib/libc/tinystdio/
Dsscanf.c35 sscanf(const char *s, const char *fmt, ...) in sscanf() function
DCMakeLists.txt119 sscanf.c
Dmeson.build122 'sscanf.c',
Dstdio.h251 int sscanf(const char *__buf, const char *__fmt, ...) __FORMAT_ATTRIBUTE__(scanf, 2, 3);
/picolibc-latest/newlib/libm/test/
Dconvert.c554 sscanf(s->result, "%lg", &d0); in test_scan()
556 sscanf(buffer, "%lg", &d1); in test_scan()
572 sscanf(si->result, "%ld", &d0); in test_scan()
574 sscanf(buffer, "%ld", &d1); in test_scan()
581 sscanf(" 9","%d", &i); in test_scan()
583 sscanf("foo bar 123 zap 456","foo bar %d zap %d", &i, &j); in test_scan()
587 sscanf("magicXYZZYfoobar","magic%[XYZ]", buffer); in test_scan()
589 sscanf("magicXYZZYfoobar","%[^XYZ]", buffer); in test_scan()
/picolibc-latest/newlib/libc/stdio/
Dsscanf.c421 sscanf (const char *__restrict str, in sscanf() function
Dstdio.tex104 * Function sscanf:: Scan and format input
304 @include stdio/sscanf.def
Dmeson.build105 'sscanf.c',
Dstdio.h354 int sscanf (const char *__restrict, const char *__restrict, ...)
/picolibc-latest/newlib/
DNEWS230 sprintf/sscanf family of functions
DChangeLog-2015187 * libc/stdio/sscanf.c: Improve documentation markup.
1739 * libc/stdio/sscanf.c (siscanf, _siscanf_r): Ditto.
2194 libc/stdio/freopen.c, libc/stdio/fwrite.c, libc/stdio/sscanf.c,
2393 libc/stdio/sprintf.c, libc/stdio/sscanf.c,
4150 * libc/time/tzset_r.c: Define sscanf to siscanf.
7715 * libc/stdio/sscanf.c: Ditto.
8359 * libc/machine/spu/sscanf.S: Regenerate.
8767 to build special versions for sprintf/sscanf family functions.
8781 __ssvfscanf_r which is optimized to work with sscanf family of
8796 * libc/stdio/sscanf.c: Call _ssvfscanf_r instead of _svfscanf_r.
[all …]
/picolibc-latest/
DREADME.md259 * Parse NaN(<string>) in sscanf. This is required by the standard,
836 3. Bug fix for converting denorms with sscanf and strto{d,f,ld}.
845 wrappers around sscanf, but strfromf handles float conversions
DCOPYING.picolibc2014 newlib/libc/tinystdio/sscanf.c
2261 newlib/libc/machine/spu/sscanf.S
3657 test/libc-testsuite/sscanf.c
4511 newlib/libc/stdio/sscanf.c