| /picolibc-latest/test/libc-testsuite/ |
| D | sscanf.c | 44 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 …]
|
| D | meson.build | 41 'sscanf',
|
| /picolibc-latest/newlib/libc/machine/spu/ |
| D | sscanf.S | 37 GLOBL sscanf 38 .type sscanf, @function 39 sscanf: label 53 .size sscanf, .-sscanf
|
| D | siscanf.S | 33 #define sscanf siscanf macro
|
| D | spu_timebase.c | 47 if (sscanf (line, "timebase : %u", &tb)) in spu_timebase()
|
| D | syscall.def | 38 SPE_C99_VSSCANF sscanf 0 2
|
| /picolibc-latest/newlib/libc/time/ |
| D | tzset.c | 155 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/ |
| D | test-vfscanf-percent-a.c | 62 res = sscanf(strin, "%a %a ", &var1, &var2); in main() 77 res = sscanf(strin, "%A %A ", &var1, &var2); in main()
|
| D | printf_scanf.c | 334 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()
|
| D | test-long-long.c | 132 sscanf(naive, "%lld", &scanned); in check() 145 sscanf(naive, "%llu", &uscanned); in check()
|
| D | long_double.c | 452 sscanf(buf, "%Lf", &r); in test_io()
|
| /picolibc-latest/newlib/libc/tinystdio/ |
| D | sscanf.c | 35 sscanf(const char *s, const char *fmt, ...) in sscanf() function
|
| D | CMakeLists.txt | 119 sscanf.c
|
| D | meson.build | 122 'sscanf.c',
|
| D | stdio.h | 251 int sscanf(const char *__buf, const char *__fmt, ...) __FORMAT_ATTRIBUTE__(scanf, 2, 3);
|
| /picolibc-latest/newlib/libm/test/ |
| D | convert.c | 554 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/ |
| D | sscanf.c | 421 sscanf (const char *__restrict str, in sscanf() function
|
| D | stdio.tex | 104 * Function sscanf:: Scan and format input 304 @include stdio/sscanf.def
|
| D | meson.build | 105 'sscanf.c',
|
| D | stdio.h | 354 int sscanf (const char *__restrict, const char *__restrict, ...)
|
| /picolibc-latest/newlib/ |
| D | NEWS | 230 sprintf/sscanf family of functions
|
| D | ChangeLog-2015 | 187 * 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/ |
| D | README.md | 259 * 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
|
| D | COPYING.picolibc | 2014 newlib/libc/tinystdio/sscanf.c 2261 newlib/libc/machine/spu/sscanf.S 3657 test/libc-testsuite/sscanf.c 4511 newlib/libc/stdio/sscanf.c
|