/picolibc-latest/test/libc-testsuite/ |
D | snprintf.c | 173 TEST(i, snprintf(0, 0, "%ld", 123456l), 6, "length returned %d != %d"); in test_snprintf() 174 TEST(i, snprintf(0, 0, "%.4s", "hello"), 4, "length returned %d != %d"); in test_snprintf() 175 TEST(i, snprintf(b, 0, "%.0s", "goodbye"), 0, "length returned %d != %d"); in test_snprintf() 178 TEST(i, snprintf(b, 4, "%ld", 123456l), 6, "length returned %d != %d"); in test_snprintf() 185 TEST(i, snprintf(b, sizeof b, "%.1022f", 0x1p-1021), 1024, "%d != %d"); in test_snprintf() 208 TEST(i, snprintf(b, sizeof b, "%d%n456", n, &len), 6, "length for %n"); in test_snprintf() 211 TEST(i, snprintf(b, sizeof b, "%d%hn456", n, &slen), 6, "length for %hn"); in test_snprintf() 214 TEST(i, snprintf(b, sizeof b, "%d%hhn456", n, &clen), 6, "length for %hhn"); in test_snprintf() 217 TEST(i, snprintf(b, sizeof b, "%d%ln456", n, &llen), 6, "length for %ln"); in test_snprintf() 222 TEST(i, snprintf(b, sizeof b, "%d%lln456", n, &lllen), 6, "length for %lln"); in test_snprintf() [all …]
|
D | meson.build | 40 'snprintf', 84 if t1 == 'snprintf' 85 # snprintf has one test which is really slow
|
D | strtod.c | 58 snprintf(buf, sizeof buf, "%.300f", d); in test_strtod()
|
/picolibc-latest/newlib/libc/machine/spu/ |
D | snprintf.S | 37 GLOBL snprintf 38 .type snprintf, @function 39 snprintf: label 53 .size snprintf, .-snprintf
|
D | sniprintf.S | 33 #define snprintf sniprintf macro
|
D | spu-gmon.c | 300 snprintf (filename, sizeof (filename), "gmon-%d-%llu-%llu.out", in __monstartup() 309 snprintf (errstr, sizeof (errstr), "Cannot open file: %s", filename); in __monstartup() 319 snprintf (errstr, sizeof (errstr), "Cannot truncate file: %s", filename); in __monstartup()
|
D | syscall.def | 36 SPE_C99_VSNPRINTF snprintf 0 3
|
/picolibc-latest/newlib/libc/stdio/ |
D | snprintf.c | 27 #undef snprintf 29 snprintf ( in snprintf() function 69 __strong_reference(snprintf, __snprintfieee128);
|
/picolibc-latest/newlib/libc/tinystdio/ |
D | snprintf.c | 35 snprintf(char *s, size_t n, const char *fmt, ...) in snprintf() function 66 __strong_reference(snprintf, __snprintfieee128);
|
D | snprintfd.c | 34 #define snprintf __d_snprintf macro
|
D | snprintff.c | 34 #define snprintf __f_snprintf macro
|
/picolibc-latest/test/ |
D | printf-tests.c | 95 n = snprintf(buf, PRINTF_BUF_SIZE, fmt, iv1, iv2, ldv); in test() 103 n = snprintf(buf, PRINTF_BUF_SIZE, fmt, iv1, iv2, dv); in test() 113 n = snprintf(buf, PRINTF_BUF_SIZE, fmt, iv, ldv); in test() 121 n = snprintf(buf, PRINTF_BUF_SIZE, fmt, iv, dv); in test() 131 n = snprintf(buf, PRINTF_BUF_SIZE, fmt, ldv); in test() 139 n = snprintf(buf, PRINTF_BUF_SIZE, fmt, dv); in test()
|
D | test-sprintf-percent-n.c | 58 res = snprintf(result, sizeof(result), in main()
|
D | test-fma.c | 157 return snprintf(str, n, format, (double) f); in strfromf()
|
D | math_errhandling.c | 156 snprintf(tmp, sizeof(tmp), "?? 0x%x", e); in e_to_str()
|
/picolibc-latest/semihost/machine/mips/ |
D | mips_exit.c | 44 n = snprintf(buf, sizeof(buf), "%cexit %d\n", 0xe9, code); in _exit()
|
/picolibc-latest/semihost/machine/sparc/ |
D | sparc_exit.c | 47 n = snprintf(buf, sizeof(buf), "%cexit %d\n", 0xe9, code); in _exit()
|
/picolibc-latest/semihost/machine/x86/ |
D | e9_exit.c | 46 n = snprintf(buf, sizeof(buf), "%cexit %d\n", 0xe9, code); in _exit()
|
/picolibc-latest/semihost/machine/powerpc/ |
D | powerpc_exit.c | 47 n = snprintf(buf, sizeof(buf), "%cexit %d\n", 0xe9, code); in _exit()
|
/picolibc-latest/semihost/machine/sh/ |
D | sh_exit.c | 48 n = snprintf(buf, sizeof(buf), "%cexit %d\n", 0xe9, code); in _exit()
|
/picolibc-latest/newlib/testsuite/newlib.stdio/ |
D | swprintf.c | 21 snprintf(cbuf, 512, "%.*f", 3, val); in main()
|
/picolibc-latest/newlib/libc/time/ |
D | asctime_r.c | 43 n = snprintf (result, __ASCTIME_SIZE, "%.3s %.3s%3d %.2d:%.2d:%.2d %d\n", in asctime_r()
|
/picolibc-latest/newlib/testsuite/newlib.time/ |
D | tzset.c | 179 snprintf(buffer, 128, "winter time, timezone = \"%s\"", ptr.tzstr); in test_TimezoneStrings() 186 snprintf(buffer, 128, "summer time, timezone = \"%s\"", ptr.tzstr); in test_TimezoneStrings()
|
/picolibc-latest/newlib/libc/include/ssp/ |
D | stdio.h | 60 #define snprintf(str, len, ...) \ macro
|
/picolibc-latest/newlib/libc/ssp/ |
D | ssp.tex | 48 fread snprintf vsprintf
|