Lines Matching refs:sprintf

103 ZTEST(sprintf, test_sprintf_double)  in ZTEST()  argument
123 sprintf(buffer, "%e", var.d); in ZTEST()
127 sprintf(buffer, "%E", var.d); in ZTEST()
131 sprintf(buffer, "%f", var.d); in ZTEST()
135 sprintf(buffer, "%F", var.d); in ZTEST()
139 sprintf(buffer, "%g", var.d); in ZTEST()
143 sprintf(buffer, "%G", var.d); in ZTEST()
149 sprintf(buffer, "%e", var.d); in ZTEST()
153 sprintf(buffer, "%E", var.d); in ZTEST()
157 sprintf(buffer, "%f", var.d); in ZTEST()
161 sprintf(buffer, "%F", var.d); in ZTEST()
165 sprintf(buffer, "%g", var.d); in ZTEST()
169 sprintf(buffer, "%G", var.d); in ZTEST()
173 sprintf(buffer, "%010f", var.d); in ZTEST()
179 sprintf(buffer, "%e", var.d); in ZTEST()
183 sprintf(buffer, "%E", var.d); in ZTEST()
187 sprintf(buffer, "%f", var.d); in ZTEST()
191 sprintf(buffer, "%F", var.d); in ZTEST()
195 sprintf(buffer, "%g", var.d); in ZTEST()
199 sprintf(buffer, "%G", var.d); in ZTEST()
203 sprintf(buffer, "%+8.5e", var.d); in ZTEST()
209 sprintf(buffer, "%e", var.d); in ZTEST()
213 sprintf(buffer, "%E", var.d); in ZTEST()
217 sprintf(buffer, "%f", var.d); in ZTEST()
221 sprintf(buffer, "%F", var.d); in ZTEST()
225 sprintf(buffer, "%g", var.d); in ZTEST()
229 sprintf(buffer, "%G", var.d); in ZTEST()
234 sprintf(buffer, "%f", var.d); in ZTEST()
238 sprintf(buffer, "%+f", var.d); in ZTEST()
242 sprintf(buffer, "%.2f", var.d); in ZTEST()
246 sprintf(buffer, "%.*f", 11, var.d); in ZTEST()
251 sprintf(buffer, "%12f", var.d); in ZTEST()
256 sprintf(buffer, "%-12f", var.d); in ZTEST()
261 sprintf(buffer, "%012f", var.d); in ZTEST()
267 sprintf(buffer, "%f", var.d); in ZTEST()
272 sprintf(buffer, "%f", var.d); in ZTEST()
283 sprintf(buffer, "%.140f", var.d); in ZTEST()
298 sprintf(buffer, "% .380f", var.d); in ZTEST()
315 sprintf(buffer, "%e", var.d); in ZTEST()
320 sprintf(buffer, "%E", var.d); in ZTEST()
327 sprintf(buffer, "%e", var.d); in ZTEST()
332 sprintf(buffer, "%E", var.d); in ZTEST()
339 sprintf(buffer, "%g", var.d); in ZTEST()
344 sprintf(buffer, "%G", var.d); in ZTEST()
350 sprintf(buffer, "%#.3g", var.d); in ZTEST()
356 sprintf(buffer, "%.2g", var.d); in ZTEST()
362 sprintf(buffer, "%.3g", var.d); in ZTEST()
368 sprintf(buffer, "%#.3g", var.d); in ZTEST()
374 sprintf(buffer, "%.4g", var.d); in ZTEST()
381 sprintf(buffer, "%g", var.d); in ZTEST()
419 ZTEST(sprintf, test_vsnprintf) in ZTEST() argument
474 ZTEST(sprintf, test_vsprintf) in ZTEST() argument
500 ZTEST(sprintf, test_snprintf) in ZTEST() argument
549 ZTEST(sprintf, test_sprintf_misc) in ZTEST() argument
555 sprintf(buffer, "%p", (void *) DEADBEEF); in ZTEST()
563 sprintf(buffer, "test data %n test data", &count); in ZTEST()
581 sprintf(buffer, "%*d", 10, 1234); in ZTEST()
587 sprintf(buffer, "%*d", -10, 1234); in ZTEST()
593 sprintf(buffer, "% d", 1234); in ZTEST()
600 sprintf(buffer, "%hx", (unsigned short)1234); in ZTEST()
605 sprintf(buffer, "%lx", 1234ul); in ZTEST()
616 ZTEST(sprintf, test_sprintf_integer) in ZTEST() argument
624 len = sprintf(buffer, "%x", 0x11); in ZTEST()
634 len = sprintf(buffer, "%x", DEADBEEF); in ZTEST()
643 len = sprintf(buffer, "%X", DEADBEEF); in ZTEST()
656 len = sprintf(buffer, "%u", DEADBEEF); in ZTEST()
666 len = sprintf(buffer, "%d", (int) DEADBEEF); in ZTEST()
682 len = sprintf(buffer, "%#o", DEADBEEF); in ZTEST()
692 len = sprintf(buffer, "%o", DEADBEEF); in ZTEST()
702 len = sprintf(buffer, "%#x", DEADBEEF); in ZTEST()
712 len = sprintf(buffer, "%#X", DEADBEEF); in ZTEST()
723 len = sprintf(buffer, "%+d", 1); in ZTEST()
739 ZTEST(sprintf, test_sprintf_string) in ZTEST() argument
743 sprintf(buffer, "%%"); in ZTEST()
747 sprintf(buffer, "%c", 't'); in ZTEST()
751 sprintf(buffer, "%s", "short string"); in ZTEST()
756 sprintf(buffer, "%s", REALLY_LONG_STRING); in ZTEST()
769 ZTEST(sprintf, test_print) in ZTEST() argument
787 ZTEST(sprintf, test_fprintf) in ZTEST() argument
806 ZTEST(sprintf, test_vfprintf) in ZTEST() argument
845 ZTEST(sprintf, test_vprintf) in ZTEST() argument
871 ZTEST(sprintf, test_put) in ZTEST() argument
902 ZTEST(sprintf, test_fwrite) in ZTEST() argument
928 ZTEST(sprintf, test_EOF) in ZTEST() argument
956 ZTEST_SUITE(sprintf, NULL, NULL, NULL, NULL, NULL);