Home
last modified time | relevance | path

Searched refs:snprintf (Results 1 – 25 of 34) sorted by relevance

12

/picolibc-3.7.0-3.6.0/newlib/libc/machine/spu/
Dsnprintf.S35 GLOBL snprintf
36 .type snprintf, @function
37 snprintf: label
51 .size snprintf, .-snprintf
Dsniprintf.S31 #define snprintf sniprintf macro
Dspu-gmon.c298 snprintf (filename, sizeof (filename), "gmon-%d-%llu-%llu.out", in __monstartup()
307 snprintf (errstr, sizeof (errstr), "Cannot open file: %s", filename); in __monstartup()
317 snprintf (errstr, sizeof (errstr), "Cannot truncate file: %s", filename); in __monstartup()
Dsyscall.def36 SPE_C99_VSNPRINTF snprintf 0 3
/picolibc-3.7.0-3.6.0/test/libc-testsuite/
Dsnprintf.c173 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()
203 TEST(i, snprintf(NULL, 0, "%.*u", 2147483647, 0), 2147483647, "cannot print max length %d"); in test_snprintf()
209 … TEST(i, snprintf(b, sizeof b, int_tests[j].fmt, int_tests[j].i), (int) strlen(b), "%d != %d"); in test_snprintf()
217 TEST(i, snprintf(b, sizeof b, fp_tests[j].fmt, fp_tests[j].f), (int) strlen(b), "%d != %d"); in test_snprintf()
221 TEST(i, snprintf(0, 0, "%.4a", 1.0), 11, "%d != %d"); in test_snprintf()
227 #define TEST_NAME snprintf
Dmeson.build58 'snprintf',
77 if t1 == 'snprintf'
78 # snprintf has one test which is really slow
Dstrtod.c58 snprintf(buf, sizeof buf, "%.300f", d); in test_strtod()
/picolibc-3.7.0-3.6.0/newlib/libc/stdio/
Dsnprintf.c28 #undef snprintf
30 snprintf ( in snprintf() function
70 __strong_reference(snprintf, __snprintfieee128);
/picolibc-3.7.0-3.6.0/newlib/libc/tinystdio/
Dsnprintf.c35 snprintf(char *s, size_t n, const char *fmt, ...) in snprintf() function
66 __strong_reference(snprintf, __snprintfieee128);
Dsnprintfd.c34 #define snprintf __d_snprintf macro
Dsnprintff.c34 #define snprintf __f_snprintf macro
DCMakeLists.txt109 snprintf.c
/picolibc-3.7.0-3.6.0/semihost/machine/sparc/
Dsparc_exit.c47 n = snprintf(buf, sizeof(buf), "%cexit %d\n", 0xe9, code); in _exit()
/picolibc-3.7.0-3.6.0/semihost/machine/mips/
Dmips_exit.c47 n = snprintf(buf, sizeof(buf), "%cexit %d\n", 0xe9, code); in _exit()
/picolibc-3.7.0-3.6.0/semihost/machine/x86/
De9_exit.c46 n = snprintf(buf, sizeof(buf), "%cexit %d\n", 0xe9, code); in _exit()
/picolibc-3.7.0-3.6.0/semihost/machine/powerpc/
Dpowerpc_exit.c47 n = snprintf(buf, sizeof(buf), "%cexit %d\n", 0xe9, code); in _exit()
/picolibc-3.7.0-3.6.0/semihost/machine/sh/
Dsh_exit.c48 n = snprintf(buf, sizeof(buf), "%cexit %d\n", 0xe9, code); in _exit()
/picolibc-3.7.0-3.6.0/newlib/testsuite/newlib.stdio/
Dswprintf.c22 snprintf(cbuf, 512, "%.*f", 3, val); in main()
/picolibc-3.7.0-3.6.0/test/
Dprintf-tests.c83 n = snprintf(buf, PRINTF_BUF_SIZE, fmt, iv1, iv2, printf_float(dv)); in test()
90 n = snprintf(buf, PRINTF_BUF_SIZE, fmt, iv, printf_float(dv)); in test()
97 n = snprintf(buf, PRINTF_BUF_SIZE, fmt, printf_float(dv)); in test()
Dtest-fma.c157 return snprintf(str, n, format, (double) f); in strfromf()
Dmath_errhandling.c156 snprintf(tmp, sizeof(tmp), "?? 0x%x", e); in e_to_str()
/picolibc-3.7.0-3.6.0/newlib/testsuite/newlib.time/
Dtzset.c176 snprintf(buffer, 128, "winter time, timezone = \"%s\"", ptr.tzstr); in test_TimezoneStrings()
183 snprintf(buffer, 128, "summer time, timezone = \"%s\"", ptr.tzstr); in test_TimezoneStrings()
/picolibc-3.7.0-3.6.0/newlib/libc/include/ssp/
Dstdio.h60 #define snprintf(str, len, ...) \ macro
/picolibc-3.7.0-3.6.0/newlib/libc/ssp/
Dssp.tex48 fread snprintf vsprintf
/picolibc-3.7.0-3.6.0/newlib/libm/test/
Dconvert.c508 snprintf(sformat, sizeof(sformat), "I(\"%s\", \"%s\")", buffer, sbuffer); in test_sprint()
510 snprintf(sformat, sizeof(sformat), "\"%s\"", buffer); in test_sprint()

12